Recently active
Hello, Extensions are not importing in thingworx8.3 i have added Extension import policy in plaform setting jason file but still its throwing error. I have checked error log also in that showing related to import policy.I have deployed twice thingworx.war file and restarted tomcat also. i have attached error log file.
Hi, Where can i find a proper documents, having explanations for all the snippets used while writing services in a Thing. Am new to thingworx programming and i get stuck in simple problems like converting an array into infotable. Its hard to know which snippet is for what task, and how to use them .
Hi , Looking to retrieve data from datatable using Timestamp field . I have requirement like retrieve current date data , weekly data (last 7 days) etc. here timestamp values can be duplicated . we want last 7 days entries from datatable. how we can do it? Thank you
Hi, I am planning to use OPC Aggregator in Thingworx to connect to PLM Teamcenter. I wanted to explore the use of OPC Aggregator in Thingworx, how to make OPC connections. Is there a manual that will be helpfull? Thanks , Sri1
Hi, We test MQTT protocol and we have created thing, which receives data: My question is: Do ThingWorx has decoders (or is it call different) to see the values? IoT sensor producer decodes the messages in the own application, but how to read them in ThingWorx? Thank You. Best regards, Povilas.
How to write a value to kepware (as 0 or 1)on click of button in thingworx
Hi everyone! I'm using value display to show an information that I have received from my PLC. The information is ok. But I was not able to configure the color that value display. What's property I change this color?
Hi guys, In Thingworx Version "ThingWorx 8.4.2-b2151" I'm using Collection widget to make a calendar. I have a datatable with "date" column, column type is "DateTime". When use collection widget, i set the sort column to date column, I have a service to load data from datatable by Month(each time it only load 28-31 rows from datatable base on user's choice of month). Collection widget display correctly on default load, date is in order from 1 to the end of month(Service triggered when mashup loaded), but when user select different month, date order is mess up, no longer sort by date column, even user go back to the default loaded month, date order still mess up.
I have created a DataShape having 3 field definitions and binded the GetFieldDefinitions service to the list widget. Now i want to send the selected item in the list to a datable or a database. how do i do that?
I am trying to map the pwdLastSet AD attribute to a User Extenstion via Directory Services. I added a property to the User Extension Thing Shape with Base Type = LONG: Next, I mapped the AD attribute to the user extension with a default value of 237 (I set a default is to show that the value is not being set properly): However, the value is not set properly. Here is a screen shot of my user extenstions to show that the value is zero: It is not the value from my AD attribute: It was also not set to the default value 237. Are there limitations to which AD attributes can be mapped to user extensions? Thanks, Steve
My Thingworx platform version is 8.4.0-b2013. I was trying to restrict access to Thingworx composer by removing users group from ComposerUsers group. But I was not able to access any mashup after that. How should I do?
I am trying to use aggregate function on a "result" infotable. The aggregate function is returning and info table "result1". The infotable result1 column names are infoTable content: {AVERAGE_1667.0=null, AVERAGE_1667.0_COUNT=com.thingworx.types.primitives.NumberPrimitive@0, AVERAGE_1667.0_SUM=com.thingworx.types.primitives.NumberPrimitive@0} Please find my code below. How do I read the read the aggregated value(i.e Average values: 1667 this keeps changing every time I run this service) // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(US_NRV_Env_Reporting_Average_Value)var result1 = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params1); var params = {t: result /* INFOTABLE */,columns: me.Data_Reading/* STRING */,aggregates: "AVERAGE" /* STRING */,groupByColumns: undefined /* STRING */}; // result: INFOTABLEresult1 = Resources["InfoTableFunctions"].Aggregate(params);
Is there are any way to mange email queue in thingWorx
Hi all, It has been a year since people talked here about automated testing so let's talk again. Do you have preferences between Sikuli vs Selenium vs Watir vs Cucumber? For automated test runners, do you prefer Jenkins vs Travis vs Circle-ci? PTC/Thingworx folks please chip in, what do you use internally? thanks -- Rick
in repeater widget we can automatically select the first row in the list using properties (auto select first row) and if we click the next button next set of list will appear is there any possiblities to automatically select the first row in the next set of list?
I have a thingshape used in a template that relates to some particular area of functionality in that template. I want to allow a particular group to have access to the thingshapes properties and services, but not allow them access to any other parts of the template. If I set the run time permissions in the thingshape 'run time instance' level, does this mean I wont have to do override permissions at the template level? TIA K
Hello, I am trying to connect a Raspberry pi to Thingworx platform vis EMS. When running ./wsems command, I have a time out issue. Here is my log file. [DEBUG] 2020-01-30 10:50:15,708 SDK: twTlsClient_Connect: Connecting to server[INFO ] 2020-01-30 10:50:15,761 SDK: Server supports websocket extensions: permessage-deflate[DEBUG] 2020-01-30 10:50:15,761 SDK: ws_on_headers_complete: Websocket connected![INFO ] 2020-01-30 10:50:15,761 SDK: twWs_Connect: Websocket connected![DEBUG] 2020-01-30 10:50:15,762 SDK: twWs_SendMessage: Sent 60 bytes using 1 frames.[WARN ] 2020-01-30 10:50:25,784 SDK: api:sendMessageBlocking: Message 2 timed out[DEBUG] 2020-01-30 10:50:25,784 SDK: twOfflineMessageStore_Write: Stored message in offline msg file. RequestId 2[DEBUG] 2020-01-30 10:50:25,784 SDK: twMessage_Delete: Deleting AUTH Message: 2[INFO ] 2020-01-30 10:50:25,784 SDK: twMessageHandler_CleanupOldMessages: Message 2 timed out Can anyone please find me a solution ?
Hi, the custom widget given in the tutorial is not working after I imported it. It has errors during the runtime. "ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget { name: Error, message: simplewidgetdoesn't exist }" I have search the community about this problem and it says to clear cache or change browser. Done all of that but still having this error. Shouldn't it work if I just build the files from https://developer.thingworx.com/en/resources/guides/create-mashup-widget-extension/completed-example-create-mashup-widget-extension and import them?
is there any way to manage message queue in ThingWorx
Hi , I am trying displaying infotable field values in html table as email content or body.but it not taking as variable? can anyone help me for this query? below is code for displaying html content. its printing rowValue1 , rowValue2 as it is. I want their actual values . var result = me.getDataForWeek(); //infotable resultvar tableLength = result.rows.length;logger.warn(tableLength);for (var x=0; x < tableLength; x++) {var row = result.rows[x];logger.warn(row.M_Key);var rowvalue1= row.M_Key;var rowvalue2 =row.PowerFactor;var emailContent = "<html><body>\<table>\<tr><td>M_Key</td><td>Powerfactor</td></tr>\<tr><td>rowvalue1</td><td>rowvalue2</td></tr>\</table></body></html>"} Thank you
I am trying to reset password for a user in Form Login. There it asks to fill userID. where can I find the user ID of a user?
Hi, Is it possible to fetch the button label or display name as a output in runtime. We know that the button doesn't have input/output arrows option to bind any service for its name. But we wanted to take the display name or label of button in the runtime. So, is there any other possible way to achieve this? Thanks in advance, Shalini V.
I want to get the display name of button widget as input. And I need to pass the display name as input to the service. How to get the Display name of button as input? Kindly help me if there are any possiblities or Alternate solutions are there.
I am using ThingWorx 8.3.2-b535. I have an sql query service that returns 1 row of data (containing about 6 columns). when I execute this service from the thing it takes around 1 second. When this service is called from a mashup it takes around 7 seconds. This mashup executes about 7 other services which are also sql queries and they generally take less than 1 second. What is the proper way to diagnose why this is occurring?
How do I use the LoadBinary Service of FileRepository TT to convert a pdf file in my SystemRepository to array/stream of bytes and assign it to a blob type property of a separate Thing. Currently, If I'm running the LoadBinary service with the file path as input in the Composer for the SystemRepository Thing, nothing is returned by the service.
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.