Recently active
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
Smoothing Large Data Sets Purpose In this post, learn how to smooth large data sources down into what can be rendered and processed more easily on Mashups. Note that the Time Series Chart widget is limited to load 8,000 points (hard-coded). This is because rendering more points than this is almost never necessary or beneficial, given that the human eye can only discern so many points and the average monitor can only render so many pixels. Reducing large data sources through smoothing is a recommended best practice for ThingWorx, and for data analysis in general. To show how this is done, there are sample entities provided which can be downloaded and imported into ThingWorx. These demonstrate the capacity of ThingWorx to reduce tens of thousands of data points based on a "smooth factor" live on Mashups, without much added load time required. The tutorial below steps through setting these entities up, including the code used to generate the dummy data. Smoothing
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:
Is there a way to get a demo license (more than 2 hours) so I can commission a new server with the latest kepware software? I don't want to have to take down production in order to do my commissioning. Other software has been able to provide a 30 day license or something.
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?
Important change in ThingWorx 9.3.2 Since 9.3.2, Transaction behavior depends on the type of database opration: Model operations which acquire a transaction and hold it until the top-level service finishes - same behavior as pre-9.3.2. Once a connection is retrieved for performing model operations, it cannot be released until the service terminates. Data read operations which have been updated to eagerly release their transaction (Data write operations, such as property writes, are always batched and processed asynchronously from a different thread). Performing Data read operations before model operations allows a connection to be retrieved for querying, then released while other work is being completed. Sample services with that use Eager Transactions: DataTable, Stream, ValueStream get/find/query/search The post below is valid for all ThingWorx versions until 9.3.1 TL;DR The transaction API is not exposed as ThingWorx scripting API (Service script). When
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.