Recently active
Hello, I want to add property values of a thing to an infotable/datatable thing in ThingWorx,For Eg: I have a datatable with a datashape having three columns(column 1, column 2, column 3)also, I have 3 properties (column1Prop, column2Prop, column3Prop) I want to add these properties as a Row to the datatable. Can anyone help me please. Thanks in advance. Regards,Aditya Gupta
Would like to know if the below service can be called to assign members to the user group. I am getting error saying members is null when try to execute it. /Thingworx/Groups/Sample_Group/Services/AssignMembers.Can give code snippet for the same?
Hello Thingworx community,I would like to share a library to communicate via HTTP REST protocol an ESP32 using Arduino IDE and Thingworx. This library can handle both GET and POST methods to communicate with a "parser" service on the created Thing.https://github.com/dvelaren/ThingworxESP32This "parser" service needs to be implemented inside a Thing on Thingworx platform. It will receive as inputs one or more Strings and it will convert to float each input and store it on each Thing property like shown below. me.Temperature = parseFloat(inputVar1); me.Humidity = parseFloat(inputVar2); I hope it can help you with your ESP32 projects. Leave me a star on github if possible.
I am trying to switch between None and Multiple row selection type of the grid widget, based on an expression output. But I do not see any change in the grid selection even after calling the expression and sending "Multiple" as output to the RowSelection property of the Grid widget.
When I try to update a stream entry I'm getting an error saying the id doesn't exist. But I logged that Id and checked the stream manually and could find it there. Anyone else faced this and what could be the reason for this?
I have set an "identifier" for an existing thing. Can I access the thing name and its properties using the identifier instead of the thing name. If YES, how do we do this?
Is it possible to use external javascript libraries in thingworx. I would like to make use of the influxdb2 client specifically so that I do not have to re-invent the wheel on services and queries to our local influx data base.
I have created an Organization, and tried to logging in but it giving me this error, though I'm a part of admin group with all access and even I have provided all the correct credentials.It is giving 405 http error.
I have an external rest endpoint which requires basic authentication username and password. I'm able to get the session username with session info in thingworx 8.5, how do I get the session password or is there any way to get Json data into thingworx. Thanks in advance!!
Two buttons in mashup to show status message. On clicking first button one status message will appear. Without dismissing it if i clicked second button, another status message is coming along with first status message. But the first status message should get closed when another status message is coming. How to do this
In my mashup, I'm using the file upload widget to upload and display images, as illustrated below. I'm now focusing on the backend functionality, specifically the need to organize the uploaded images into a folder for later repository submission to wc, rather than as individual files.I've explored the repository services and found a service named "create folder," which seems relevant. However, I'm currently unsure about how to use it to create a folder and how to post the images uploaded by the file upload widget into this folder. I also need clarity on the binding structure required for this functionality.Any guidance or resources on how to achieve this would be greatly appreciated.Thank you.
Hi all, I configured windchill odata connector some apis are automatically showing up, but for some i tried configuring with CS284781 article, how ever it is showing error while executing getEndpointList : Error executing service. Message ::Unable To Convert From org.mozilla.javascript.UniqueTag to JSON - See Script Error Log for more details. Thanks!
Hi,I have a solution where I have a structure that should be expandable/collapsable. It works great as long as I have only one open, but when I have one open and open another I will need double click.It works like this:1, A trigger button calles an expression which sets a session variable containing the id (string) of the clicked parent of the children being expanded (children lies in a container with visible false from the start).2, In the service getting the items there are logic to set an expanded flag which is then used to alter the visible property of the childrens container.3, I have a session variable to be able to know if the structure should be expanded or collapsed, 0 means that it is incremented, 1 means that it is set to 0. The session in (1) is then set to empty or the id of the item being expanded.So, how would you propose that this can be done? KindlyOskar Berntorp
Hi!I don´t know why, but in my popup mashup I have two dropdown widgets and when I click in one the information is showed on top of the dropdown box. I want the information under the box.How can I fix it? *my Thingworx version is 9.3.9
Hi, I have a mashup which has a led widget, and gauge widget and date and time widget also have a thing A which has a two properties -temp and humidity. I m storing this properties value in database in value stream table.So now I want to show previous properties data on my mashup widgets led-temp, gauge-humidity by using date time widget. like when I select specified date and time in mashup then that specified time date entry value want to show on widgets.how can we do this? Thanks
I want to check if the modal popup location, that is center of the screen can be changed by any means?
As I understand it "overflow menu will be displayed when the primary navigation items use 50% of the available menu bar height", regardless of the value of "PrimaryNavMaxItems". However is there a way to disable this or customize this, maybe through the CSS?
I'm trying to execute a batch of SQL insert queries with multiple data values. I've stored the values (to be inserted) in an Infotable, iterating over the infotable and building the INSERT query statements and then making a call to "RunDatabaseCommand" service of a DB thing. Ideally, with different set of values the said service inserts the values into the DB. When one of the multiple values (at the time of iteration) has already exist, the service throws an error (DB error i.e., Primary key violation) - this is expected. However, the service execution stops at the existing entry and doesn't reach the remaining values. For example - the Infotable values (v1, v2, v3, v4 etc., ) needs to be inserted. These values are iterated, over each iteration the values are being inserted into the DB. Suppose "v2" values already exist in the DB and v3 and v4 values doesn't exist in the DB. At the time iteration execution with v1 value gets inserted. Execution with v2 values
Hello devs, What would be the easiest way to change the icon size in the standard ptc-menubar widget in Thingworx? I couldn't find it in the list of configurable properties/style properties of the widget, and didn't have luck with changing it with css. The default size is very small, making the icons somewhat unreadable. I tested three different css lines like following, but couldn't even get these to appear in the browser dev tools. If i go manually to the icon element in the dev tools and set width/height to desired values it works and looks nice, but can't get it to be part of mashup configuration. ptcs-menubar::part(root)::part(main-area)::part(items-area)::part(item)::part(icon) { height: 3em; width: 3em; } @supports (ptcs-style-unit: "PTCS-MENUBAR") { [part="icon"] { height: 3em; width: 3em; } } @supports (ptcs-style-unit: "PTCS-ACCORDION") { [part="icon"] { height: 3em; width: 3em; } } I even noticed that there is support for this in the
Can I service invoke complete to refresh to a line chart?Using ThingWorx 9.3.5
I have entry saved in Datatable and entry contains an infotable in it and i have two entries in it and i want to delete one of the version data from it which is on index 1. I have attached the screenshot also. I have written a code which is removing the infotable value which is on index 1 but i am unable to update the datatable. Can someone please see whats a mistake here. let entry = Things["TestBench_Entries_SCW1.DT"].GetDataTableEntryByKey({key:"1709798512000SCW1E-SCW-SEM-01"}); logger.info("1"+entry.rows); let values; if ( entry.rows[0].versionData && entry.rows[0].versionData.rows && entry.rows[0].versionData.rows.length > 1 ) { //logger.info("2" + entry.rows[0].versionData.RemoveRow(1)); values = Things["TestBench_Entries_SCW1.DT"].CreateValues(); values.entryTimeStamp = entry.rows[0].entryTimeStamp; // STRING [Primary Key] values.Location = entry.rows[0].Location; // INFOTABLE values.Position = entry.rows[0].Position;
I have a service which is giving me a string, but when I bringing it to the widget(Text Field) the html formatted of that string is showing up. Im using Thingworx 8.5.
I have only one entry in my datatable with 4 fields. One of the field is primary key for that datashape. Now my question is i want to update this entry but that primary key value would also be updated. Now the confusion is how can i do that? I have the service UpdateDataTableEntry and AddOrUpdateDataTableEntry but these both services creates a new entry because the value of the primary key changes too. what is the best solution in this regard should i delete the entry first and then add the new one or how you can see this problem?
Hi All,Am using collection widget, from child mashup I am storing a value in session, so that value from session can used as input for one of my service in parent mashup. Problem is able to store the value in session but unable to invoke that service in parent mashup.So could you please help me out how to achieve this. ThanksKsm
I want to focus on the textbox when we select (ON) the toggle widget
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.