Recently active
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.
dear all expert . please help me , how to automatic mail sent event how to implement steps please , i go through schedule but not clear , how to test and implement automatic sent mail event , i need script .thank you
I am using FTHistorian ThingWorx Configuration to connect Osi Pi Historian to ThingWorx it was running fine on friday but on monday it was disconnected I investigated and found the following problem.the service Factory Talk Historian ThingWorx Connector is not running and can't be started.if I tried to start it I am getting the messages in the attachment.does anybody know how to fix it?
Hi, I've used a state definition already using a different dependent field. So i can't apply for differrent field How can i highlight the row in grid based on DateDifference using css
Is there any way to make a stored procedure with nocount off work in thingworx?
Dear Thingworx community, today we deployed Thingworx 9.3.5 to a productive platform. When testing all features I noticed a bug and after some investigations I am pretty certain this is not a bug on my end but Thingworx. We have a user dedicated to run internal Services, called twxServiceUser. This user is supposed to use the local language since we print screens and send it via mail. I have checked this multiple times, reset and set the language (through script and manually in Composer), the preference for this user (in the today's case) is "de", as it should be. Also the printouts appear in German language. But when calling the Service let langs = Resources["CurrentSessionInfo"].GetCurrentUserLanguage(); by Script I get back an empty string instead of "de". So I came here / google and searched for this issue, I might not be the only one. And indeed I found a support case, last change 2019 but referring to a post from 2017: https://www.ptc.com
Hello,I need your help for a problem on my project (thingworx 9.1)1- I have a subscriber to mqtt (SubscriberThing, + valuestream to store data) 2- Received messages are parsed to infotable (ParserThing + valuestream to store data) i have a subscription on ParserThing triggred when SubscriberThing receive a new mqtt message. I log all properties of SubscriberThing and ParserThingwhen i querypropertyhistory i got a logic result on SubscriberThing (timestamp change every second en average)However, on ParserThing all data are like stored on temporary memory and after some minutes they are stored one time to the value stream of ParserThing Logically, the i should get a new row each time ParserThing triggred! but no.The graphic attached show the evolution of data on SubscriberThing. you can see that each period all data en temporary memory are stored one time. I find no explanation for this behavior! Any help
This is my current code of thingshape subscription{// then create empty infotable using the same datashapevar params = {infoTableName : "InfoTable",dataShapeName : "myownLoggedData.DataShape"};// CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(engineDS)var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);var newEntry = new Object();newEntry.value = value; // INTEGERnewEntry.timepoint = eventData.newValue.time; // DATETIMEresult.AddRow(newEntry);me.LoggedValue = result;me.LastLoggedValue = value;}}me.LastLoggedTimepoint = eventTime;
Hi members of the PTC community, I have a couple of questions regarding trying out the products and solutions of PTC. Basically, my company is exploring some possible directions for innovation, one of which is IIoT, and to verify the feasibility of the said direction we are thinking about creating interconnectivity and interoperability for the heterogenous devices in our new headquarter. Some of the products from PTC catch our eyes, including Kepserverex and Thingworx Foundation. For Kepware I can easily find the download link for the trial version of Kepserverex and it works like a charm, so I can get a grip of what IS Kepware and understand what it is for. But for Thingworx Foundation, I don't even get the foggiest idea of what IS this, as I can't find any information about where to try out Thingworx or purchase it and the only official trial link for trying out Thingworx has been shut down as early as January 2022. I have left my contact information on the PTC website and reached ou
I want an API to delete all the files present in the SystemRepository. please help me over here.
Hi, can show a mashup example on using Auto Refresh function. A 5s Autyo Refresh function is configured, but do not know how to bind it to get data refresh. ThingWorx 9.3.1-b156.
How to download trial application of Thingworx? I don't find in thingworx developer portal.
Hello Team,Some of my sql services takes much time to load and it gives following error Error : "Execution of Script terminated after : 89 seconds. Timeout configured for 60 seconds."For this I need to increase service execution time for this 2 approaches I know :1) Sql Service ---> Service Info ---> Time out Interval (sec)2) Platform-settings.json ---> define script Time-outq1) In my case we have not defined any script time-out in platform-settings.json file. What is the default timeout interval taken in this case ?q2) From Thingworx composer, how can we view service/script time-out details ? Regards,Sid
For one of our client we need to follow an architecture where Thingworx will be using Influx DB as a persistence provider. As per PTC document, Influx DB is not supported on windows machine. For internal testing purpose can we use dual boot machine and install Influx db on unix side for storing time series data and rest will be stored on windows postgre sql as Thingworx app is already installed on windows machine. Just wondering if this architrcture is possible in practical. Any thoughts would be greatful. Regards,Sid
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.