Recently active
Our Research & Innovation team at PTC is conducting a study on productivity and quality analysis using insights from work instruction execution in the manufacturing industry. We have a new solution design to help our customers optimize their work instructions and are seeking experienced professionals like you for a 30-minute interview to provide feedback on our new solution design. We're looking for production supervisors, continuous improvement team members, or manufacturing engineers experienced with work instructions or operations optimization. Your insights will help us refine our design to better meet industry needs. If interested, click the link below to provide your contact information and availability: >> Click here to register << Feel free to share this invitation with colleagues who may be interested. We appreciate your contribution to our research and look forward to hearing from you! Best regards,Tadeusz WitczakResearch & Innovat
Hello, I am using ThingWorx 9.3.9.I was wondering if there was a method to get data from a infotable, and separate each of the columns in an property. In my case, I have three columns, id, temperature, and force, and I want to separate these into three different properties in a Thing. I have written a service in a Thing that has 4 properties, 3 of which are numbers and the last one being an infotable. This is my service code that I tried to use to pull one row of information from the infotable: let infoTable = me.MyCSVProperty; let searchCriteria = { "id" : 2 }; let foundRow = infoTable.Find(searchCriteria); if (foundRow!== null) { let id = foundRow.getValue(0); if (id!== null && id!== undefined) { me.id = id; } else { me.id = -1; // Set to -1 to indicate an error } } else { me.id = 4; } and when i run this program i get an error: Any help would be greatly appreciated!Additionally, I am new to coding and thingworx so detailed explanation
Hey Community, here i want data from three different datatables and i want to have all the entries in one infotable. How can i achieve it? i think i need to have here infotable and collect all the data there... let data; linesArray.forEach(line => { logger.info("QControl."+line.lineName+"-"+line.lineLocation+".DT"); let thingName = "QControl."+line.lineName+"-"+line.lineLocation+".DT"; let maxItems = Things[thingName].GetDataTableEntryCount(); data = Things[thingName].GetDataTableEntries({ maxItems: maxItems /* NUMBER */ }); });
For one of the customers, we are working on application development where Snowflake DB data (Power bi View tables) need to be inserted in postgres through ThingWorx schedular but while doing so ThingWorx Apache Tomcat went down. We are handling here around 22 lac rows to insert it in database. While doing so we are experiencing this. Please help us to improve this. Is there other way to insert this many rows from snowflake DB to postgres without affecting ThingWorx performance?
How to start userextension properties in alphabetical order
Good day, everyone I am trying to print my webpage/mashup, (an image just for now).Following this article guide: https://www.ptc.com/en/support/article/CS319138I wrote the below in a service and I invoke this service on a button click with the hopes of getting the print page to open up (Like how it would when you press Ctrl+P).This isn't working. Is there something I am missing? The code: let table = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "dataShape_DS"});let html = "window.open('http://xx.xx.co/:port/Thingworx/MediaEntities/Icon'); html.print()";table.AddRow({htmlColumn:html});result = table.htmlColumn;
Hello, What is the difference between thingworx and thingworx naviagte. I am working on thingworx but thingworxnavigate is also a platform or how does it works. Would anyone clear my confusion please
In thingworx navigate UI, how to upload the files directly from windchill rather than uploading from local drive.
Why the Display Name stated in State definition file is not shown accordingly for value with boolean base type? please refer the screen shotversion: ThingWorx 9.3.7-b1432
Hi Community, We have trying to enable SSO on Thingworx using ADFS as IDP. We followed steps suggested in this link - Configuring Authentication with AD FS (ptc.com) When we enable SSO on Thingworx, we are getting below error 2024-06-29 04:54:29.694+0000 [L: INFO] [O: o.s.s.s.l.SAMLDefaultLogger] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-8] AuthNResponse;FAILURE;<<IP>>;<<RELYING_PARTY>>;https://<<ADFS HOST >>/adfs/services/trust;;;org.opensaml.common.SAMLException: Response has invalid status code urn:oasis:names:tc:SAML:2.0:status:Responder, status message is null__ at org.springframework.security.saml.websso.WebSSOProfileConsumerImpl.processAuthenticationResponse Could someone help me to solve this issue /VR
When creating a button with only an icon/ image displayed on it I find that the icon can only be enlarged to so far before it exceeds some allowable area.With a blank label the icon, sized here to 100x100 pixels, becomes cropped. With a label the icon is properly sized.Is there a way to get image only buttons to have their icons properly sized without this cropping?
var data = me.Data; //InfoTable var result;result = "<!DOCTYPE html><html><head></head><body>" +"<table style='width: 100%; border-collapse: collapse;'>" +"<thead>" +"<tr>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 1</th>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 2</th>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 3</th>" +"</tr>" +"</thead>" +"<tbody>";// Iterate over the rows of the InfoTablefor (var i = 0; i < data.rows.length; i++) {var row = data.rows[i];result += "<tr>";// Iterate over each column in the rowfor (var key in row) {var value = row[key];result += "<td style='border: 1px solid black; padding: 8px; text-align: center;'&g
Hi i get a strange error in my thingworx setup. i have an SQLconnector which calls different stored procedures, that is then used in different mashups. i am now getting the following error on one of those services that calls a stored procedure from SQL:[message: Execution error in service script [GET_ProdOrder_Next_onEquipmentID] :: New request is not allowed to start because it should come with valid transaction descriptor.]this works for most user but not all about 5 out of 16 can not get the result from the service.thanks for your help in advance.
Hi all, I want to create this very simple logic... Disable a button for 3 seconds after clicked then enable again. It seems that this program has a way of making very simple logic ... complex for me.Can anyone explain how this very basic feature can be implemented.
Hi Community, Could anyone tell me how to specify config.json file path while running edge microserver in CMD Thanks, VR
Hello, I'm new to thingworx. Working with version 9.1I'm trying to create a service that aims to clean up the rows of an infotable-type property following a certain logic.This service cycles through a set of things and for each one it clones the "alarms" infotable property with var newAlarms = Resources["InfoTableFunctions"].Clone({ t: alarms, }); newAlarms.RemoveAllRows(); it verifies if any of the rows present within the property is missing within a stream. Otherwise it applies newAlarms.AddRow(alarm); (where alarm is equal to the row index inside the loop) if any rows have been removed in this process, the value of the cloned infotable is associated to the alarms property thing.alarms = newAlarms; The service seems to work, the alarm is removed, but it seems like the infotable gets corrupted after the modification. From composer I see that the property has rows inside it, but if I click to view the content a pr
Hello All,we are migrating applications and data from Thingworx 8.5 to Thingworx 9.6. In Thingworx 8.5 the Manufacturing apps were being used especially 'SCO_Common-extension Smart Connected Operation Common Tools Extension'. Instances of the Thing Templates PTC.ISA95.PhysicalAssetThingTemplate, PTC.ISA95.SiteThingTemplate, PTC.ISA95.ProductionLineThingTemplate were used is there any way to transform these Thing Templates and migrate them to Thingworx 9.6?ThanksDimitri
Hello, I get following error when I want to search for a referenced service : "The Relationship Subsystem must be enabled, configured, and running to view references. You can manage this from the RelationshipSubsystem.". When I go to the "Subsystem:RelationshipSubsystem" it's already enabled because for other entities(things) it works. Any idea what can be the problem ? Regards,Izzet
Hello, I am trying to get the thingname of the a service that called another service. Suppose we have a service called ServiceA that can call a ServiceB in Thing1, and a ServiceC is also able to call this ServiceB in Thing2. Suppose service3 is in a Thing3. I want to know if there is a way to trace what thing called ServiceB. Is this possible?I'm in Thwx 9.5
Is there a way to check the property history?Let´s say I add a property and the property changes from 1->2->3->4->8->2->1->3 or something like that.Is there a way to see the change history? For example to get the time it got updated to 1 and then the time it got updated to 2 and so on.
Hi, I am trying to get the implemented shapes for a thing template. I do not have a thing created yet using this template but want to be able to call this GetImplementedShapes() service but just for the template not for a thing. Any ideas on if it is possible to get the shapes implemented on just the shape itself?
can I merge recode that same timestamp this is code to tablelet params = {infoTableName: undefined /* STRING {"defaultValue":"InfoTable"} */}; // result: INFOTABLElet table = Resources["InfoTableFunctions"].CreateInfoTable(params);newField = { name: 'value1', baseType: 'NUMBER'};table.AddField(newField);newField = { name: 'value2', baseType: 'NUMBER'};table.AddField(newField);newField = { name: 'timestamp', baseType: 'DATETIME'};table.AddField(newField);// result: INFOTABLEtable2 = Resources["InfoTableFunctions"].CreateInfoTable(params);newField = { name: 'value1', baseType: 'NUMBER'};table2.AddField(newField);newField = { name: 'value2', baseType: 'NUMBER'};table2.AddField(newField);newField = { name: 'timestamp', baseType: 'DATETIME'};table2.AddField(newField); table.AddRow({value1:10,timesta
I've tried duplicating the data table entity in composer, but it did not copy the data over. If I use the service AddDataTableEntries, to import the data as an infotable, it does not copy the meta data. Is there a way to copy data including the meta data from a data table to another data table? I need a data table with the same data, but with a different data table name.
I want to bind the Database record in a ThingWorx grid with "Column span" as shown below. I am using the ThingWorx version 9.3.8-b1504. Kindly suggest me with the steps and which Grid should I use for this cause?
After some time being working with Thingworx APIs I would like to know a bit more about their internal functionality. When i make a get request , how Thingworx handles this ? at which level? if anyone can explain the logics of how this works internally , it would be of a good help Many thanks
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.