Recently active
How can we provide separate date and time input in the "startDate" and "endDate" parameter of querypropertyhistory service and how specifically we can enter a different date and a different time as an input. Please let me know the steps to implement the above scenario.
Hello, I am currently trying to implement a service which is executed by a User to move himself to a User Group that has Visibility permissions to a Thing. My Code is as below, try { var groupName = "InstrumentUsers" ; var params_AddMember = { member: username, type: "User" /* STRING */ }; Groups[groupName].AddMember(params_AddMember); } //respond back with the resultresult = { "success": "true", "Instrument": { "Alias": Things["Thing"].Alias, //problem is in this line "GUID": "xyz" }}; } catch (err) { result = { "success": "false" };} The "InstrumentUsers" does have the visibility to the "Thing". I also see that the user is properly moved inside the group. The problem arises when the user tries to execute the line Things["Thing"].Alias where he tries to read the property of the T
I need to run a service for every 30 minutes from 7 AM to 7 PM daily except sunday. How can I configure my scheduler. My CRON string is 0 0,30 7-19 * * 2-7, I enabled my scheduler and subscription, still I'm unable to run my service. Please help me out from this. Correct me If my CRON string is wrong
hello, i am trying to cache some data, so: i have a service that has its output as an InfoTable and retrieves a couple of rows and 5 columns of data. i would like to cache this service as it takes some time to run, but the below code only caches the last row form the server even thought the loop is ok and reads all the rows. (that s why i aded the ii object, for debugging purposes) in monitoring i could not find anything. i also wanted to try the AddStreamEntries service but i got stuck with its implementation can you please help? var values; var params = { infoTableName : "InfoTable", dataShapeName : "GabiDS" }; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(AMTable_ModuleDDS_CRA_PG) var table = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); var tags = new Array(); var timestamp = new Date(); // result: INFOTABLE dataShape: AMTable_ModuleDDS_CRA_PG var actions = Things["GabiThing"].Get
Hello, I am currently trying to implement a service which is executed by a User to move himself to a User Group that has Visibility permissions to a Thing. My Code is as below, try { var groupName = "InstrumentUsers" ; var params_AddMember = { member: username, type: "User" /* STRING */ }; Groups[groupName].AddMember(params_AddMember); } //respond back with the resultresult = { "success": "true", "Instrument": { "Alias": Things["Thing"].Alias, //problem is in this line "GUID": "xyz" }}; } catch (err) { result = { "success": "false" };} The "InstrumentUsers" does have the visibility to the "Thing". I also see that the user is properly moved inside the group. The problem arises when the user tries to execute the line Things["Thing"].Alias where he tries to read the propert
Hey everyone, Can anyone teach me thingworx analytics from scratch, the guide from the developer portal was not that clear to understand what and how it is happening internally, so kindly if anyone had any idea about it, you can contact me anytime. Regards, Deepak rahul.
I have a question: If I set an anomaly alert for my property, it will start analyzing data from the moment I create the alert. For my thing, I have all data stored in a stream. I would like to know if it is possible to set an anomaly alert now which start analyzing my data from any datetime in the past inside the stream. Thank you
Hello everyone; We want to insert multiple Tokens on Localizations Table for certain language ( Turkish - tr ) . Adding one by one taking is very time consuming. I cannot find any related service which doing this job. Things I Tried 1 ) After createing new Localization Table, i added a new Token for label. And then i exported the XML file. Opened it a Text Editor and try to duplicate inserted Row Value but i failed. 2) I also tried to monitor the adding token process from Chrome Developper Tool - Network and mimic the process from Postman. it also failed. Addng one by one is doable but its not Efficent way to do. Maybe we need to update some translation on table on future and there is more then 300 entry on the Table. Can anyone suggest to me any viable option to solve this issue ? Thank you.
Hey everyone, Thingworx analytics server has installed but icon is not displayed, i have attached the screenshot of the composer pag,other data files are installed successfully without any error, kindly if anyone knows guide me,
Has someone used this function ? I need to update datatable entries, but with a query because I have to udpate just records where an integer field is above a certain value ....
hey everyone, I am working with thingworx analytics 8.3 and following the guide the data files csv and json is not importing i have attached the image if anyone knows assist to complete the guide Regards, Deepak Rahul
Hi everyone, i have installed thingworx analytics 8.4 in thingworx platform 8.4, there is no error while installation and it is successful but there is no server things available, i can see the analytics icon but no connection things available. Regards, Deepak Rahul
Hi Eventhough if i execute Purge Stream entries and purge all property values from the thingworx composer are not directly impact in the Postgres DB Table rows. Am expecting to delete unnecessary entries in Value Stream and Stream data, I can able to sucessfully purge thing properties for Past date from the thingworx service but after the thingworx purge service excution number of rows in the postgres value_stream table are remain same Why?
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.
I am using ThingworxH2Trial 8.4.0 and having this error, any suggestions on how to solve it? This error only occurred today and localhost has been running smoothly for the past weeks. Attached are the ApplicationLog and SecurityLog which may be of help.
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 (>)
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.