Recently active
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.
Dear, I am evaluating Universal Device Driver (UDD) for one on-going project using socket TCP communication. I can find some examples of the profile files from following github link.https://github.com/PTCInc/Universal-Device-Driver-Examples I also studied the video tutorial from following Youtube post (Getting Started with the Universal Device Driver). But the example (openweathermap api) doesn't work.https://www.youtube.com/watch?v=RGWTfE3Yg4Y&t=5s So can I find other detail tutorial, then I can build up an end-to-end example? Thanks
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.
Hello, we do a lot of development on an Allen Bradley PLC and had the question come up wondering if there is a way to read or write to the Device Level System Tags (the ._System tags) that you see in OPC Quick Client. Are there any examples or is there a way to do this? This is a 1756-L72 ControlLogix 5570 with revision 32.11 and using KepServerEx v6.10.659.0, basically the thought is can I create a tag in the PLC that can write to or read to a particular ._System tag? Or anyway to read all of the ._System tags on the PLC side?
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, I am quite new to using Kepware so sorry if there is a super obvious answer to this question. What are some ways a PLC can know that it has lost connection to Kepware? In one of my projects we created a handshake between Thingworx and the PLC to ensure that the PLC would know that the data had been saved on the Thingworx side.I also read about some OPC UA status codes that should be sent if the connection is lost.Is this what should be used? I have tried to find some information about this on google but haven't really had much luck, so any help would be highly appreciated. Thanks,Jens
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,We are attempting to activate new license based on updated sales order, but license generation is not working.During activation process, there is now a prompt window to enter credentials, which didn't happen the first time. Team is continuing to see this. Requires input for credentials, but the credentials we have on file are not working.Team has also tried to create a new user under the administrator group, but we are still unable to log in.
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
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.