Recently active
We are facing some issue for displaying pdf file in WebFrame using a url which is SSO protected. We are having WQS (i.e. Dot Net based product) and it provides Web Service with some api’s to access data from it. Here Thingworx and WQS both are SSO configured with same PingFederate and both are using same Directory server. When we are calling one WQS report API (using SOAP request) from Thingworx; then report in pdf format with WQS data is generated at WQS side and WQS api returns an URL to access this pdf file. This url is SSO protected. This pdf file url is passed to the WebFrame widget but this widget is giving error as ‘Refused to display <pdf file url> in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’’ and it do not display any contents of pdf file instead it just shows white blank background. Do we have any option to handle this issue?
Hi, I want to make convert my runtime mashup to German when I choose german locale and when I choose default locale I want to convert it back to English. I want the localization to be dynamic. Is that possible? Please provide some idea. Thanks, Shalini V.
Hi Carles, Thanks! How should the JSON inputs be formatted? Is there any documentation available for that? For example, I am trying to use SearchThings and use the ThingTemplate filter. Best regards Erik Related to previous post
Hello everyone, I have a temperatur sensor as a thing in Thingworx. Now I would like to recognize how fast the temperature changed. For example if the temperature increased by more than 3 Degrees in a period of one second I would like to fire an event (an alarm). Do you have any idea whether there is an elegant approach to do this? My naive Idea would be a subscription that checks how much the temperature changed one second ago once a "data changed" event occurs. Any help and tips are appreciated very much. Best Regards, Dominik
Hello, currently, i am using the following versions: Thingworx 8.2, Analytics Server 8.2, Thingpred 8.2, Analytics Extension 8.2 When I try to trigger an analytics event-starting an Analysis Job- by changing the the Thing value of a previously to an analytics event connected Thing. Nothing happens besides this Error: Job not found for update: dfcb4f20-2a88-493a-a0e6-76bc69196225 Dynamic deployment completion event is not dispatched What could be the reason for this? regards, max
We have a project where we intend to log large amounts of data from a PLC. In the most extreme scenario we would be logging 175.000 data points every 3 seconds (which translates into 105GB of data / week). Did anyone of you try to log this amount of data using Thingworx Streams? If so, what persistence provider is suitable? Based on other comments I think we can rule Postgres out which leaves us with DSE or MS SQL. There may be a benefit for us to use MS SQL since the IT department has experience with those servers. Please if you have tried something similar or have comments / ideas then I would be very interested in seeing your comments! Specially if there are some fundamental constraints that we should be aware of. Many thanks Best regards Erik
Hello, While consuming web service which returns XML, I am getting below error: Application log: [context: com.thingworx.webservices.context.HttpExecutionContext@4d1285e][message: Execution error in service script [test2] :: Connect to www.holidaywebservice.com:80 [www.holidaywebservice.com/50.62.169.119] failed: Connection refused: connect] Service Code: var params1 = {proxyScheme: undefined /* STRING */,headers: undefined /* JSON */,ignoreSSLErrors: undefined /* BOOLEAN */,useNTLM: undefined /* BOOLEAN */,workstation: undefined /* STRING */,useProxy: undefined /* BOOLEAN */,withCookies: undefined /* BOOLEAN */,proxyHost: undefined /* STRING */,url: "http://www.holidaywebservice.com/HolidayService_v2/HolidayService2.asmx/GetCountriesAvailable?CountryCode=Canada" /* STRING */,timeout: undefined /* NUMBER */,proxyPort: undefined /* INTEGER */,password: undefined /* STRING */,domain: undefined /* STRING */,username: undefined /* STRING */};// result: XMLvar resultXML = Resources["
Received this question from a user. Thoughts? Thanks in advance. Error -1 during socket initialization:
Hi everybody, I have been stuck on this for a while. I had developed several widgets before but I had never needed an infotable as output/source. I have found an small example as answer on another topic of this forum, but I can´t seem to make it work. I tried to use the Grid widget that Thingworx has an example, but I am still stuck. On the .ide file, I have the infotable defined as this: 'EditedTable': { 'isBindingSource': true, 'baseType': 'INFOTABLE', 'description': 'Infotable where all the modifications are getting saved' }, And on the .runtime file I have it like this: var outputTable = TW.InfoTableUtilities.CloneInfoTable({ "dataShape" : { "fieldDefinitions" : infoTableDataShape}, "rows" : item_Data_array }); this.updateProperty('EditedTable',outputTable); I think I am using the correct syntax and that the format of the item_data_array is the right one since I compared it to the infotable that I use as input on the widget (the datashape is directly rea
Dear reader, I am trying to connect Node MCU(Arduino) to thingworx as per the tutorial ,but i am unable to push the value to thingworx.please go throught the tutorial and tell me the solution of it,i am using 30days hosted server of thingworx. https://www.udemy.com/learning-internet-of-things-with-thingworx/learn/v4/t/lecture/8208178?start=45
HI James, This is good work. I'm using this to create a datashape on the fly from an input JSON definition, and that does work, except that the order of fields in the datashape is completely random and bears no relation to the order in the JSON string. Any ideas? I'm importing a .CSV and the datashape order must reflect accurately the order in the .CSV // THE RESULTING DATASHAPE IS NOT IN THE SAME ORDER var jsonDataDef = '[{"Name":"","System":"", "Assembly":"","SID":"","Part#":""}]';var jsonDataModel = JSON.parse(jsonDataDef); var params = { dateFormat: "RAW", json: jsonDataModel, dataShape: undefined, minDataMilliseconds: undefined}; var res = Resources["Parsley"].ParseJSON(params).array;result = res;
i created a MQTT Thing using MQTT extension also configure it with correct password , IP, and port but still its not connecting to my local MQTT server. my mqtt server is running on raspberry pi which is connected to my PC vai ethernet. also i'm using local instance of thingworx on my pc. please help!
I use prescriptive scoring function to find optimized lever values with my model. But I am wondering how to use presciptive scoring with some constraints. Some attributes(like quality) must stay in a properly range when min/max the goal. How can I do such works using prescriptive scoring.
How to automate bind or change in Manage Bindings for properties in Mashup Run Time ?
This popup is displayed when you try to open an item that is currently being edited by another user. How does the composer know this? Is this info accessable so that it could be used by a custom service?
Hi,I do have TWx 8.I am logging with Administrator User and I set its password as admin.I wa sable to login.But suddenly somehow it is not allowing me.I am getting this in logs:2017-11-08 17:49:27.212+0530 [L: WARN] [O: S.c.t.s.a.AuthenticationUtilities] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-1] Authentication attempt #1 FAILED for [user = Administrator]: Invalid Password2017-11-08 17:49:27.258+0530 [L: ERROR] [O: S.c.t.s.a.AuthenticationFilter] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-1] Authentication failed: Please make sure the credentials are correct.2017-11-08 17:49:33.997+0530 [L: WARN] [O: S.c.t.s.a.AuthenticationUtilities] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-4] Authentication attempt #1 FAILED for [user = Administrator]: Invalid Password2017-11-08 17:49:34.000+0530 [L: ERROR] [O: S.c.t.s.a.AuthenticationFilter] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-4] Authentication failed: Please make sure the credentials are correct.2017-11-08 17:49:40.979+0530 [L: WARN] [O: S.c.t.
Hi, Getting Import Failed: com.helloinc.things.helloworld.HelloWorldThing Can anyone please explain how to create and import extension to thingworx Thanks,Regards, Vijayasanthi
Hello. I have the same problem and I have enabled root permissions on the mysql server, but isconnect remains false, did you create a new user in thingworx? thank you
I write a TWX script to send http post to an external REST service as below. var headers = { "content-type": "application/json;charset=utf-8" }; var queryParams = [ { "ColumnName": "TaskGroupID", "Sign": "=", "Value": "c0c3f361-b8f0-4d98-8ab3-f507179beb79" }, { "ColumnName": "TaskItemID", "Sign": "=", "Value": "'d24ba69e-82be-49d4-abbe-3821c371bae5','10bc58c0-0583-4cf4-b7fb-98ad5e99eafa','45c74c31-dace-48c4-9784-5157b001090b','b41ce652-c325-4e03-8dfe-d2693ced01d4'" } ]; var params = { headers: headers /* JSON */, ignoreSSLErrors: true /* BOOLEAN */, url: "http://localhost:8010/api/Report/GetTaskItemReport?isCurrentReport=false" /* STRING */, content: queryParams /* JSON */, timeout: 60000 /* NUMBER */, password: me.Password /* STRING */, username: me.UserName /* STRING */ }; var result = Resources["ContentLoaderFunctions"].PostJSON(params); &nb
Hi, I have installed Thingworx 8.3 on Ubuntu platform. The license is installed successfully. The license file was able to rename as "successfull_license_capability_response.bin". After running the "GetCurrentLicenseInfo" service from the LicensingSubsystem, twx_name_user is showing as false. I need some information about the feature. What could be the impact of this feature if it does not appear as true? I have attached the screenshots of the output of below services: GetCurrentLicenseInfo GetLicenseState Please help on this.
i am developing a login page or mashup . Login has Username and password which have validations that they are mandatory. Here, during login i need to call a rest api and generate a random token based on my user name and password. or, I have a token generated by rest api call in postman. Based on token I need to navigate to next mashup. 2. Second Issue. In next or main mashup i need to retrieve the values from rest api which is in json format and display the respective values on mashup.suppose i have values like vehicle number ; device Id and address in json and i need to display those values on Thingworx.
Hi, I experience an error while trying to install ThingWorx 8.3.1 with H2 on my windows 10 machine and also on a Windows Server 2016 VM. Did anybody experience this and knows how to solve it?
I,m trying to develop a dobut chart as per requirements of my client. Since I,m new to ThingWorx widget development I tried to follow the tutorial on custom widget development and was also going through the existing widgets. On trying to go through the pie-chart widget I came across below like line in numerous places which I think is loading values from property files. can anyone help me to understand it. 'name': TW.IDE.I18NController.translate('tw.piechart-ide.widget.name') Also can anyone help me to understand how the html is loaded when the widget is added. I could not understand the bellow lines in HTML. this.renderHtml = function () { var html = ''; html += '<div class="widget-content widget-piechart"><table height="100%" width="100%"><tr><td valign="middle" align="center"><span>'+ TW.IDE.I18NController.translate('tw.piechart-ide.pie-chart') +'</span></td></tr></table></div>'; return html; }; Also if I want to creat
I have been doing some work in setting up Thingworx to work with some test hardware and the machine looks like the script is not starting up an IP address with the docker script and returns error 500 unexpected error when ThingWorx is launched from browser.
Hi all, I would like to add some Custom CSS to my mashup. First of all I've tried independently adding a simple css script in custom css tab and adding customClass but it doesn't work. Than I tried to follow this tutorial: https://developer.thingworx.com/resources/guides/css-quickstart/custom-class-mashup-css-quickstart At step 4 (adding shadow) I noticed that shadow doesn't appear. I've also tried to clean my cache, change browser (Chrome and firefox) but nothing changes. My thingworx version is: ThingWorx 8.2.5-b260 Can someone help me?
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.