Recently active
Hi all, In the code above, I converted a data from MySQL into base64encodeString. Next, I want to convert this string into an image to display on Mashup. Any help is appreciated. Thanks!
I'm looking to update the Favicon for a mashup, however it appears that the old solution of doing it doesn't work anymore. Is this something that's still possible? Old post: https://community.ptc.com/t5/ThingWorx-Developers/Browser-Tab-Icon/td-p/506026 Thanks
Hi, currently experiencing an issue with localisation with the date picker. It appears that the calendar displays incorrectly in French (and possibly other languages which I haven't checked). The issue is that the days of the week are a mismatch with the actual calendar below. The reason for this is that in French the days of the week start with Monday ('Lu') where as in English they start with Sunday ('Su'). The actual calender days are always arranged as if the first column is Sunday. Presumably there is an array of strings somewhere, but I am not able to find it to modify it. Does anyone have a solution for this, or has seen this issue also? Thanks, K
Just downloaded Thingworx demo and KEPServerEX 6.6 When I tried to connect KepServerEX, I got the following error: "ThingWorx Native Interface Connection to ThingWorx failed. | Platform = <servername>:<server port>/Thingworx/WS, error = unknown error." In summary, I think the issue was that you can not use the name "localhost" for your server name. I checked that I had correctly setup all my ThingWorx items in Property Editor (Enabled, host name, port, application key, etc.) However, I kept having problems. I thought the problem was the application key, so i entered a bad application key and I got a different error (authentication error). I tried changing the socket from 9080 to the example's 8080 and got a socket error. After going into the thingworx controls advisor and deleting the server and then adding a new server called "TestServer" instead of "localhost", it now works. I'm writing this post in hope that either someone ex
Hi Team, I have a device connected to a remote Thing by using an AppKey (DefaultAppkey) with no permissions (The associated User has no permissions). What I'm trying to do is: - To use that DefaultAppkey only to have the device connected to the Thingworx (appearing in the Unbound Thing List), so that I can create a Remote Thing, a new User (DeviceUser) and Appkey (DeviceAppKey) (with specific permissions to run services and read/write remote properties) - After completing the last step, I want to send that new DeviceAppKey to the device through a remote service (Let's call it SendAppKey_Service) and set some Remote properties. I've made a service to create all these Entities, using EntityServices, set the remote properties and run the Remote Service to send the DeviceAppKey to the device (Let me call it CreateDeviceEntities_Service). That CreateDeviceEntities_Service is called from the Thingworx side, by an Administrato
Hi, does anyone know what the most efficient way would be to migrate data from old version of ThingWorx to the latest release. We are using PostgreSQL as persistence provider. This runs in cluster and HA mode. DB is a different machine than Tomcat with ThingWorx. We tried to do In-Place upgrade a had some problems with it. Suggestion was to do a migration: New DB, installation scripts etc. export extensions and entities from old platform We have tried data export via Composer (Export to ThingWorx Storage) but that failed + we dont have lot of space on our application server. I would like to use pgAdmin or psql to copy content from ValueStream, Stream and Datatable tables (perhaps wiki and blog as well). Can anyone suggest some concrete SQLs to do that? Thanks a lot. Tomas
Hello, I m trying to use the 'GetEntityList' service in Thingworx which can be found in 'EntityServices' resource. This service has couple of parameters as below: // result: INFOTABLE dataShape: "RootEntityList" var result = Resources["EntityServices"].GetEntityList({ maxItems: undefined /* NUMBER */, nameMask: "PART" /* STRING */, type: "Thing" /* STRING */, tags: "CMU_MT_IOTServer2.0:AUTO" /* TAGS */ }); I am not able to understand about 'nameMask'. How is this parameter used? Does it take Reg-Ex as input or does it work on 'contains' mechanism? Kindly share some information/samples/examples on how to use this parameter. Thanks in advance. -Aditya Mittal
I want to create a mashup which looks like the Alert Summary window under Monitoring. I want to customize some of the columns. Also my mashup should only show the alerts related to my project only! How to achieve that?
Hi All, I am trying to create a service with PATCH HTTP Call from thingworx?. This one is work with POSTMAN. How can i resolve this? Thanks & Regards, Sathishkumar C.
Hi all, Like the subject, I'd like to upload and display an image into Mashup without using File Upload widget. Is there any way to perform it? Any help is appreciated. Thanks.
Can i change the colors of the status timeline inputs ? E.g. changing the green color to a darker one ?
I try to bring the value to INFOTABLE by Service script but yet unsuccessful Please ask for advice on solving problems.
Hi everyone, I am using ThingWorx 8.4.0 and have some problem. When I set visibility permission for a thing, if it will become what I think, some users can see it in menu and others can't see it anywhere? or it just like in the picture, all users can see it in menu but someone can't click in it? I have deleted all users in organization "EveryOne".But all users, admin and others, still can see all things, temples, shape and others in menu but just someone can't click in them. I even created a new thing and then give it an empty organization for its visibility, but it still could be seen by all. I don't know what I ignore. Thanks.
Hello all, I have been following this tutorial of sorts to connect Thingworx to external databases. https://developer.thingworx.com/en/resources/guides/external-databases/external-database-read I'm using a MySQL database. the problem arises when I am trying to run a javascript based query service. I am not getting any results to the query when I run the service and the reason is quoted as " Must have a datashape defined to add rows".
In Function: Resources["ContentLoaderFunctions"].Delete(params); https://support.ptc.com/cs/help/thingworx_hc/thingworx_7.0_hc/index.jspx?id=ID4065119192&action=show There is missing "content" property, so it's not possible to send some DELETE requests, eg here: https://developer.spotify.com/console/delete-playlist-tracks/ Is there some other way to send request body by DELETE method?
Hello, I have noticed that under the "Users Logged In" Monitor page that there are several instances of Administrator being logged in. I found this page that briefly explains why (https://www.ptc.com/ru/support/article/CS261404) but it did not provide me with any guidance on how to close out of the duplicate sessions. I tried pressing the logout button in the composer, closing out of the browser, and restarting my computer but when I log back in and check there are still multiple sessions for "Administrator" on the "Users Logged In" page. We have noticed significant slow downs on our web server because of the CPU usage of duplicate logins. Can someone provide me with instruction on how to end the duplicate sessions and prevent them in the future?
here is a problem. in my design, there are 30 charts in one mashup page. But it is so squeeze and it is hard to see data in details. May I know if I click one small chart and pop up a entire chart for each.
Is there a way to add a local service with its JS code for a Thing using TWX REST APIs?
A user can make a direct REST call to Thingworx platform, but when it comes to a website trying to make a REST call. The platform server blocks the request as it is a Cross-Origin request. To enable this feature, the platform server needs to allow Cross-Origin request from all/specific websites. Enabling Cross-Origin request can be done by adding CORS filter to the server.CORS (Cross-Origin Resource Sharing) specification enables the cross-origin requests from other websites deployed in a different server. By enabling CORS filter, a 3rd party tool or a website can retrieve the data from Thingworx instance. Follow the below steps inorder to update the CORS filter:Update web.xml file (located in $CATALINA_HOME/conf/web.xml)For Minimal Configurations, add the below code:<filter><filter-name>CorsFilter</filter-name> <filter-class>org.apache.catalina.filters.CorsFilter</filter-class></filter><filter-mapping> <filter-name>CorsFilter
Hi, I have a small issue with the fileupload widget which is occurring across a number of versions of Thingworx (8.2.4 & 8.2.8). The upload itself is working correctly but the 'No file chosen' property of the widget doesn't update when I select a file for uploading. As I say, the actual upload works fine and the file is uploaded to the correct location in the repository does anyone else have this issue, and if so have you figured out a fix, work around? Thanks, K
Hi Folks, Anyone came across similar requirement,please respond. I have devices data(CNC machine,etc) fetched to Influx Database. And want to display OEE reports and thought of Manufacturing Apps to achieve the same. Is there any tutorials or guides to integrate Influx DB with Thingworx and develop Mashups as per requirement. Thanks, Tarun
Hi, I see that some data table things I create doesn't have the Mashup option to view the content of it. Surprisingly, few data table things get that option. Am I doing any mistake while creating the Data Table (I am using the same Data Table Thing Template as Base thing template while creating the data tables and that Thing Template also has the DatatableEditor as its Home Mashup) ? Licensed ThingWorx version: 8.3.3
Hi Everyone, I have a webframe in mashup. From that webframe I want to access ThingWorx Services through REST API's. Currently it is asking for authentication. But is there any other way to access API's without authentication or app key from webframe? Or is there any way to authenticate if I send username and password as Query parameters in webframe URL?
Is there a possibility to add another status beside the 6 default ones in the configuration and setup app ? I can only find the customization of the expressions in the guide. Or can i rename the "UNPLANNED_DOWNTIME" in e.g. "ERROR" ?
Hi I'm looking for a way to set a textbox widget to be ignored when a value is not entered into it in a mashup. Right now it sends a blank value to an input on a service and I need it to not send anything when nothing is entered. A numeric entry box doesn't send anything when nothing is entered and I'd like the textbox to do the same.
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.