Recently active
Hi, I have two mashups i.e mashup1 and mashup2. Mashup1 contains grid that displays data based on text value. Clicking on grid row Mashup2 popups and displays data related to selected row. Now what I want is to use one navigation on mashup2, which redirects to Mashup1 without losing existing data of Mashup1. I tried to include navigation as back button in mashup2 used session variable to store data, but Mashup1 data becomes blank. Please provide solution for this and thanks in advance. Thank You, Sheetal Sable
ThingWorx version - 8.2.4 I have created a integration connector with oData connector as base template and able to connect windchill. Using new composer I am able to map the existing endpoints. My question is for some cases we have to access the direct url to query the part information instead of endpoints which doesn't have the option to do. Like in windchill connector there is a method call getbaseurl or getresturl to get the server urls but this method is not available in oData connector. Please assist how to get the server urls instead of hard coding in service.
Hi, The logic: Infotable A has 2 columns. Delete column 1 in infotable A. Now the infotable has only 1 column. Read each row of infotable A and compare with a string. If there is a match, add some strings to infotable B. Return infotable B. I get no syntax errors, but my script returns infotable B with no data when I have a matching string in the if statement condition. ***********code********************************************************* var params = {infoTableName: "visibleOrgUnitInfoTable" /* STRING */}; // result: INFOTABLEvar result = Resources["InfoTableFunctions"].CreateInfoTable(params); //Add a new field to the InfoTable:result.AddField({name: "visibleOrgUnits", baseType: "STRING"}); // result: INFOTABLE dataShape: EntityListvar currentUserOrgUnits = Resources["CurrentSessionInfo"].GetCurrentUserOrganizationalUnits();currentUserOrgUnits.RemoveField('description'); for each (var rowThing in currentUserOrgUnits.row) {if(rowThin
I want to display a Number type value inside a Gauge widget, and the new values coming from an Edge device every 60 seconds to get automatically updated. The remotely bound property has a 'DataChangeEvent' of 'Always'. I'm using the GetProperties service with the 'Automatically update' flag checked, and the required property is bound to the Gauge data in the Mashup design. However, the updated value is reflected inside the Gauge only when I open the Thing, or click the refresh button for properties in the Composer UI, and not in real-time. It was suggested in one of the posts to bind all DataChangeEvent properties to a widget when using GetProperties service. I tried the same, but still no success.
Hi, Is there any possibility to modify connection strings (which are present in the configuration in a thing) dynamically. Regards, Surekha N.
Can anyone suggest me, when there are multiple files in the repository(for ex: XYZ_01FEB,XYZ_02FEB something like this) and i'm using the CSV Parser Read File functionality,how can i make sure my service is reading each file. For example every 5 min the new file will get added to the repository.So how can i read each file here when the naming convention changes(timestamp gets appended to the file eachtime a new file gets placed). ?
Hello, Is there a problem with the PTC license manager? I am not able to download the license. When I click retrieve the server returns status 500 (server error).
Hi, Is there any data logger in ThingWorx that captures each and every action performed by the user (e.g: If user clicks a button in a mashup that has to be logged as User clicked the <button name> with timestamp the action has performed). Does ThingWorx capture these and store somewhere or we need to create scripts for each and every action? Thanks, Shalini V.
Hey everyone. I need help to figure out how to code a dynamic field name in a params clause. Below is the example of code.AttTable.AddRow({DYNAMICNAMEHERE: table.rows[0].DYNAMICNAMEHERE})For the DYNAMICNAMEHERE I am declaring the variable value farther up in the code and referencing it as the variable name in those two sections but it isn’t working.
Hi, I'm using thingworx analytics to predict the remaining useful life for a device , and I got the attached result. For the case of RUL, I would prefer Underpredicted to Overpredicted ( predictive RUL < actual RUL). How can I tuning the super paramters of learner or maybe train data as well to make the model tends to more Underpredicted ? Regards, Sean
I'm trying to change the bg color of the label but even though I provide a style definition I'm unable to make the background green
Hi, I have a project coming up that will require to connect Manufacturing Apps with some sensors physically connected to a Raspberry PI (GPIO). Data from sensors are published to a MQTT broker (using Node-Red). I'm new with Manufacturing Apps, I would like to know which is the way to do the connection between the Manufacturing Apps and the MQTT server. If you have some suggestions I would appreciate that. Many Thanks Regards, Martina
Hi,In our case, we would like to create customize widget.Is there any solution?Many thanks,niki_dongpockey8328@gmail.come
I have a scenario where we need to connect to the local computer and read the same CSV file to ThingWorx repository. I was checking on File Upload widget. But in this case since the file is getting generated in a time periodic manner can not upload it manually. Could someone suggest how can we automate this process to read the CSV file from local computer to Thingworx repository !!
Hi i want to keep the first state (started ) as selected by default without selecting it . Kindly provide me a way to achieve this . In list we can set "auto select first row" ...similarly is there any option for it in radio button?. pls refer the image attached
Hi everyone, I'm unable to connect my local oracle db in thingworx platform.Please find the attachment of connection string for connection.Could please anyone help me out on this...
I've a Remote ThingTemplate with 2 logged, read-only, and remotely bound properties; one Boolean type, and the second as Number type. The ThingTemplate has a Value Stream (local) associated with it. Finally, a Remote Thing has the mentioned ThingTemplate as its base template. I'm pushing data from my Edge device on these 2 properties every 60 secs to the Thingworx server, and I'm able to see the updated values on the Composer UI. But, when I execute the QueryPropertyHistory service on the Remote Thing, the server returns 2 properties along with 'timestamp' as columns without any data. Even by associating the Remote Thing with my Value Stream, I was not able to get any data. But creating a new local property (no bounding) inside the Remote Thing, changing its value manually on the Composer, and executing the QueryPropertyHistory service, the server returns proper values for the local property along with the timestamp but the other 2 remote properties were
Hi, While adding Manage property binding to Remote Thing getting below error. error = "Error browsing properties. Be sure the remote device/server is connected and configured properly" Please provide some idea to solve above problem? Please find the attached screen shot for references. Thanks & Regards Nagaraj Enamate
I have installed a certificate issued and signed by a trusted Certification Authority (CA) in my Tomcat 8.5.23 Ubuntu server. I have followed these steps: https://www.ptc.com/en/support/article?n=CS193947 I can connect to Composer over https and over http it redirects me to https. When I try the SteamSensorConsole app with this url: wss://aaa.bbb.com:433/Thingworx/WS I get this error: [Error] Error intializing socket connection. Err = -1 [Error] twWs_Connect: Error restarting socket. Error 0 I have tried these configurations: config.AllowSelfSignedCertificates = false; config.DisableCertValidation = true; And these: config.AllowSelfSignedCertificates = false; config.DisableCertValidation = false; Both with same results. Do I have to configure something else? Or I have to change something in Tomcat configuration?
Can someone advise me if there is a way to change the configuration property of a thing dynamically (through a service). My requirement is as follows : I have a thing (Thing_1) that inherits TimerThing Template and in the Configuration tab, there is an 'Update Rate' set as 60000ms by default. Now, I need to change this configuration property dynamically from a service of another thing (Thing_2) based on the input provided to that service. Is there any in-built service that I can use to update the configuration property dynamically ?
I've been doing some testing with using iPads and Mashups and the various widgets. I've noticed that certain user interaction doesn't work as well on the iPad as it does on a laptop. One specific item is that when I pull up a mashup on an iPad I have to press the Button widget twice for it to respond. Sometimes I only have to press it once. I also noticed that using jQuery inside Expression widgets for setting focus also has different behavior. I have found a work around for this, but not the Button widget. Has anyone else ran into this with Thingworx mashups? We are 8.2.1. I appreciate the help.
If i execute any query service it will take long to respond , Thingworx Server is Configured with postgresql, So i need to check postgresql health checkup and do i need to run any database Maintenance service separatly?
Hello everyone, I'm doing first steps with Thingworx Trial on a hosted server. Now I'm trying to get some data over the REST API from my webapplication (JavaScript). And here I'm facing the regular problem with cross-site because the CORS is not configured. How can I activate / configure CORS on a hosted server? For regular installation with access to the filesystem I could do it with ease, since it is well documented (e.g. https://community.ptc.com/t5/IoT-Tech-Tips/Make-a-REST-call-from-a-website-to-Thingworx-platform/m-p/534384). But can it be done also with the hosted trial server? Best regards Alex
Hi experts, I'm trying the ThingWorx Manufacturing Apps according to the guide here: https://developer.thingworx.com/en/resources/guides/configure-manufacturing-apps/configure-factory-simulator-data. One of the steps is to open the DemoFactorySimulator.opf in Kepware, after this step I should see "ThingWorx Native Interface , Connected to Thingworx" in the Kepware's log console, however I see "ThingWorx Native Interface Connection to ThingWorx failed. | error = could not initialize a secure ". My environment: OS: Windows server 2012 R2 Installation file: ThingWorx-Manufacturing-Apps-8.3.0-05.exe Both of Thingworx and ThingWorx-Manufacturing-Apps are in the same machine, IP: 192.168.152.132, port: 9080 What I have verified: http://192.168.152.132:9080/Thingworx/Composer is accessible http://192.168.152.132:9080/Thingworx/FormLogin/Welcome is accessible telnet 192.168.152.132 9080 has no error Property Editor for ThingWorx in Kepware: see the attached picture. The
I'm trying append the csv file in the repository with a service. My code looks like below. var params = {infoTableName : "result",dataShapeName : "WriteDataShape"}; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(ds1)var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);var newRow = new Object();newRow.ID = ID;newRow.Name = Name;//infotable1Object.rows[0] = newRow;result.AddRow(newRow);var params2 = {path: "WriteFile.CSV" /* STRING */,data: result /* INFOTABLE */,fileRepository: "SystemRepository" /* THINGNAME */,withHeader: true /* BOOLEAN */ };// no returnvar result = Resources["CSVParserFunctions"].WriteCSVFile(params2); Could anyone please tell me why the data in CSV file gets overwritten every time I call this service ?
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.