Recently active
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
Hi, What different Tech Stacks can be used to do the Automation Testing of Thingworx Dashboards? For example, how can we use Playwright in PTC Thingworx Dashboard Testing? Thanks,
Hi, I would like to invoke the Scheduler, which will run the services needed for all the connected Things. Do we have any Code Snippet that can do this? Thanks,
I'm working on integrating data from two separate SQL queries within ThingWorx. Here's the scenario:First Query: Fetches data from table based on a specific value.Second Query: Utilizes data from the first query and joins with new two columns.I need guidance on how to effectively merge these two SQL queries within ThingWorx. Specifically, how can I pass results from the first query as parameters or dynamically construct the second query using data fetched from the first query?Any examples or suggestions would be greatly appreciated!
Hello Dear Community experts, My question is that i have 6 pdfs in ThingWorx repository each contains 1 page which i send from Vuforia Studio to ThingWorx and when these 6 pages are generated and sent one by one, then afterwards in the end i need to fetch these 6 pages and merge them and send it to ThingWorx so that 1 pdf will be generated. I am sending file as a blob to save the pdf pages on ThingWorx and now my question is how can i get these pages in front end (Vuforia Studio) again. I know the service getFileListingsWithLinks but there is only downloadlink acutally and i cant see blob in any service. PROCESS: I was doing before that i was generating single pdf after generating each page on client side and send to thingworx but my vuforia app crashes sometimes because its so heavy process even in PC it takes around 35 seconds to generate the pdf and in ipad its around 26seconds but In PC the process never breaks even though it takes long
Consider a hypothetical example of a steel manufacturing company. The company has 50 motors and 50 sensors. So lets say my thing model has 100 things with 10 different properties. Each thing will denote a physical object. Now is there any rule or formula on how many value streams I need to create to log the data. I can create one value stream for each asset or 1 VS for 2 or more assets etc. I want to know how can I make a stable solution architecture over here. Will it be good if I own one or more database. One for the thingworx and other for storing value stream data. I want to ask below question.1. Is there any rule or formula on knowing how much value streams we need to create.2. Can we store data in separate database or in separate tables.3. How will storing and querying the database for showing values in mashup will have an impact on the performance
Hello All,Good day! we are implement in the Disaster recovery on Azure, I just want to know if we make available of thingworx server from one region to another region.1. Is there any impact on my custom applications?2. If we deploy new features in thingworx application in region1 then will it refelect same in region2?Just make me clear how this works of availability of thingworx server in different regions when any disaster is happened. Thanks KSM
I have configured a Thingworx stack with Zookeeper and Ignite.3 Thingworx nodes in HA (active-active). (ver 9.4)3 Zookeeper nodes in cluster mode. (ver. 3.9.2)2 Ignite nodes in cluster mode. (ver 2.15) All nodes startup fine. I can create and update a thing, and then I can see the changes in all Thingworx nodes. The problem is that I thing that not use Ignite cache, because I see this error log: 2024-07-03 18:42:34.710+0200 [L: ERROR] [O: c.t.t.Thing] [I: ] [U: SuperUser] [S: ] [P: platform1] [T: pool-8-thread-1] Unable to initialize thing blog-test-om, Ignite instance with provided name doesn't exist. Did you call Ignition.start(..) to start an Ignite instance? [name=twx-core-server] Where I should to put those instance name? my cache block in platform-settings.json is: "cache": {"init-timeout":"30 seconds","provider-type": "com.thingworx.cache.ignite.IgniteCacheProvider","cache-mappings": {},"ignite": {"instance-name": "twx-core-server","default-cache-mo
/**@Name: Hrishabh Sharma**/Composer INPUT Offset = result = (new Date()).getTimezoneOffset(); ----Note: Input (offset) shoud be from In Composer (Expression) try {var startDateSelected;var endDateSelected;var StrandName = Strand_Name; if (Offset === undefined || Offset === null || Offset === 0) {Offset = (new Date()).getTimezoneOffset();}var diff1 = (Offset - (new Date()).getTimezoneOffset()) * -1;var diff2 = (Offset - (new Date()).getTimezoneOffset()) * 1;if (Start_Date !== undefined) {startDateSelected = dateAddMinutes(Start_Date, diff1);}if (End_Date !== undefined) {endDateSelected = dateAddMinutes(End_Date, diff1);}// result: INFOTABLE dataShape: "CastingStrandParameterLog_DS"var result1 = Things["Postgresql_TH"].CastingStrandReportForVisualization({Enddate: endDateSelected /* DATETIME */ ,Startdate: startDateSelected /* DATETIME */ ,StrandName: StrandName /* STRING */});var sorted_infotable = result1;var rowSize = sorted_infotable.getRowCount();me.tes = rowSize;for
The above general request grid is populated using a collection widget... now when clicked onreopen button, a pop-up window will opened like below. On close of this pop-up window I would like torefresh the grid.I tried by binding the "windowClosed" event of the navigate function to refresh mashup in the collection widget mashup but the grid is not getting refreshed.....Would like to know if their is an alternative way to refresh the grid.
In ThingWorx, I have set the session timeout to 15 minutes. After the session times out, the expectation is that ThingWorx will redirect to the login page. Alternatively, a pop-up should appear with the message "Session timed out. Please log in to continue" and an OK button. Clicking the OK button should then redirect to the login page.Is there a way to implement this functionality? Please provide the code or implementation steps.
I have ThingTemplate, A_TT, and have service CallService. CallService has Allow Override false.I have Thing, B_TH, and it was generated, with A_TT as Base Thing Template.It include properties and services from A_TT, also CallService.But CallService in A_TT was changed one month ago (imported). And yesterday also (by editing). But when I open CallService in B_TH, I see old version of code, including none of changes mentioned.If I push button on mashup connected with this service, it behaves like yesterday changes were included, but one-month ago changes not. (wrong observation on my side)TWX used: 9.5.1-b359Thing was closed in Composer, Edit was cancelled - but it still does not show correctly. Problem does not look like browser connected, I've asked other developer for help, he logged with different PC and different account - and it's exactly this same.Created new Thing based on this template - changes are included.
Good day everyone, We've been trying to use the Git Extension (5.0.) to synchronize changes between a DEV and a PROD environment, both using the same repository and setup. This has worked before, but when we tried to import a slightly larger amount of changes for a first "feature update" to our PROD environment, we noticed that after the import, it says everything imported successfully but barely any changes made it over. A new thing with some services made it over, but from what I can tell all changes to Mashups, Things and ThingShapes were lost - or rather, not imported properly. When checking the files and logs, we found the following details:After pulling on the PROD system, the changes are *visible* - we see the commit and the changes made to the file in the preview window.When downloading that very same .xml or viewing it directly on the server, it does NOT show those changes.Has anyone had any similar experiences? The whole export/push process worked really well,
DATASHAPE 01 DATASHAPE 02 My service:= I am having two infotables. In first infotable i have no Criteria key value in the Infotable and in second infotable i have this Criteria and now i am doing this with infotable functions. but i have an error: Script evaluation error : ReferenceError: "Criteria" is not defined. (DSLCompiledExpressionProcessor#1)" " let TableDynamicData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({ infoTableName: "InfoTable", dataShapeName: "Jamal.DS" }); let TableDynamicDataTwo = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({ infoTableName: "InfoTable", dataShapeName: "JamalOne.DS" }); let jsonData = { "UserResponse": { "I_O": "", "Criteria": "", "Image": [], "Remark": "1688977680000" }, "QID": "1_1", "I_O": "", "Image": [], "Remark": "1688977680000", "I_O_Image":"jamal" }; TableDynamicData.AddRow(jsonData); let jsonData2 = { "QID": "1_1", "Criteria": "Test Success
How to send Microsoft teams notifications (may be in channels) through Thing Worx Platform.There is requirement like we want send notifications through Teams just we send though mail extension in Thing Worx.Does anyone which extension is used to get this activity done. Is there any documented procedure on thing Worx Help center?is twilio extension be useful here just like sms?
I have three buttons that sets de visibility of the Conteined Mashups, but I am hidding the three outside conteiners.I set the first two conteiners before, than I exported the project to another VM, now when I try to set the Visibility of the third conteiner this property don't exist.In the first photo you can see one of the first two conteiner with the visible property set, and in the second photo is possible to see thats the same property don't exist for the third and new container, I don't know if the problem is some version update, but my version now is 9.3.3-b710.
Hi, I am working on a mashup that displays a list of parts. For each part its thumbnail is visible along with name and part number. This mashup requires a button that downloads an excel file containing the parts details: thumbnail image, name and part number. Like this mockup: I am able to retrieve the thumbnail in the mashup as described in Article - CS306799 How to display Visualization data from Windchill in Thingworx mashup via Thingview widget.My question is can the thumbnail image used in the mashup be included in an exported excel file? If so, how? The desired output would look something like this:TIA
Hi, I have an organisation where All Things Permission is based. I need to change the name of the Organisation, so I need to create a new one.But is there any other way to transfer the Permissions level without editing permissions for all Things and mashups? Thanks,
I stored infotable data in userextensions which will be moved to datatable once user clicked submit button. But updating one infotable userextension property for frequent service execution causing loss of data. Any other possible ways are there to store infotable values temporarily?
how to set "maxItems" into query input in service exampleI need to query data from Start(8:00) - End(9:00) maxItems = undefinedand I need to query data from Start(undefined) - End(8:00) maxItems = 1now I call Querynumberporpertyhistory service 2 times, but I concern about performance is possible to call 1 time and use query parameter in Querynumberporpertyhistorynow I try, maxItems is not work but timestamp is work{"filters": {"type": "Between","fieldName": "timestamp","from": 1720054800000,"to": 1720058400000,"maxItems": 1,"oldestFirst": false}}
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.