Recently active
I am currently having this issue. Is there a known solution?
Hi - I am attempting to setup the Delivery Truck example fro Java SDK guide. I am still very new to Thingworx and Java development. I have imported the example into both Thingworx and Eclipse IDE. The DeliveryTruck Client connects and I can see the java application running. So for example 'DeliveryTruck_1 Is Making A Delivery'. However according to the guide, when the truck stops it should update the properties of each Truck 'Thing' in Composer. However, this never happens. Is there anything else I need to create in order to get this example working?
Hello, I´m trying to upload a .CSV to Thingworx. I achieved it creating a service with CSV Parser, code: var params = {path: "/Tabla1.csv" /* STRING */,columnMappings: "Temperature;Humidity;DateTime" /* STRING */,hasHeader: true /* BOOLEAN */,longitudeField: undefined /* NUMBER */,dateFormat: "dd-mm-yy HH:mm:ss.sss" /* STRING */,fileRepository: "DataLogger_1_Repository" /* THINGNAME */,latitudeField: undefined /* NUMBER */,fieldDelimiter: ";" /* STRING */,stringDelimiter: "/" /* STRING */,dataShape: "DataLogger_Shape" /* DATASHAPENAME */}; // result: INFOTABLEvar result = Resources["CSVParserFunctions"].ReadCSVFile(params); But now, I want send .CSV via REST API for instance with POSTMAN. I don´t know how I can do this. I put the URL (localhost:8080/Thingworx/Things/DataLogger_1_Repository/Services/), auth and headers but the body... Could you help me with that? Thank you in advance BR
Hi, We have had a major problems with upgrading ThingWorx version from version 7.3.8 to version of 8.4.3. We tried the whole procedure on our TEST environment and had some problems. What we have done: Setting "run as user" for all Timers and Shedulers Performing all update scripts one by one (as per Upgrading to ThingWorx 8.4 document) All scripts went fine (no errors) Modified platformsettings.json Deploying new war While starting Tomcat an error occurred (ERROR: duplicate key value violates unique constraint "root_entity_collection_pkey") (https://community.ptc.com/t5/ThingWorx-Developers/Upgrade-to-Thingworx-8-0-Errors/m-p/510085) I had to perform following sqls: delete from root_entity_collection where name = 'NotificationDefinitions'; delete from root_entity_collection where name = 'NotificationContents'; delete from root_entity_collection where name = 'StyleThemes'; Note: I dont like that I have to modify underlying DB by hand, Upgrade scripts should handle this
Hi, I can not see widgets in Design tab while creating mashup. Getting below error. Please see the below images.
I need to hide username and password when inspect using browser. I tried form login but there also it is not working. When F12 is pressed, in background it shows the username and password once we logged in. I need to hide that information due to security reasons.
Hi All, I've been working on getting this Azure IoT Hub Connector started for a while now, and it finally seemed like it was going to work however, when I enter the 'azure-iot.bat' command there's no output in my command prompt but the connection server appears in my ThingWorx platform. While the command prompt is open, the cxserver file grows rapidly. Then, if the command prompt is closed the connection server disappears from ThingWorx. Is this normal behavior for the connector? Everything I've read says it should start to process data after entering the 'azure-iot.bat' command but I get no output in command prompt. The images contain the different errors I am getting in my cxserver file.
Hello Team, I want to get the output of a QueryPropertyHistory service via REST to a third party application, but I want to get it into the raw JSON format, to avoid parsing errors in the destination, Please, any ideas on what I should do as a custom service to get QueryPropertyHistory output to a raw JSON format? Tks, Chris
Spoiler (Highlight to read) Hi, I have a trial version Thingworx of 3 months installed on my computer. I downloaded and installed Httper APP on my smartphone and I´m trying to send information to thingworx via REST API but I can´t connect to Thingworx and the error message is: "Cannot access to the URL, check your connection and service provider" I have connected smartphone and computer in the same network. IP Computer= 192.168.1.22 IP Smartphone= 192.168.1.24 Port= 8080 This is the URL, headers and body: Request method PUT URL= http://192.168.1.22:8080/Thingworx/Things/DataLogger/Properties/Temperatura Headers= AppKey= b2245650-d77e-4f8a-8dbb-4acbabf85230 Content-Type => application/json Accept =>application/json Body= {
Hi, I have a data table and one of the fields is JSON type . I can write a JSON object into the table successfully, but when getting the JSON object back, the array property of the JSON object becomes {}. The workaround is that I have to convert the array field into String and then call JSON.parse to get the JSON array back . Is it a known issue ? I uploaded a reproducible XML file for the problem , you can run AddJsonValue firstly , then run GetJson to observe the log . ThingWorx 8.4.2 + PostgreSQL 10 Regards, Sean
Hi all, I need to format current date time on ThingWorx expression widget, but javascript functions do not work without libraries (i.e. dateFormat(newDate(), "dd-MM-YYYY HH:mm")). How can I format datetime with native functions? Thanks, Elisabetta
i am in a situation where i use 40 to 50 fields (textbox,label) in a single mashup, currently for showing values in that fields i use the same 40 to 50 service, each for fields.This huge amount of services results in a slow page with massive lags. So am searching for a way - there we can programmatically access all the fields(40 to 50 counts) in a single javascript service and manipulate it there itself, setting or getting text values of the fields like we do in native javascript(eg: that_specific_label.gettext())
Hey everyone, I am currently using Thingworx platform 8.3 and i need to upgrade to 8.4, i have gone through the document but i have a bit confusions in downloading the files from support site and upgrading my licensing. Regards, Deepak Rahul
Hello all, When script logs are used inside functions,they are not displayed in monitoring.. has anyone else observed this..any solution? Eg. function print(){ logger.info("1"); function print2(){ logger.info("2"); } } print(); logger.info("3"); 1 & 3 are printed in script log while 2 is not.. Thanks for any clues..
I want to load students data into a mashup which will be given by user. My vision is , on click of "Add student" button in main page, a window has to pop-up and ask for student name, age, department, photo (image) and so on. After giving all the values, the detail has to be shown in the same main page in addition to the "add student" button. Like this users will add as many students they need. I'm a newbie here. So step by step instructions will be appreciated. Thanks and regards, Rajesh
Hi,In our customer release, we need to download a file from Thingworx remote Repository to the system where C-SDK edge server is running.We are trying the same with get file api in the below format, but its giving some errors and we are not able to achieve this.twFileManager_GetFile("SystemRepository", "/", "test.txt", pConfigparam->m_ThingName, "twx", "\\test.txt", 0, TRUE, &tid);1) we have tried transferring from SDK to TWX repository, that works with below format.twFileManager_GetFile(pConfigparam->m_ThingName, "twx","test.txt", "SystemRepository", "\\", "test.txt", 60, TRUE, &tid);2) When transferring from systemrepo (Thingworx) ,we get errors using the twFileManager_GetFile api.Please suggest us how we can achieve this, provide us the steps/samples to do the same.
I m trying to display the data coming from property of base type infotable on mashup vertically. Vertically in the sense all the Headers should occupy first column and the values corresponding to it should occupy subsequent columns. Tried with creating a service to transpose the data, it didn't work out. It would be Great and Thankful if somebody helps me with an example code with which i can understand and implement it in my project as well. Please find attachment for required format. Thanks in advance.
Hello. I've got an issue. The problem boils down to one general issue: I've got an infotable with four boolean properties, and each property is assigned to a shape. Based on the value of the property, the specific shape is visible or not. I have connected the infotable properties (some are true, some false) to the shapes via Selected Rows, but all the shapes are visible, when in reality, some should be hidden. Can anyone help with this regard? Thanks.
I am stuck at configuring charts as there is no drop-down list for my LabelField. Link to the guide: https://developer.thingworx.com/en/resources/guides/display-data-charts/ddc-configure-charts What mine showsWhat is supposed to be shown
Hi Team, Is it possible export an appkey (or list of appkeys ) programmatically? I would like to select all the appkeys by Tag and export them, but I didn't find any information about how to do that. If possible, how can I do it ? Thanks in advance.
Hello. I've got an issue. The problem boils down to one general issue: I've got an infotable with four boolean properties, and each property is assigned to a shape. Based on the value of the property, the specific shape is visible or not. I have connected the infotable properties (some are true, some false) to the shapes, but all the shapes are visible, when in reality, some should be hidden. I have a thing shape with a service that populates an Infotable property. On my actual thing, when I click the infotable, I can see that one of the infotable values is modified from its default value. But it doesn't display on the mashup. I have connected the Dynamic Thing Template, and I have connected the GetPropertyValues service, from where I pull the infotable data. But it doesn't connect. Can anyone help with this regard? Thanks.
I have uploaded additional data to my dataset, but my model is not changed according to newly added data. Please suggest me that Is there any way to get it or I need to create new model and publish to Analytics Manager for every time I add new data into my dataset.
Hello, I want to disconnect the Websocket connection of a connected remote thing from the Thingworx server. Is it possible? I tried using the DisableThing service, but that only disallowed the client to update the properties, not terminate the WS connection. If it is not possible, what is the reason for it?
Hi there! I'm writing a service to convert any InfoTable to CSV text. The input is InfoTable without DataShape, it can be any InfoTable, with any filed definition. Now to make this service possible, I need to read data from InfoTable rows dynamically. Normally, I can use row.FieldName to get field value. But in my case, the feild name is a variable, so I want to use some function like row.values[myVariable]. And I cannot find any possible method to read data as I expected. Any advise? Thanks a lot!
Hi all, Like the subject, I would like to create a top-right delete image button for value display widget (like the image below) Is there any way to perform it? Any help is appreciated. Thanks!
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.