Recently active
Hi PTC community I'm developing a dropdown widget where i'm testing when you select an option on dropdown, the "selected row(s)" should be triggered and populate a bounded widget with the options selected: But i'm using the fun updateSelection as solutionsDropdown.updateSelection('Data', [0]), where solutionsDropdown is my widget and it's not working.I'm using typescript along with template provided by PTC on github.Do you have ideias?Looking forward for your answer,Thanks a lot.Frederico Silva
I would like to create a subscription for a remote thing. I would like to trigger this subscription when the property source quality (good, bad ) was changed. Could you please suggest a solution for resolving this issue? Thanks, Terza
Hi, How to get the current mashup url at runtime? I tried adding location.href in an expression widget but it gives about:blank. Is there a way to get the whole thingworx url dynamically at runtime in a mashup or is there a way to get the current mashup name at runtime?
I like to set default value for the boolean data shape field. can anybody explain how to do this? Regards Sugumar R
Hi, I'm having issue displaying Schedule Chart. It can show resource, but didn't show detail data info: All data output: Detail data: Binding: Settings: Has anyone met with similar situation? Please help, thanks a lot!
I have a very simple example. I have a property value (number) that is updates every second on a thing. I can display this value in a mashup but I cannot figure out how to auto update the value every time it is changed. I have read many documents and none of the solutions have worked. I have tried this link as well. https://www.ptc.com/en/support/article/CS243895?&source=search Any suggestions? This should be a pretty simple one, I am just new to mashups.
Using ThingWorx 8.5.7, is it possible to collapse or hide a container while working in the Mashup Builder? For example, I have a fixed size container across the top of my mashup that is normally collapsed when users view the mashup. A button click expands that container to display help and other information. It's big (tall) enough that it takes up a lot of space on the screen when I work in Mashup Builder. I would like to collapse or hide it while working on the mashup. Is it possible? For now, I change the fixed size to a small value to get most of it out of the way while I work on the mashup, then I usually forget to set it back to the normal size later.
Hello, I have a video file in path: http://localhost/Thingworx/FileRepositories/myRepository/myVideo.mp4 I tried to use this url in my HTML5 Video tag as a source src. Video starts, but I cannot seek on slider. When I try to manually set the currentTime value in JS, it resets to Zero immediately. When I try to send a request with 'Range' header, it always responds with full content. My TWX runs on Tomcat server. I tried to edit web.xml file by setting the useAcceptRanges and allowPartialPut on true, but it didn't help. I think it's an Partial Content issue, but how can I fix it?
I assumed that they are passed by reference, so that modifications to an input would persist for subsequent calls by other services. Let's say I have a service named "test" that has two infotable inputs (input_a and input_b). This service is called by two services named service1 and service2. The data from service1 is bound to input_a and the data from service2 is bound to input_b. The test service needs to know which service called it, so I check the number of rows to make that determination. Then at the end, I purge each infotable, so that the inputs are empty on the next call. For example, let's say that service1 makes the first call, then service2 makes the next call. For the code to work properly when service2 makes the call, input_a must be empty. However, when service2 makes the call, input_a is somehow populated and the first if statement evaluates to true. So, the purges aren't having an affect because the input_a is repopulated when
Hello, I would like to implement a digital signature in Thingworx. The users should not login to the application, the system should ask for the password in a popup each time the user push a button. The authentication should be done by LDAP. I had a look to the LDAP Directory Service, but I couldn't find a way to validate a password. Is there another way to implement a signature?
How can we restrict any user to duplicate any entity like mashup , thing etc at ThingWorx Composer level? Thanks in advance.
Dear community, This maybe my last post and contribution, it’s been 5 years with ThingWorx and IoT a long trip… starting on TW 6.0 up to TW 8.4 (just migrated two weeks ago). I’m moving out of ThingWorx and IoT space by the end of the month, to a totally new career type. I’ve developed my last extension, because of TW 8.4, in order to Update Property Values to older times than current property time. Actually with TW 8.4 (I don’t know at what point between TW 7.3 and 8.4 this behavior changed) if you try to update a property to an older point in time, property write – if it’s logged- will be done on the ValueStream but not on the property itself. With the actual platform – at least Up to 8.5 - there isn’t any way to set a property back in time (current property value). The right path, to resolve this, would be to open a support case and discuss with R&D if this is by design or a bug. I can understand the reasons to write only on the ValueStream for older values,
Hello PTC Community!I'm getting an issue regarding an extension widget that i've developed.My widget should open a pop up with a calendar but my i open my widget got overlap by a native widget: grid.I tried solve this issue with z-index, but it's not working.You can watch a screen shot below, showing the issue: Looking forward for your answer,Thank you.
How to make any entity as View or Read Only to particular user at ThingWorx composer level? Thanks in advance.
1) kepserver is connected to MSSQL db and a status value for a parameter in db table is made as 1. 2) This parameter's status value of is getting reflected in Kepservers's quick client. 3) I have connected the Thingworx with the Kepserver with connection status showing success. 4) In Thingworx > configuration and Setup >added a parameter> went to status 5) In status i defined the Running status expression to the the kepserver parameter and set '=1' Now the issue is the Status for that parameter in not showing "Running" in Production KPI's page. The status 1 is reflection from DB to Kepserver and Kepserver connection with Manufacturing app is good, - The application key is not yet expired. - The expression in "status" is correct. But the Running status is not reflecting in Production KPI's page What's wrong
My use case consist of machines sending data periodically (when machines are on). I want to predict failures. I created a dataset with computed features for each on cycles and then create a model on TWA. But features are complexes to compute inside TW, so putting this model to production will be unconvinient. I have 2 questions to make a better/easier use of TW for this use case (and for my personnal understanding of TW) : Is there a way that Thingworx can handle breaks in time series to create a model? Can Anomaly detection understand this kind of pattern and don't mind of time gaps between the next cycle (see joined image of a normal and failure cycle).
In my client's project, I put a wiki for general use:1) I created a "Wiki Thing";2) I created a mashup, put a "wiki widget" and binding to the thing using the "Wiki" property;3) A user creates a page called "Ola" and inserts a text on it (fig Wiki1);4) Another user (with the same permissions as the user who created the "page") can only see the title of the page, not the text. (fig Wiki2).Question: Is there a step that I have not taken or do I need to release a service from the thing so that other users can see the entire page published?Thanks.
Thingworx : 8.5.2 Unable to set border bottom color for each item in the list.Please let me know if it can be done using css
我使用下列方式將xml檔案匯入,但我查詢log檔顯示錯誤,thingworx裡面也沒有此物件,import option選用source control entities也是一樣問題,請問如何解決?
Problem: Suddenly I can't execute service GetGlobalSessionValues on CurrentSessionInfo.on CurrentSessionInfo. I'm using TWX version : 8.4.2.
Hello All I have created services for each LED in order to visualize the data, services work perfectly but LEDS are updated all the time as you can see in the photo below I added a trigger serviceInvokeCompleted to visualize the updated data but it creates a weird binding each time I try to connect it to my service : Could you please tell me why that happened, and what can we do to solve this issue Thank you for your answers
I Started a new hosted trial and it is version 9.0. I am using the same code I used to connect with the old trial except I changed the app key and URI to match the new hosted trial. I am getting these errors when trying to connect.... 13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.c.n.NettyClientConnectionFactory - Exception occurred while connecting to serverjava.lang.IllegalArgumentException: port out of range:-1 and... 13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.e.ClientCommunicationEndpoint - Refilling connections on [endpoint 0, uri: wss://pp-2008121712nk.devportal.ptc.io/Thingworx/WS] failed : null13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.e.ClientCommunicationEndpoint - Exception refilling connections was:java.lang.NullPointerException: null here is the complete console.... 13:03:00.770 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework13:03:00.780 [main] DEBUG i.n.c.MultithreadEventLoopGro
Hello PTC Developer Community, I am looking for Best Practices / Examples how to connect my thing to external platforms like Salesforce where I need to use OAuth 2.0 Client in my Service. Steps I like to perform: 1) OAuth 2.0 with the platform (Here I am looking for examples and best practices) 2) Post JSON with current Sensor Values from my Thing (e.g. could be AnyDataChange or via Timer) (This is straight foward with Contentloader Function and the Guide) see also here: https://community.ptc.com/t5/ThingWorx-Developers/OAuth-2-0-using-Thingworx-Content-Loader-Services/m-p/681073#M47082 @praskumar seems to have a similar question. I started with the Contentloader Function Guide: https://developer.thingworx.com/resources/guides/xml-json-in-thingworx Where I am not sure how I can setup my OAuth 2.0 parameter described here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm Any hints how to setup OA
Hi , I often get the error "Unexpected error occured on server" when saving service. I cannot save service anymore as long as the error occurs , I have to exit the Edit mode and edit the service again. Even though, the 2nd editing won't assure the save can be successful. I don't see any related logs when the error occurs, including Thingworx platform logs and tomcat logs. It's very boring especially when it happens more than 10 times in one hour sometimes. Any suggestion ?
I have a simple datatable thing that I am populating and editing successfully with the advanced grid. I am not able to get the widget to delete rows. The datatable does have a primary key. Can someone please tell me how to get this working? I am on v8.5 sp4, and I have seen other threads that say this was a bug that has been fixed in this version. ( cc @slangley ) I have tried binding selected rows ->DeleteDataTableEntryselected rows -> DeleteDataTableEntries deleted table ->DeleteDataTableEntry deleted table-> DeleteDataTableEntries None of those seem to work. Thanks in advance.
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.