Recently active
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
Hi, I'm getting the same issue. I´m using this image Tomcat9 Is there any update to solve this issue?
Hello Pai, Could you please elaborate how we can achieve this by State based formatter with an example. Thanks KSM
Hi,I have a main mashup which has some widgets. I added a button in main mashup which is for popup mashup. when I click on that button, a popup mashup is getting populates. In popup mashup I have a dropdown widgets which I bind with the Things service like GetImplementingThings.So now I want to know how can we get back to main mashup from popup mashup after selection of thing from dropdown? Thingworx version-9.3.9
Hello Folks , I am not able to find Thingworx 9.5 release notes on ptc support site. Can anyone please share the release notes for it if possible. Thanks
Hi, How to redirect users from accessing the Navigate Home landing page, I have an alternate mashup created and whenever user tries to access the default landing page by URL or any form, I wish to redirect to the alternate one. great to see answers,...John
Dear Team,I hope you're doing well. I'm reaching out to let you know about an issue I encountered while trying to access the .NET SDK resource for ThingWorx on the PTC Support site.When I clicked on the link provided (https://support.ptc.com/appserver/cs/software_update/swupdate.jsp), I got an error message saying:"Access Denied - Insufficient Privileges A problem was encountered with your web account. Please contact eSupport Help Community to resolve this issue. We apologize for any inconvenience."Since this resource is essential for my ThingWorx training, I'm kindly asking for your help in resolving this promptly. Could you please grant me access to the .NET SDK resource or assist me in obtaining it?I would greatly appreciate your prompt attention to this matter.Thank you,
Hi, I have created a custom widget for TWX using eclipse. i have created a property in ide.js file and in runtime.js i have function which gives a base64 value of an image as output. how can i update the property value with this variable value. I have tried using this.setProperty() to update the property value, and the updated property value is displaying in console with this line this.getProperty(propertyname) after this.setProperty() line, but not changing if i bound the property to some label widget to check the change.
Hello I am trying to upgrade thingworx but it is failing with following errors Error executing action `run` on resource 'execute[upgrade path installer running db scripts: "D:\PTC\ThingworxFoundation/thingworx/update/update_mssql.ps1"]Mixlib::ShellOut::ShellCommandFailedAny help would be appreciated.Thanks
How to execute a thing service automatically in every time interval(10 second)by using subscription.
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.