Recently active
Hi Team,I need to create alert for my Thingworx application which will be generated if the native communication between Kepware and Thingworx is down, In my case Kepware is up and showing Good values but due to some reason Thingworx side Kepware connection ( Industrial Connection) is showing "isConnected" property value as false and last connection was 3 days before. So need to develop some alerts which can automatically notify client whenever such incident occurs in future. Thanks and Regards,Sid
Hi Everyone,Please provide some project resources which I can do in Thing Worx composer.I am a beginner in Thing Worx. I do have Thing Worx composer tool. Thanks,Lavkush.
Hello community, I wanted to try out creating a custom widget so I installed the latest Eclipse version 2023-03.I also downloaded the latest Eclipse plugin (9.0.1) and Thingworx extension SDK (9.3.0) and installed the plugin and used the SDK when creating the project. Now for the JRE I am not so sure.It says in the guide to use JRE 1.8. But I am not sure if I am actually using it.If I use the "Use default JRE 'jre' and worspace" option:And I have configured it like this:Is it using JRE 1.8? If I then create the project using these settings and try to add a new widget to the project:I get this error:Error log:(Here you can also see a bunch of other errors which I don't know if they are related or not). Now, I still do get some widget files in my project:So maybe it's OK? Creating other entities, like templates and script function libraries seems to work fine. At least they do not throw any errors. Any ideas?I will test the widget guide to completion next we
Hello, We have faced a little bit strange issue in one of our grids on 9.3.5.When we select a row in the grid, the data that we select is not actually what we have selected: Lets say we select a row with item "A" and then we pass this row into a service.Checking the dev tools for the payload shows us that the row we selected actually contained item "B". We have faced a similar issue before, but I think at that time there were some ghost entities causing some issues.However this time we can not see that we are in the same situation. Has anyone faced this issue before? Thanks,Jens
Hello Bhawna, I have just started learning Thing Worx application I am a beginner don't have any Idea from where to start learning Thing Worx. But Currently I am learning different tools in Thing Worx like Thing, Thing Template Mashup etc... from the documentation section of Thing Worx which is ThingWorx Model Definition in Composer (ptc.com)) I do have a Thing Worx Composer ide, from where I do hands on, but it doesn't have analytics extension tab in it or maybe they haven't given permission for me now the questions which I want to ask, 1. Do I have to ask them to give permission for analytics extension tab into my Composer? 2. Can you please suggest some project which I can do in Thing Worx Composer? 3.Can you please suggest some video from where I can learn in a structured way? Thanks, Lavkush.
Hi all.There are a limit of number of properties that we can see in the window of Composer, max. 250 bound properties.Is this configurable or is the maximum that we can see in the Thingworx Composer??
Hello everyone, I noticed some "strange" behavior while trying to add entries into a data table.I have a large JSON that I am converting into an infotable to do the entry. However it seems like the key value that is in my datashape contains some duplicates.The JSON looks something like this:{array:[{key: 'A'}, {key: 'A '}]} Now, as you might be able to see, the second object in the array has a key value with a trailing blank space. To me, these two are not equal, however it seems like when using the AddDataTableEntries service, it sees this as a duplicate. And also when trying to add rows manually using the data tables "mashup", I can also not add both 'A ' and 'A'. I'm not sure if this is caused by something on the platform side seeing this as equal, or if it is something on the DB side, so I wanted to ask here to see if someone has had similar issues. It seems like it doesn't just skip the duplicate either, instead it just stops the addition of
Hello, I have a situation where I have an application "header" in a mashup, like so:As you can see, the header is not really centered.This is due to this hidden dropdown: At the moment I have set the container that the dropdown (and button) are in as fixed width. This is because if I set it to responsive, the application header moves around as its container is growing and shrinking. So basically what I want to accomplish is to have the header in the center of the screen in general regardless of what happens to the other widgets. I realize this might cause some issues for people with smaller resolutions, but I hope it would be OK. Hope to get some feedback on this. Thanks,Jens
Hello, I am trying to use two radio button widgets in a mashup on 9.3.5.I have set them to the same Radiogroup:And I feel like I am missing something super obvious, but shouldn't I be able to know which of the buttons in the group I have selected? Otherwise I'm not sure I see the reason to group them... For now I'll just use the "Generic Radio Button" widget instead. Thanks,Jens
i have services code but how to implement schedulers me.SendMessage({ cc: "xxx@gmail.com" /* STRING */, bcc: "yyy@gmail.com" /* STRING */, subject: "this well"/* STRING */, from: "zzz@gmail.com" /* STRING */, to: "hariharasuthan@yahoo.co.in" /* STRING */, body: "this is verywell" /* HTML */});this services was running e-mail but i need (hour,day,week,month,year) this based how to implement schedulers concept
Hi,I am trying to run Thingworx Integration Runtime but it is not able to connect to the Thingworx instance.After running the below command from cmd:-"java -DconfigFile=integrationRuntime-settings.json -jar integration-runtime-8.0.12-b1455.jar"I can see the service trying to start but then at the end i get the message "Endpoint not connected", which it attempts to reconnect but never connects.
Hi, #1. Updating a remote bound property writes its property value to data tag of Kepware #2. Updating the data tag writes value to the bound property Will the #2 trigger #1 one more time ? for exmaple : DataTagA get changed causing PropertyA get changed , and this changes on PropertyA send to kepare and change the DataTagA again, will it happen ? Regards, Sean
Hello Is there a way to Load image from media entity in the service? Thanks
Hello I am using advanced grid widget to show my data over the mashup. I want to highlight my rows based on the selected values in column. Can anyone tell me if this can be achieved using custom CSS? Thanks
Hi Team,We have a requirement to encrypt our custom code and then deploy it in another machine for security purpose. For this I built an extension using java eclipse code as mentioned in following link :https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Best_Practices_for_Developing_Applications/EclipsePluginCreatingAnExtensionProject.html# But when I imported my custom extension, I can still see my custom code in another machine. Please guide me to avoid such scenario. Attaching you screenshot of Sample Project I created for testing.Steps followed: 1) Created Sample Project in machine 1 and exported zip file of source control entities.2) Eclipse--> New ---> Thingworx Extension Project3) Created New Folder under Project with name as Entities and pasted all folders of Source Control entities in this folder Entities4) executed ant-build command to build extension project.5) Go to directory where built file is created and import it in mach
Greetings! I have an API endpoint that fetches data from an external Oracle database that I have developed in Thingworx. Naturally, it utilizes the Database Thing, on which are 2 services: a Local (JavaScript) service for the endpoint's business logic, and a SQL (Query) service that executes the query against the external database using SQL that gets defined in the JavaScript service based upon the values of the input parameters that are passed. For example, the endpoint can be called to fetch user information by passing EITHER an ID number or an Email address, and the SQL is adjusted accordingly before the SQL(Query) service is called to execute it. Overall, the endpoint works well. The challenge I am facing is that I want to trap for specific Oracle DB errors, and since I'm passing my SQL query off from the TWX Local (JavaScript) service to the TWX SQL (Query) service, I "lose" the Oracle error object and instead get a generic JavaScript error. To be more specific, I u
Hello, I am getting the image in thingworx service from the windchill system. For e.g - "https://<Server_Name>/Windchill/images/000001/000001/000001/Chair.JPG" So I have created datashape with field as ImageLink as its base type. When I am trying to show in grid advanced, it is not showing me that image. But When I am opening that link in new tab, I am able to see that image in that tab. Please let me know if anyone faced this issue. Or how to show into the grid Thingworx Version - 8.5
Hi all, I am using a line chart for representing a boolean graph, I am sending 00:00 hours as my start and end date. When I select the date from 1st Feb to 28th Feb, the last data shows 27/02/2023 22:59:18 UTC time, the condition is 1 (High signal) and went low at 27/02/2023 23:45:19 UTC, but this low signal is not shown on the graph. When I extend the date till 4th March, the same thing happens for the 4th March data and the continuation signal is formed for the 28th Feb data. How can I get all the data points plotted on the graph? Note: The maxItem is set to 50000! Thank you,Divya!
How to install Analytics Extension in Thing Worx composer
I do noticed that 'Override' checkbox is auto checked in properties that are bound on Things. Screenshot below.I want to allow Property defined in Thing shape to be overridden in Things.(Similar to what we do for services by checking "Allow Override")Usecase - Property 'ShiftName' defined in Thing shape in NOT 'Read Only' but for few specific things using this thing shape I want to make it 'Read Only'.
I've hit a wall with this. I've been trying to get the wrapper service that I wrote to work for a non-Administrative user for 16 hours now. It's always been the same problem. Something about the AddStreamEntry() service inside of my wrapper is causing problems. I've come to the conclusion that there is some hidden permission that I need to put in place for regular users, because Administrative users have no problem with getting the wrapper to work. Here's the wrapper service in question: Inputs: string command; string pointer;// result: INFOTABLElet values = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({ infoTableName: undefined /* STRING */, dataShapeName: 'MasterChildStreamDS' /* DATASHAPENAME */});values.Command = command;values.PointerData = pointer;me.AddStreamEntry({ //This is the line the ScriptLog points at for the error sourceType: undefined /* STRING */, values: values /* INFOTABLE */, location: undefined /* LOCATION */, source: undefined /* STRING */, ta
I have a service which is working.Have a timer, which starts this service once per year.When in "Run as user" I use user from different project - it works perfecly.When I create new user, adjust permissions - I receive this error:Message ::TypeError: Cannot call method "PostMultipart" of null I try to log table variable- have data inside, at both usersI try to log url - is correct, at both users. Line where I have error: var params = {partsToSend: table /* INFOTABLE */,url: url /* STRING */};var newVar = Resources["ContentLoaderFunctions"].PostMultipart(params);
I have a client that has thingworx platform and analytics. He wants to install using docker. For the thingworx platform there is documentation. But what about Analytics? I didn't find anything about it. Will I need to do this process manually or is there any way to get analytics installation inside platform docker?
I'm trying to fetch data from PostgreSQL database. Query, select entry_timestamp + interval '30 minutes' as offset_timestamp, entry_timestamp from sensor_data I'm trying to pass 30 minutes from Thingworx input. select entry_timestamp + interval '<dynamic>' as offset_timestamp, entry_timestamp from sensor_data How to do that?
Hi Developers, I have a Navigation function where target mashup is dynamically binded and is coming from previous mashup.Now i need to send few parameters to target mashup but since it is dynamically binded, mashup parameter of target mashup won't appear.Kindly suggest. Also use of Session parameter cannot be used here.Thanks In Advance.
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.