Recently active
Hi All,I used the REST api /Thingworx/ExtensionPackageUploader to upload a zip extension. The request was successful and I do see the extension in the server where it is running (/ThingworxStorage/extension). But for some reason I cannot see the extension showing up in Composer. Did I missed anything?
I am learning the Button, when it come to step 2, Click and drag the clicked service shown in the drop-down onto a free area of the Mashup canvas, i can't get the ResetInputsToDefaultValues service.the guide displays this:however i get this:
Hello,We are trying to communicate a Allen-Bradley ControlLogix Ethernet with a Allen-Bradley ControlLogix Server Ethernet but without success, could you provide us an project example or give us some ideas of how to do that?We are using a ControlLogix running both Master and Slave in the same computer, and what we did were:1 - Create a Allen-Bradley ControlLogix Server Ethernet, create a LogixAddress and create an item pointing to the LogixAddress.2 - Create a Allen-Bradley ControlLogix Ethernet and set to connect to my computer IP. Create an item pointing to the LogixAddress.3 - Run the OPC Quick Client and we see that the Master tag has quality bad, follow image: Best Regards, Eduardo.
Hello, Everyone. I wnat to use a Proportional chart like as picture. I have completed the tutorial. A proportional chart was created. (https://developer.thingworx.com/en/resources/guides/display-data-charts/ddc-configure-charts) But, If I unchecked "Single data source" It doesn't work.I would like to show the operating time of the equipment at a specific time in a proportional chart.How can i do ?Please provide it. If you have a sample program. Best regard,
When using any data change input to Subscription to update a same property, say a JSON or an INFOTABLE, will that work synchronously for any given remote things. Because if all the property change in a very short span of time(sometimes no difference in time at all), will it overwrite the JSON or INFOTABLE? What is the best way to do the modelling in this case?
Hi, When we run the below script, we are facing an out of memory issue and Thingworx tomcat service restarts automatically. we have run the below script manually from composer with execute option in a batch of 25 & 50 vin's in input array, the scripts executes and prints the final array in the script logs but internally it is causing out of memory issue, Can any one please let us know what is the issue in this script and why this is creating out of memory issue becuse we do not see any errors in the logs also. Script: serviceName = "updateDeviceNum";//sample input format :{ "vin": ["123456786", "456782354"]} var inputArrayVin = inputVIN.vin;//logger.info(myName + " inputVIN " + inputVIN);var inputLen = inputArrayVin.length;logger.info(myName + " inputLen " + inputLen);var arValueUpdated = [];var arSkipped = []; for (var i = 0; i < inputLen; i++) {//calling the getAsset using VIN to get deviceIDvar getAssetByVINURL = "https://**********" + inputArrayVin[i];var apiPara
I'm installed ThingWorx Foundation more when I get on the screen I can not proceed already tried all bank password , bank user etc .
In slider widget, accuracy in selecting value is low. Any other widget available to select range or any extension available ?
Any Documentation available for project portfolio management?
Hello, I am sending data to my Things. Those data are in an infotable like this:my lastSession json looks like this: However, sometimes I will send the same data but my lastSession will change but keep the same ID.I want to log all my data. However, when a lastSession comes with the same ID as the old one, I want to replace the data and not log them.I tried to PurgeSelectedPropertyHistory but it did not work. Does anyone have an idea ?
Hi, community, I have been spinning my wheels with getting the differenthe ce between two dates and time.The aim is to find the duration between the time a device is turned off and when that device is turned on. I have two different services that output a datetime value. One service outputs the time the device is turned on and the second service outputs the time the device is switched off.I then created a third service that calculates the difference between the two times. Below is what I wrote in my third service:var date1 = parseDate(onTimes_Input, " dd-MMM-YYYY HH:mm");var date2 = parseDate(offTimes_Input, " dd-MMM-YYYY HH:mm");let result= dateDifference(onTimes, offTimes); when I execute the above, I get the following error: Error executing service getDuration. Message :: Invalid format: "1661387400000" - See Script Error Log for more details. Does anyone know what this could mean?Best RegardsJay_nisaa 🙂
How to attach certificates to perform certificate-based rest calls using the content loader function?
Hello,I am creating a csv file in the file repository for a historical data which is more than 100K rows and to be downloaded by the end user. 1. Is there a way where I can apply a compression on the file to be downloaded.2. If 1 approach where i am creating a file and getting the link from "GetFileListingWithLinks" of the file repository is not correct , what would be the better approach to achieve the file download. Thanks,Sunay
In the above screenshot i am getting value for propName in line 2 , but while using same value in (nested loop) line 3 getting issue as "org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND". But while using actual value instead of propName in line no 3, its working fine. Please let me know if any issue is there in code. Thanks in advance.
Thingworx/Groups/ getting html response how can i get json response by using this api in thingworx
Hi, I am doing a postJson method in ThingWorx. But it is not returning the response body. When I execute the method in swagger, it is returning the response body but TW is returning just the headers. It is not returning like swagger but I wanted to read the response exactly like Swagger. How can we achieve this use case? Swagger: TW:
Hello, I need to create a secured MQTT connection between my broker and thingworx.To do this I created certificate. The certificate is working fine when i use It with other program to test it.However, after following this guide: https://www.ptc.com/en/support/article/CS0246701I still have an error: OpenSSL Error[0]: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error Does anyone have any idea on how to fix this ?
How do you get data in the ptcspropertydisplay widget to display in two separate columns? The property from it's value. In propertydisplay widget it looked like: Now in the ptcspropertydisplay widget it looks like:
Hi, Can anyone explain how to store db data in data tables and how to retrive it in the mashup thankskeerthi
For certain conditions, how to terminate the code without throwing error.
I have the following elements in this scenario running Thingworx 8.5.18: 1. DropDown widget - Used to select a URL(output) 2. Service(infotable output) - feeds the list of items to the DropDown widget above 3. Navigation Function - Takes the output of the DropDown widget and feeds it to a target mashup as a popup. DropDown widget: Service (populates the DropDown widget from a infotable with a Report(shown in DropDown widget) row and a URL(passed to the popup target Mashup) row): Navigation Function What currently happens - When I close the popup that is generated from the selection of an item in the DropDown the DropDown still shows the item I selected. This is an issue because the DropDown doesn't allow me to reselect that item without selecting another item first. What I need to have happen - When I close the popup that is generated from the selection of an item in the DropDown I need the list in the DropDown to be reset to its default load state. ie
hi ,i get a different date after use function dateFormat(new Date(),"yyyy-MM-dd") and new Date(); i guess it was a Timezone Problem, would you please tell me how to change the timezone to GMT+08 in thingworx?
Hello, I am retrieving data from a MQTT Broker. The broker is well connected, the data is in the property.However, the DataChange event does not trigger when i am receiving new data.I followed multiple links:https://community.ptc.com/t5/ThingWorx-Developers/Datachange-event-not-firing-with-MQTT/td-p/741511https://community.ptc.com/t5/ThingWorx-Developers/ThingWorx-MQTT-Extension-and-DataChanged-Events/td-p/522407https://community.ptc.com/t5/ThingWorx-Developers/DataChange-Problem-with-Subscription/td-p/709944 However, none of them solved anything, my subscriptions does not even start (I verify It using logger.debug())Does anyone have an idea on how to fix this ?
Hello. I work as a PTC partner and we want to understand more about the journey of Predictive modeling. We have some clients that want the use case of predictive maintenance and we have some doubts about the best way to do this approach and the PTC suggestion to the partners about skills and the professional profile to provide this use case.Beyond that, we want to know if PTC (or some partner ) has some pre-trained model for predictive maintenance (through vibration/temperature data) or if it will be necessary to build and train the model from the beginning.
What's the order of Things when you manually import them? I'm pretty sure that Data Shapes are first, but I can't remember the full order. I can't find this anywhere.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.