Recently active
I have downloaded the licence file for Thingworx 8.5. I have put it in Thingworx Platform folder and rename it to licence_capablity_response_bin but after restarting the tomcat server. The name got changed to ignored_license_capablity_response.bin file. Do i have to generate new license file and place it in Thingworx folder or I don't have to make any changes.
Hi , I am looking for sending Infotable data as body part of mail in html table format , but I am getting overwritten data while iterating. please see below code and screenshots too. var result = me.getDataForWeek(); //infotable resultvar tableLength = result.rows.length; for (var x=0; x < tableLength; x++) {var row = result.rows[x];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>"} Things["EMS_MailThing"].SendMessageWithAttachment({from: " xyz@gmail.com" /* STRING */,to: " abcd@gmail.com" /* STRING */,cc: undefined /* STRING */,bcc: undefined /* STRING */,subject:"Mail with table content" /* STRING */,//content : emailContent,body: emailContent /* HTML */, infotable result: key location sou
I am trying to give border for a layout .But,it's not reflecting.Below is my css code.Please correct me border-bottom-color:red;
hi community, i want to filter the result of queryAlertSummary service by using aanother service that return query ( for example by thingName as a source and sourceProperty as a property: var result = {"filters": {"type": "And","filters": [{"type": "EQ","fieldName": "source","value": sourceThingName},{"type": "EQ","fieldName": "sourceProperty","value": "mesure"}]}}; and i put this result as a query of queryAlertSummary service but I don't know what is the problem. thank you in advance
Can you suggest Thingworx get the values from OSI PI and push the data into Kepware?Thanks in Advance.
Hi Experts, I am trying to download PDF using ExportPDF extension but facing issues. When I execute CreatePDF service with required inputs and execute it, the service is showing just executing as status and not giving any output or error. Can someone help me how can I download PDF in thingworx, Is there a way we can download pdf without using ExportPDF extension. Best Regards Lakshmi.
I cannot seem to figure out how to pass an infotable as an input to a Thingworx Service using a XML format REST call. I am using Postman with an app key to call a Service on the platform using POST. I am able to pass multiple other basetype inputs like strings, but the length of my infotable My question is How exactly must the infotable be formatted to properly be sent to Thingworx? When I try to get the length of the Infotable, it always gives me 0 rows. Here is an example REST call body that I have tried where the 'content-type' header is set to 'text/xml'. The name of the service is 'TestXMLRest'. There are 2 inputs: a string called 'StringInput' and a 2-row Infotable called 'MyInfoTableInput' using a datashape the contains 2 strings, 'Name' and 'PhoneNumber'. <TestXMLRest> <StringInput>Just a string</StringInput> <MyInfoTableInput> <DataShape> <FieldDefinitions> <FieldDefinition
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.
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
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.