Recently active
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.
The platform log shows that Thing[xxxx] is not running. In this case, all services in this thing cannot be executed successfully. If any service log in this thin thin is executed, this error will be reported. Maybe it will recover on its own after a while, or maybe it will have to be done by restarting Thingworx. Can't find the reason? Is it possible that the service takes too long to execute or is called too frequently as an interface, leading to the exhaustion of memory resources, has anyone else encountered similar problems, and further in-depth analysis to reach a conclusion and solution ?
we can get thing properties with java sdk like blow,InfoTable table = Client.getClient().readProperties(RelationshipTypes.ThingworxEntityTypes.Things, "F1_FL_Alarm", 8000);it inherit from remote thing,but i don't need inherited properties and i don't want to exclude this inherited properties by myself ,is there any other way to resolve it?
Hi Community Team, I am using state based formatting in Pie chart to show the colors, earlier it was fine but since past few days the colors are not coming for some fields, but for certain inputs. But for one input all the colors are coming fine.For eg : For Hot Mill, Production is coming as white but for SMS Cold Mill it is showing the right color.
For a gauge widget there is a valueDisplayMode property that shows the value. I have set this to inside. The value is shown within a rect element as shown below. I was wondering if there is a way to make this bigger. I found the css to do so but it is within a Rect element that I cannot access in composer custom css. The reason is because there are multiple Rect elements with no identification associated on them at the same level as this one. Below is the element info in chrome tools. If I change the highlighted Rect height/width/x/y, this will work. The issue is that I cannot find a way to do this from composer. Alternatively, if there is another way to achieve this, that would probably be even better.
Hi I am able to view the order list in the htmltext area. I have admin / composer access.But for mashup read only users cannot see the order list. Ex - <ol type="i"> <li>Machine fixing</li></ol> displays like below to me but not for other users, They can see other data in the same screen.
Hi Is it possible to execute a .exe file in the SystemRepository of ThingWorx 9.3.8. If yes, how to do it? Thanks in Advance...
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?currently i set another primary key and just updates the value with this hardcoded primary key. const serviceName = "AddOrUpdateWaxingCan"; const LOG_PREFIX = me.name + " :: " + serviceName + " :: "; logger.info(LOG_PREFIX + "Start Service"); let waxingDatatableEntries = Things["QGate.WaxingCan.DT"].GetDataTableEntryCount(); let dataTable = Things["QGate.WaxingCan.DT"].GetDataTableEntries({ maxItems: waxingDatatableEntries }); let dateNow = Da
Hello everyone, I wanted to check if other people also have the same issue where you get the prompt to login (Chrome prompt similar to this): to the composer but after pressing sign in with correct information, the popup will come back at the very least one more time and you have to press sign in again. This keeps happening even though I am sure I have the correct username and password saved in the chrome "wallet". I know others in my company also have this issue, so it would be nice to know if it is an issue within our company or if others also face it. Thanks, Jens
I have uploaded a blf file in Repositry but when i click on it i download it as file with name fileRepositryDownlader. My QUESTION 1) When i download a file. It needs to be the same file blf type file which i have uploaded it. (My major requirement is that i want to download it from mashup.) 2) When i click on file in mashup it needs to show me the file content same as we open PDF in mashup. ABOVE file looks when i download it below you can see in mashup it shows like that.I have uploaded it manually in fileRepositry.
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.