Recently active
Hi,When a Value display widget is paced Responsive container, Scroll bars were seen. When checked in the Layout of the Container, Container Scrolling for Vertical is Disabled, why ? Thanks,
Kindly Suggest Which chart have "No of Series" is bindable property in thingworx. So that i can pass dynamic values according to the data.
How can we store a service output in DataTable insted of InfoTble in Thingworx.
Hi, @GF_9594158 Can you tell me how this issue was resolved?I'm having the same problem.
Dear All,I am from Mechanical background, Working on PTC CREO for 10 years , Now planning to swtich to IoT and chosen thingWorx to learn but not sure what are all the prerequisites required to start this thingworx course? where i can start this learnings? can i practice this course in free of cost?and i do not have any languages experiences , only having basic knowledge on Python, will this little knowledge help me anywhere to learn this course? Kindly guide me to start.. thanksBalan M
Is there any limit that we can only create max 6000 mqtt things in a given TWX server?
Hi, Added a advanced grid in a Responsive Container, but the Advance Grid doesn't show vertical bar's.Thanks,Shashi.
I am using TWX 9.3.1 , trying to get JSON output thru a JS service using GetJSON/LoadJSON snippet.I checked it thru POSTMAN and it worked perfectly. This is my code:var AuthVal = "Bearer "+token;var ServiceHeader = {"Content-Type" : "application/text","Accept" :"application/text","Authorization" : AuthVal,"maxItems":7000};var url="http://apps-dev.xylem.net/ApisManager/api/MES/Get/BrazedBOM?partNumber=BY568504016017";let params = {headers: ServiceHeader /* JSON */,url: url /* STRING */,timeout: 0 /* NUMBER {"defaultValue":60} */};// result: JSONvar result = Resources["ContentLoaderFunctions"].LoadJSON(params); and this string output:{"headers":{"Authorization":"Bearer e6c336482a7d4767883c2268bd1836fe","maxItems":7000,"Accept":"application/text","Content-Type":"application/text"},"responseHeaders":{"X-UA-Compatible":"IE=Edge","Server":"Microsoft-IIS/8.5","Access-Control-Allow-Origin":"*","Content-Length":"6209","Date":"Thu, 25 Aug 2022 06:30:00 GMT","Content-Type":"application
I have two infotables parent and child, i want to update the parent infotable rows based on child infotable unique columns. what is the best approach to achive this, tried with UpdateQuery function, its not updating the parent infotable rows.
Hello Comunnity :), I'm thinking how to manage some alerts in TWX and for this I need a subscription. If I've created a subscription in order to send one emain when a alert trigger, if I create the subcription in a thing template, this subscription is gonna be repeated in each thing? So if I have 10 things with this subscrition(any alert) I will have 10 subscription checking the conditions for send one email, for example? So this can be inefficient, It's better to have this subscrition in a external thing? Thank you Luis.
HiIs there a way to get the client screen resolution on Load of Mashup, such that based on it, Mashup made for that particular Screen resolution can be loaded.As we know a perfect responsive Mashup can't be made since there are less Responsive Widgets present in Thingworx, eventually end up showing the scroll bars in the Mashup.Thanks,
Sometimes you have to work with XML in Thingworx, e.g. when processing the result of a SOAP Webservice call.This can be done using E4X, but it's not comfortable to use, especially when there are namespaces involved. Therefore, I took a publicly available (GPLed) script which converts the whole reply to JSON and adapted it to Thingworx. It creates an object from the XML and returns the JSON.stringify representation of it. You can take it and extend it to your needs. If you know what you need from the reply and E4X, using E4X directly is probably faster, as it does need the intermediate object and JSON creation, but this is much more convenient (you can work with either the object or the JSON). Beware this only works with valid XML, so an error message returned from a failed WS call, which could be HTML will not be parsed.The thing was exported from TWX 9.2 but should work with older versions as well.
Hi,There are projects that are deployed from one Environment to another Environment by Extension method.1st Env ---> Entities are Exported by Extension type 2nd Env ---> Extension is imported in to the EnvNow these Entities can't be edited, is there any way we can edit the Entities, mainly Mashups... there are few bugs need to be fixed over hereis there any configuration that can be done to edit the entities that are imported by extension in this scenario ?Thanks,Shashi.
Is ThingWorx on-prem validated against MS/Windows patches? If so, is this posted information posted anywhere?
Hi all, I'm using the Menu bar widget for navigation in my Thingworx app. I'd like to implement an "Info"-button into the secondary navigation items of the main menu, which would navigate the user to mashup providing info and help related to currently selected mashup. It would be nice to have this as modal popup over the currently selected mashup.For example in the pic below, user has selected the "Factory" mashup from the Primary Navigation items, and it is open in the view:Now when user clicks the "Info"-button, I would like to have the "Info"-mashup modal over the selected factory mashup in the view area. Is such functionality possible to implement with the current menu bar in Thingworx 9.3.3? I know I can implement it in by including the info button and a navigation function into each mashup, but it would be nice to have it in the master and menu bar instead.
How to set minimum row height for adv grid widget?
Good afternoon! The mashup needs to be displayed at all times. But with a frequency of 1 week, it steadily stops displaying data or a page with an error opens. It would be possible to configure the update of the tab itself (f5), but in this case, the selected item in the drop-down list would have to be manually selected again.How can I analyze the error and try to fix it?
I am trying to convert json code to xml code. I am getting errors for the following code. Help me to fix it. js code: try{let JSON = "{College:{entry: [{ Student : 'shiv', Roll_No: 12},{ Student : 'yadav',Roll_No: 56}]}}";let result = OBJtoXML(JSON); function OBJtoXML(obj) {var xml = '';for (var prop in obj) {xml += obj[prop] instanceof Array ? '' : "<" + prop + ">";if (obj[prop] instanceof Array) {for (var array in obj[prop]) {xml += "<" + prop + ">";xml += OBJtoXML(new Object(obj[prop][array]));xml += "</" + prop + ">";}} else if (typeof obj[prop] == "object") {xml += OBJtoXML(new Object(obj[prop]));} else {xml += obj[prop];}xml += obj[prop] instanceof Array ? '' : "</" + prop + ">";}xml = xml.replace(/<\/?[0-9]{1,}>/g, '');return xml;}}catch(e){logger.error("jsCodeToConvertJsonToXml: error is "+e+" in linenumber "+e.lineNumber);} errors: 1. error is TypeError: OBJtoXML is not a function, it is undefined. in linenumber 3. 2.
Hi,We have Postgres as an Model DB, InfluxDB as an Time series DB. Will it be possible in a Thing, few logged properties can be stored in the InfluxDB and few on Postgres ?Because we run a retention policy every month for Influx DB, which purges Data on Monthly basis, there are few properties that are getting logged to be excluded from the Purge.So if I assign a Thing with ValueStream of InfluxDB everything gets purged, there are few properties that should be excluded for client data Analysis.Thanks,
Hi, I'm storing less frequent data in configuration table, however when i ty to fetch the data using getConfigurationTableRow service only one value is fetched that too old value. How to fetch latest value from configuration table. Is there any way that updates value of config table instead of adding more data,Thanks,Adarsh
How to convert infotable datas to xml in thingworx . Kindly tell me any rest call or js code or extension.
how to read and write .xml files in thingworx
Hi everyone. I have created a service that adds stream entries to only a few specified columns if a certain boolean condition is true. If the boolean condition is false then the service updates the stream entry by filling in the rest of the column values. I passed the infotable that holds the values and a current streamID to the updateStreamEntries snippet. This does not work, I keep getting the error : Invalid number of values provided to UpdateStreamEntry. How can I fix this?
I see that the maximum rows handled by INFOTABLE is mentioned as 500. Can we store more than 500 rows Infotable in a variable? like if we call a service say GetImplementingThings() inside another service which returns more than 500 rows, can TWx still can iterate through that INFOTABLE variable and carry out rest of the process say inspect or update a property? What is the best way to handle
Hi all, I want to reset all the properties of a thing to respective default values, how can this be done? Thanks,Sujith
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.