Recently active
I followed the instructions in the link below to add pagination to grid advanced. It works. https://www.ptc.com/en/support/article/CS311123 I typically add the following code to add query to grid advanced. if (query) { result = Resources["InfoTableFunctions"].Query({ t: result /* INFOTABLE */ , query: query /* QUERY */ }); } For the paginated grid advanced, I tried the code below to match the output infotable, but it's not working. Is there a way to add query to a paginated grid advanced? if (query) { result = Resources["InfoTableFunctions"].Query({ t: result.Data /* INFOTABLE */ , query: query /* QUERY */ }); }
I was trying to create a Gauge in the mashup for which I cannot bind the input values, No error is showing in the log! Can anyone help me on this!
I would like to understand limitation about Local Account on Thingworx Application 9.3.2*Thingworx SCO Enterprise Package License , How about user account per license?- Admin Limited??- User Limited?- User Group Limited?
Hi, How to add UserSessionShapes in User Management Subsystem programmatically. I'm using the below code to update it // table: INFOTABLE dataShape: "" let data = Subsystems["UserManagementSubsystem"].GetConfigurationTable({ tableName: "UserSessionShapes" /* STRING */ }); // Provide your filter using the format as described in the help topic "Query Parameter for Query Services" let query = { "filters": { "type": "And", "filters": [{ "fieldName": "name", "type": "EQ", "value": "MYSHAPE" }] } }; let params = { t: data /* INFOTABLE */ , query: query /* QUERY */ }; // result: INFOTABLE let sessionData = Resources["InfoTableFunctions"].Query(params); if (sessionData.length === 0) { data.AddRow({ "name": "MYSHAPE" }); Subsystems["UserManagementSubsystem"].SetConfigurationTableRows({ values: data /* INFOTABLE */, persistent: true /* BOOLEAN {"defaultValue":true} */, tableName: "UserSessionShapes" /* STRING */ }); } var result = data; When I e
Hi All, I have a lot off error messages in application_log like : Unable to dispatch [ uri = /Things/PersistentSession124f3131-c19f-461d-b5ac-0bf932cadad1/Services/AddDynamicRemoteSubscription/]: Unable to Invoke Service AddDynamicRemoteSubscription on PersistentSession124f3131-c19f-461d-b5ac-0bf932cadad1 : Not authorized for ServiceInvoke on ForwardEvent in PersistentSession124f3131-c19f-461d-b5ac-0bf932cadad1 And this: error executing APIRequest Message: Not authorized for ServiceInvoke on ForwardEvent in PersistentSession124f3131-c19f-461d-b5ac-0bf932cadad1, sending ERROR ResponseMessage to caller! I did find the CS386233 and tried the solution , i did change the permission on User level and UserGroup level only the error messages still come in the application_log. anyone got an idea how to fix this.We use TW version 9.3.8. Best regards,Emiel
To make a simple IoT we need 3 things1 Device- Which we will be connecting with the cloud.2 Gateway- To provide a safe path to transfer data and services to cloud using protocols.3 Cloud-These will be used to store data and display it using a dashboard. I want to know whether these sequences are correct or notDevice = PLCsGateway = KEPServerEXCloud = ThingWorx
Hello There, i have an Infotable that contains a nested infotable. Let's call them parent and child infotable. I'm able to add anything to the parent and update if i want. For the child infotable i'm somehow limited. I'm only able to add entries with AddRow() but update is not possible. This is the code i'm using for testing that: // check if an entry already exist and apply to the variable named project let project = Things["test.outer.DT"].QueryDataTableEntries({ query: { "filters": { "type": "And", "filters": [ { "type": "EQ", "fieldName": "timeStamp", "value": timeStamp }, { "type": "EQ", "fieldName": "position", "value": position } ] } } /* QUERY */ }); // create empty holder for the outer DT let values = Things["test.outer.DT"].CreateValues(); // create empty holder for the inner DT let versionData = DataShapes["test.inner"].CreateValues(); // create empty holder if no entries exist at the inner DT let innerValues = new Object(); // check i
Hi I'm following this guide to develop a custom extension - ThingWorx Extension Development Guide (ptc.com) When I try to debug an extension from Eclipse I'm getting the below error I have added the below Java options in tomcat -agentlib:jdwp=transport=dt_socket,address=*:8000,server=y,suspend=n Tomcat Service : [Unit] Description=Tomcat 9 servlet container After=network.target [Service] Type=forking User=tomcat Group=tomcat Environment="JAVA_HOME=/usr/lib/jvm/jdk-11.0.11" Environment="JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,address=*:8000,server=y,suspend=n -Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true" Environment="CATALINA_BASE=/opt/tomcat/latest" Environment="CATALINA_HOME=/opt/tomcat/latest" Environment="CATALINA_PID=/opt/tomcat/latest/temp/tomcat.pid" Environment="CATALINA_OPTS=-Dserver -Dd64 -XX:+UseG1GC -Dfile.encoding=UTF-8 -Djava.library.path=/opt/tomcat/latest/webapps/Thingworx/WEB-INF/extensions" Ex
Hi all, I'm facing an issue with Date Time Picker widget that auto converts the picked time (e.g. 03-08-2023 00:00:00 GMT+2) to the GMT 00 Time (e.g. 02-08-2023 22:00:00 GMT 00). And because I'm in Germany this is can be solved by statically adding +2 to the selected datetime, but it has to also check the so called Daylight Save Time that sometimes can affect the time shifting between GMT+2 and GMT+1. Applying getTimezoneOffset() won't work because it's already converted directly to GMT 00 (UTC) which means applying getTimezoneOffset() will always return 0. Is there a way to avoid the timezone conversion between the Date Time Picker widget so that if my customers from all over the world select 03.08.2023 00:00:00 on the Date Time Picker widget it will be also understood and processed further as 03.08.2023 00:00:00 GMT 00 no matter where they are, and regardless the Daylight Saving Time that may vary.
Hello Community, I wanted to set localization on my grids filter hint in 9.3.5, however there doesn't seem to be any way of doing this.Am I missing something or is this just missing functionality? Thanks,Jens
Hello all, So I have been trying to write some HTML to open a popup from the HTML widget.However this has not been going so well. I can easily make a link to "change" the website I am currently in, but can't seem to get it to open as a popup... Here is the HTML string I have tried:var htmlString = '<a href="https://url.com/Thingworx/Runtime/somemashup" ' + 'target="popup" ' + "onclick=\"window.open('https://url.com/Thingworx/Runtime/somemashup', 'popup', 'width=600,height=600'); return false;\">" + "Open Link in Popup" + "</a>"; I have a strong feeling that it might not be possible, so for now I guess I'll try to find a way to use a button or something to trigger a navigation function instead... Thanks,Jens
Hi all, Currently i am using a styletheme for my work. I would like to check if there are anyway to also customize/privitize the shapeStyle as it is a default option shared among my colleagues and they sometimes accidentally edit it. Let me know how i can go about doing it. Thank you.
Dear community, I am looking for a solution where by i can change a word based on a change in another field. exampleWhen the square is green, the label shows "is working". When then square is Blue, the label shows is not working. Hope someone can guide me step by step on how to do it.
Calendar date and weekday are not matching when Italian language is selected. Calendar is good with English language.Attached Italian Calendar snapshot, L = Lunedì = Monday apr 11...this is wrong..11th April should be Tuesday.Also attached English calendar for reference.ThingWorx version ThingWorx 8.5.6-b110.
I am currently using version 9.3.8. My mashup has a "Bar Chart (ptcschartbar)" that is loaded by an infotable containing values with thousands separator and decimal places. The widget has a property - ValuesTooltip - with the value of "BarChartDefaultTooltip" which in my localization table (pt_BR) has the value of "${label}, ${series}: ${value}". How can I change the format of the ${value} field to my language (Example: 123,456.78)? The attached figure shows the value without formatting.ps. In my previous version (9.3.2) I used a "Label Chart" and the tooltip was shown with the correct format (attached figure too).Regards,
Which version of windows(windows 2019, windows 2022) in supportable for Thingworx 9.3/9.4 installation.
Hi everyone,I want to create a dashboard that shows the statistic of unique visitors visit and the duration of it on certain Mashup. Do you have any idea to implement this? What I have in mind is:> Creating a database that records the visitors name and current time and everytime a mashup is opened> And also record the current time when a mashup is closed (which I'm not so sure whether this is possible or not)Anyway feel free to give me your idea! I'm looking forward to your ideas!
Hi, I can see the below(Merge and Duplicate), in the Layout section, I am not sure what is its original use, and how can a Developer take advantage of it. Thanks,
Is there a way to programmatically duplicate an entity? It seems some entities don't have thing templates, so they cannot be created with a thing template.
While filling up the Spreadsheet(Equipment) there are no columns for the Equipmenttypeuid and when I am trying to run that query without that column , error is coming that Equipmenttypeuid cant be null.Can someone help me regarding populating the Data in DB.For the PTC Guide reference --> https://support.ptc.com/help/thingworx_applications_setup/r1.0/en/#page/applications_setup/Common_Config_Process_JSON_File.html#
In order to deploy localization tables as packaged project entities (using Solution Central) we have to create our own localization tables (instead of using the existing "Default", "de" etc.) as described in case CS364402 https://www.ptc.com/en/support/article/CS364402 We create a second table for an existing langague. We have to add arbitrary information to make it unique for the project: "de-pr1" instead of "de", since "de" exists. (To evade the duplicate Thing name problem) Now "de-pr1" is still referencing the Default localization table (contradicting our intention behind all this)How can I change this? If I look at the Composer view of the newly created LT (picture) I can see the "Reference Locale"-Dropdown on the top right. I can chose from all LTs, but this is not an option I can save for the LT. I would like to create an "en-pr1"-Table that is referenced by "de-pr1" and never explicitly write into Default. What would be the recommended way to achi
TLDR: Don't use a field name called "location" in your DataTable to save values of the datatype location. Just call it something else. I have been trying to store some data in a DataTable and run into an issue where whenever I try to retrieve the location field, it would always be 0,0,0. This was very confusing and I was clearly not the only person, here is an old post with a false solution:https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-store-location-in-a-data-table/td-p/513471 The problem lies in the fact that when your datashape has a field definition called "location" of datatype location, then you are duplicating the internal field definition of a DataTable. Below is a screenshot of the default field definitions and you will see that there is a "location" field in there.Just change your DataShape to use a different field name (other than "location") and you should be fine.
Hi All, I keep getting this error: 'Error on server ' when I attempt to save permissions on a template whose children have remote connections. Is this a Thingworx error? Or perhaps is there some sort of security feature for remote connections that does not permit a user to save permissions on a template that has remotely connected children? Regards,
Hi, The application Log gets multiple times a minute this message:"Failed to dispatch the event. Invalid Thing in the Event or Thing got deleted Type.Thing:Entity.PersistentSessione1f7a041-a8fd-46f2-90f3-7f7bb03fa880:Event.AnyDataChange:PersistentSessione1f7a041-a8fd-46f2-90f3-7f7bb03fa880" Does anyone know where to look for a cause?, the information in de Warning doesn't tell me where to look. Origin says: c.t.s.s.e.QueuedEvents + Thread: websocket background processing + User : SuperUser Best regards,Emiel
Hi,we are using samsung tvs to view dashboards made with thingworx.Our TVs are now not loading the mashup anymore and are getting the error "internal exception 1".The mashups can also not be viewed in the designer.The cache has been deleted and everything that can be resetted has been.We are using the version 9.3 Regards,Thorben
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.