Recently active
I am beginner about ThingWorx. Somebody help me. what is a thing network
Hello all, I want to constrain the user to should not enter the space in the text box widget in the run time. How to achieve this one? let me know anybody knows the solution. Regards Sugumar R
I am using the progress gauge extension on Thingworx and right now it can only take in one value. I have studied the javascript code of the progress gauge and I have roughly understood it. However, I am still unsure on how to start in terms of writing code in progressgauge.ide.js and progressgauge.runtime.js so that the gauge can take in multiple values and show multiple colors based on those values. I have attached the javascript codes for reference as well. Any help will be greatly appreciated! An example of what I want at the end is shown below. TW.IDE.Widgets.progressgauge = function () { this.widgetIconUrl = function() { return "../Common/extensions/ProgressGauge_ExtensionPackage/ui/progressgauge/progressgauge.ide.png"; }; this.widgetProperties = function () { return { 'name': 'Progress Gauge', 'description': 'A rotary progress gauge', 'category': ['Data', 'Charts'], 'iconImage': 'progressgauge.ide.png', 'defaultBindingTargetProperty': 'Data', 'properties': { 'Dat
In the ThingWorx 8.4.3-b2219, I am unable to apply menu item permissions (using user groups) as an administrative task. In previous versions this feature was usable. I am also unable to find a solution using scripting.
Hi there, We recently upgraded to TW 8.4.3 besides that we have had a "hell of time" and not funny way. I have stumbled upon something that bugs me. I was use to when service with defined output as string failed an error message from exception appeared in result window. No there is this weird message "Must have a datashape defined to add rows." I handle most of my services with try-catch, but not always printing the error part in logs. This is very difficult to debug. What is with that, is this by design? Can it be solved?
Hello, I'm working on an anomaly alert and I'm just trying to understand it. I've created a Timer Thing with a number property called "value" and I've set an anomaly alert on this property. This property changes due a subscription whose code is quite simple: me.value += Math.random() * 3 - 1.5; So I've got my value changing every second. My anomaly alert status went from Initializing, to Calibrating and then to Monitoring. It is stuck now. I don't get how does it switches from Monitoring to Training. Thanks
Hello,I have a local server since 2 two months and today it stopped working.My tomcat is not able to start again the server. I try with to launch it with windows service but i have an error and when I look to the log, i have this : [2019-07-23 17:56:24] [info] [12912] Commons Daemon procrun (1.0.15.0 64-bit) started [2019-07-23 17:56:24] [info] [12912] Running 'ThingWorx-Foundation' Service... [2019-07-23 17:56:24] [info] [15036] Starting service... [2019-07-23 17:56:25] [error] [15036] Failed creating java C:\PROGRA~1\Java\JRE18~1.0_2\bin\server\jvm.dll [2019-07-23 17:56:25] [error] [15036] Le chemin d’accès spécifié est introuvable. //chemin = path in french [2019-07-23 17:56:25] [error] [15036] ServiceStart returned 1 [2019-07-23 17:56:25] [error] [15036] Le chemin d’accès spécifié est introuvable. [2019-07-23 17:56:25] [info] [12912] Run service finished. [2019-07-23 17:56:25] [info] [12912] Commons Daemon procrun finished Is there a way to uninstall my trial thingworx witho
I'm trying to have the feature of multiple selection in Thingworx 8.4 in standard grid from touch devices, does anyone know how to perform this ? from desktop pressing ctrl + mouse click i am able to select more than 1 row , but from tablet only 1 per row, can you please help me ? Thanks !
Hi, I think that the time has come to try some of that Analytics stuff. Few years back the situation was quite unclear. Can someone explain what is the difference between Thingworx Analytics server and Platform Analytics server. Or somebody willing to point me into the right direction in regards to How to start with Analytics? Some slides would be nice to get my head around this area. Thanks
Hi All, I want to update the limits of an alert by triggering a service. How can I achieve that? From Thingworx Support, I got the following code which I have pasted below. I tried running that but it doesnot work. For example: I have a property "Suction" with basetype as "INTEGER". I have already created an alert for that named "AboveLimit" which will be fired when Suction is above limit 5. Now I want to change the limit through a service. I wrote the following but its not working. // Create the Attributes Infotable for AddOrUpdateAlert call var params = { infoTableName: "alertAttr" /* STRING */ }; var attrs = Resources["InfoTableFunctions"].CreateInfoTable(params); // Define the fields required by an Above type Alert for an INTEGER field (not the values!) // limit - Minimum value at which the alert will trigger. var field = new Object(); field.name = "limit"; field.baseType = 'INTEGER'; attrs.AddField(field); // limitInclusive - Is the condition Greater than (>)
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.
Hi All, I created a trend showing the OperatingMode property, butthe graph is not showing the correct values when I change the time range selection. OperatingMode property values are the following (QueryPropertyNamedHistory service output): The graph is correct when I select the time range From 2019-07-31 07:00:00 -> To 2019-07-31 10:39:00 While the graph is not correct when I select the time range From 2019-07-30 07:00:00 -> To 2019-07-31 10:39:00 The property value is not equal to 1 in the selected time range Any idea? Many Thanks Martina
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.
My scenario is that my kepserver is in local timezone and Thingworx instance is in UTC timezone. How can I get the difference between the timezone in Thingworx so that I can convert the date time in machine timezone itself. With regards Yedukrishnan U
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
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.