Recently active
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.
I am migrating our mashups to TW9.3 and the new Grid widget with improved functionality as replaced both the Advanced Grid and the older Grid. But I can't find the Doubleclicked event! Has it really been removed or what am I missing?It will destroy a lot of functionality for us
Do we have a latest version of WDK framework for customizing the Widgets in ThingWorx? I am looking for the latest version compatible with 9.3.
Hi, I am trying to create a custom login page, I am able to create but If I enter the wrong credentials, page navigates to the organization form login page and showing not a valid login message. Are there any ways I can show some javascript basic alerts on the same page stating "wrong credentials" instead of moving to the organization's login page?
How to update the state definitions rgb value using js services?
Hi, I have a problem whereby my mashup on runtime isn't consistent across different Display Screens, the mashup is Responsive but looks different every time you change the Device (eg. Laptop) Scale and Layout (Write click on desktop >display setting >scale and layout(Windows PC) ).Therefore will look different to the user, if they PC is on a different(inconsistent) Scale and Layout.
Hi, is there any way to visualize all the bindings of a mashup in one shot? I mean all bindings of all the widgets/data services/functions which are used in the mashup, without having to select each single item showing its direct bindings only. Best, Pietro
I have attached state definitions to the configure grid columns of advanced grid. Whatever the changes have done directly in state definitions is not reflecting the same state definition which is attached to the grid. As I am updating the the styles of state definitions in runtime, I cant manually check the same state definitions attached to the grid. Advanced grid also get updated automatically. What is the solution for this problem.
There is no option available that i can the height of the value centered do someone know another way to solve this ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.