Recently active
Hi, I have a simple service in Thingworx for THING_17, the thing implements ContentLoader thing shape " return me.LoadText({ url: 'http://localhost:8089/', header: '{ "Accept": "text/html" }', timeout: 12000 }); " and there is a local HTTP service listening at port 8089, PostMan can do a request and receive a response well, but i got an error when using LoadText service "Unable to Invoke Service Execute on THING_17 : null Any help would be very appreciated. My Bests, Hung Tran
Hi Team, Can we bind dropdown to a infotable without datashape? If so how? Is datashape required for all the widgets to bind on?
Hello, currently, I am using Thingworx 8.2, Analytics Extension 8.2, Thingpredictor 8.2. When I start the Thingpredictor the follwing error is shown in the Error Log: Error [authenticating connection], Server websocket will be closed. cause: Application Key not found I checkt the correct app Key twice in both files(predictive-standalone.yml,system-environment-variable.properties) and even tried it without any app key by commenting the corresponding line out. In the Thingpredictor cmd Window I can see the following: ERROR [2018-11-20 09:15:51,723] com.thingworx.communications.client.connection.netty.ThingworxClientConnectionHandler: WebSocket error: com/thingworx/communications/client/connection/netty/ThingworxClientConnectionHandler$1, closing connection! It is still possible to publish models. But it is not possible to trigger events or jobs via setting different parameters of a Thing in Thingworc Composer. What could be the reason for this? Thanks, Cedrik
Spoiler (Highlight to read)SQL Query: Assignment variableSQL Query: Assignment variable Hello all !!!! I have problems with assignment of value of an input variable to temporary variable. I create service with SQL Query. Added an input variable [[container]] with type of data a string. In assignment attempt: set @Container=[[container]] - the compiler ceases to highlight syntax and execution happens to an error. At execution of any command as soon as I insert an input variable, [[.....]] check of syntax shows that it is not right. Whether somebody knows in what an error? In SQL Managment studio everything works.
We have been facing issue with Thingworx collection widget where the cells do not appear even when data is returned by the service. However this issue happens very intermittently and when it occurs this is the exception thrown by the widget. On refresh or calling the service again the cells reappear. Combined.8.3.3-b937.20181015.105723.00286.js:130014 Uncaught TypeError: Cannot read property '_BMCollectionViewInfoTableIndex' of undefined at TW.Runtime.Widgets.collection.updateThingworxSelection (Combined.8.3.3-b937.20181015.105723.00286.js:130014) at TW.Runtime.Widgets.collection.collectionViewDidSelectCellAtIndexPath (Combined.8.3.3-b937.20181015.105723.00286.js:129904) at BMCollectionView.set selectedIndexPaths [as selectedIndexPaths] (Combined.8.3.3-b937.20181015.105723.00286.js:126849) at Object.completionHandler (Combined.8.3.3-b937.20181015.105723.00286.js:129024) at animationOptions.complete (Combined.8.3.3-b937.20181015.105723.00286.js:127653) at Combined.8.3.3
Hi Developers, What are the HA features for KepserverEX ? The current scenario is that we have defined channels, devices and data tags in a single Kepserver and its now connected to the Thingworx composer. Now we're looking for fail safe scenarios on the Kepserver machine. I couldn't find documents for this. I came across link and learnt about Redundancy Master. I'm didn't quite get how to use this and this document seems to be outdated. We're currently using TWX_Industrial Connectivity 8.3. Please suggest some useful guides. Thanks and Regards, Saran
Hi, I am using the below service in ThingWorx. its not listing one of RemoteThing using the below service. but RemoteThing is available if I go physically. Also, listing remaining RemoteThings. Could you suggest why it is not listing one of RemoteThing using this service. I have enabled RemoteThing var allRemoteThings = ThingTemplates["RemoteThing"].GetImplementingThings(); Thanks&Regards, latha
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.