Recently active
In standard javascript one would simply do this.. let key = "somthing" let jsonObject = {[key]: "value"} But Thingworx doesn't allow this. How can I set a key using a variable in thingworx?
Hello Community, I tried finding a way to order my network entity in the network entities services but could not find anything.Do you have any ideas on how to do it? My issue is that I have a network where the user wants to be able to move nodes in the network around.But doing so "ruins" the order of the network. If I move a child node that was first in the parent node to a different parent, it will always end up at the end of the new parent node. I realize I could probably do this after the fact, when pushing the data to my mashup, but I wouldn't want it to cause any performance issues as some of my networks will get quite big. My preferred way would be to order it by name. Thanks,Jens
Hello, I want to preface this post with saying that I am not very good with Java, so please excuse any glaring rule breaking. Anyway, I wanted to try and make some company specific boilerplate snippets.I have managed to create a custom extension and I can import it into my platform correctly.However when used, it returns a function like; let ResultTypeName = doSomething(); Instead of what I am returning from the "doSomething" function. I'm certain I am doing something wrong. What I want is basically something similar to how the try/catch snippet works, or really almost any other snippet. I started with following this PTC article and also this document but felt it didn't really cover my needs.So if anyone has any other resources around this, I'd very much appreciate it if they could post them here. I'm also uploading my metadata and src file in case it is of interest. Thanks,Jens
Is there any Form Widget for creating forms in thingworx?i want to create a form with multiple rows and columns as shown in the file.
Hi!We currently have our TW server configured for SSO via pingFederate. That part works great. I now want to use some android tablets to access TW mashups on the LAN which bypass SSO. I have done the following:1. created an appKey and can set an expiry and userID to it.2. Checked the boxes in the platform system settings to "Allow Request Method Switch" and "Allow Application Key As URL Parameter"3. Added ApplicationKeySettings: enabled=true to the sso-settings.json file4. Opened an URL on the android tablets in this format: "https://<ThingWorxServer>:<ThingWorxPort>/Thingworx/Mashups/<MashupName>?appKey=<AppKey>&x-thingworx-session=true" I am still getting directed to the SSO SAML sign-in page. I can't seem to find any other documentation on how to use the appKey approach and SSO at the same time. Does anyone have any other insights? We are on version 9.3.8 Thanks!
var serviceImplementation=me.name;Things["Scheduler_Dynamic_CRON13"].EnableThing();Things["Scheduler_Dynamic_CRON13"].RestartThing(); Things["Scheduler_Dynamic_CRON13"].AddServiceDefinition({name: "hari" /* STRING */,description: "welcome" /* STRING {"defaultValue":""} */,definition:"hi welcome",});
I have Mashup with date filters. calling thingworx service to pass datetime widget input From Date and To Date.Thingworx service calls postgress function - getReportBydateFilter script to accept inputs sent by thingworx service and returns the output result as infotable. which is not matching output result (data values) returned by Postgres script function when executed in PgAdmin query editor. which shows the deviation in output values.Can you please provide a solution on how to resolve this discrepancy of data not matching.?Postgressql function - getReportBydateFilter(from_Date date, to_Date date)Date input logs from thingworx to call postgressql fucntion - From date - Mon May 01 2023 00:00:00 GMT(000) UTC,To date - Fri May 19 2023 00:00:00 GMT(000) UTC,Output - Infotable Date input when postgressql function called in PgAdmin query editor -From date - 2023-05-01To date - 2023-05-19Query editor - select * from getReportBydateFilter(from_Date date, to_Da
1.pagination load from database through mashup page ,this is sample data given in this works platform under pagination grid. 2.i want to split the sample data of 200 rows as page 1, page2, page3 ..continussally with each page 30 rows in each page?
Hi, I am using Thingworx version 9.2.3-b189, but i am not able to select any label text. I want to copy and paste the text of label in the same mashup. So please let me know who we do that. and also, please let me know is there any custom CSS code for that.
I have this problem where the LED label is blocked by the data. View while setting up the mashup Clicked on view mashup and the below is shown Anyone is able to help me with the above? i was using 28px and font bold for the label.
result = Things["someThing"].myService({parameter1: "String"}); this is not working
Hi Developers, I have a grid which I am exporting into a csv file via Data Export widget. I am using ThingWorx 8.5.There is a column (OEE) which I have excluded in Grid Configuration and I am not showing it on the screen.However, on exporting that grid data, it is coming in the excel file.I need to remove OEE column, kindly suggest how to exclude it from excel.Thanks in Advance.
Hi everyone, I am currently working on TWX 9.3.4-b1190 and I wonder, if there is a way to change the Browser tab display name dynamically. Right now, you can not bind the Title property on a master mashup and the solution provided in the link below does not seem to work for newer TWW versions. Solved: how to make make a variable title for a Master Ma... - PTC Community Best regards Markus
Hello community, I have a services Thing Hub, where a lot of devices send to this twx endpoints messages in json format. The number of post request to this twx endpoint is going to have more demand and I do different operations as data processing, add logs, set the data in the thing that represent the digital twin of the device etc... . I create this with a general thing template and I have some questions: 1. Exist any template that have a good performance to this use case? (Receive a lot of post request)2. Have I check the async check box to improve the performance?3. Exist any information about the number of request that one thingworx endpoint can have?4. Can I monitoring that number of request? Thank you in advance,Luis.
Download Path:PTC Software Download -> ThingWorx Edge SDK -> ThingWorx Edge SDK -> Most Recent Datecode -> Datecode: M070 -> C-SDK-3-0-0-2317 (42 MB).File name: MED-61061-CD-055_M070_C-SDK-3-0-0-2317.zip . Is this Edge C SDK source code? If yes, can I use it to build out twCSdk.dll (A) then replace into Edge DotNET SDK, DotNET SDK also have a tw-c-sdk folder installed, it also includes twCSdk.dll (B). Want to customize Edge DotNET SDK, thanks.
Hi, I want to change image of Value Display widget to toggle when I press the button.For example, on the first screen, "check.png" image is shown, and "cancel.png" image is shown when I press the button.And press the button again, "check.png" image is shown again.Please tell me how to handle button click events in this situation. Image is in the SystemRepository and get string path from get_check_image service in test_image Thing.And pass the string path to LoadImage service in SystemRepository Thing. Thanks in advance.Jenny.
How we can use content crawler in composer please explain using dummy examples. I have created a data table and content crawler thing can someone please explain how I can write services to call services on another entity.I am using following resources for this. Content Crawler (ptc.com) Thanks,Lavkush.
Hello all, I have designed a web mashup for a project, which has lots of widgets like lists, buttons, labels, and collections. When I view it on mobile devices, it does not load properly, if I switch to desktop view then it shows the whole mashup, but I want to stay in mobile view so I want to know if there is any way to load that mashup on mobile devices through minor changes or if I should create a new one for mobile devices and if I need to create a new one then how can I decide that user loads it on mobile or web?
Hi Community,Recently my MS Sql server was poping message that it's login password expired and I need to update it. When I updated my password, Thingworx is not starting and giving following error :Error : [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] *** CRITICAL ERROR ON STARTUP: Connections could not be acquired from the underlying database!Can anyone suggest how I can troubleshoot this error and avoid such errors in future. Thanks in advance.Attaching Application log for reference. Regards,Sid
Hi Experts, I have SSO based authentication for Mashup login and whenever timeout happens and refreshes the mashup it redirects to https:Host:port/Thingworx/Runtime/index.html instead of intended mashup URL configured in the index.jsp and user has to enter full URL again in the browser. Note: SSO is disabled while this happens.
Hello I am trying to import building blocks in my ThingWorx but can not successfully import getting another extension like mail extension imported successfully. anyone can help me? Thanks
Hi @slangley Demo Link:https://pp-2108182053lk.portal.ptc.io/Thingworx/Runtime/index.html?master=PTC.FSU.COREUI.MenuConfigu... This demo link doesn't work again, Using this link I get the following message: "Server error. Please confirm, if your portal environment is running".
I have created a network hierarchy in composer now I want to check who is parent or who is its children so for that what I have to do please explain like do I have to write the services? Thanks,Lav
If the user stopped using the thingworx pages and forget to logout means, in 5 mins the organisation page should get logged out automatically. How to do this?? (I have observed one problem that after login if the user is not using the thingworx pages for long time & refreshing the thingworx page after that means, the current mashup is not getting the inputs from previous pages(session variables loosing its datas). So at what particular time if we refreshing the page the session variables wont have data!! At that time we can trigger for automatic logout right?
Dear Community, There are dozens of devices in the lab, the device can only use sockets to connect, each device is a socket server, how to use Thingworx to connect to sockets and send or receive messages? Can Kepware connect to socket servers or need use SDK to connect? Thanks!
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.