Recently active
How to Enable Extension in Thing Worx 9.3 Step by Step? Translated by the Community Moderation using Google Translate ----------------------------------------------------------------------------------------------- Como habilitar Extensão no Thing Worx 9.3 Passo a Passo
Hi,We want to have clickable button over images in our mashup. We can use z-index and transform etc.. css properties to achieve this, but the layout would break if we try it on different type of devices tablet, desktop, etc...Is there a good way to achieve this.
Good day Community, I have a stream and I write to this stream in serviceA. The stream has a field of type infotable. So when adding a row to the stream in serviceA, I do not add anything to the nested infotable yet. I have service B where I intend to write to the nested infotable. This is my code: let Stream = Shaft_Name; // result: INFOTABLE dataShape: "" let Stream_Data = Things[Stream].QueryStreamEntriesWithData({oldestFirst: undefined /* BOOLEAN */,maxItems: undefined /* NUMBER {"defaultValue":500} */,sourceTags: undefined /* TAGS */,endDate: undefined /* DATETIME */,query: undefined /* QUERY */,source: undefined /* STRING */,startDate: undefined /* DATETIME */,tags: undefined /* TAGS */}); let Updated_Info = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "ShaftSinkingCycleDelayInfo_DS"});let len = Stream_Data.length;let Activity_Unique_Id;let Delay_Info; for(let i=0; i<len; i++){//Looping through the s
I have added infotable property in userextensions. When iam updating every index of infotable, this folloeing error is poping up. How to update each index of infotable rows which is already created in userextension.Error: JavaException: java.lang.ClassCastException: com.thingworx.types.InfoTable cannot be cast to com.thingworx.types.collections.ValueCollection
What's needed on the Advanced Grid is someone at PTC to RECODE the "RESET" attribute. I expect RESET to "reset" the grid back to its original DEFAULT state. That is, after all, what the word RESET means! [RESET(Verb) - To set back to the initial state.] If it had no rows selected when you first arrived at the grid, then triggering the RESET feature "SHOULD" return it to the initial state. If one or more rows are selected by default, then the grid should return to THAT state instead. It makes absolutely NO sense whatsoever that you don't have this feature built into the grid in the first place! AND...that feature should be very intuitive to find and use. You have it on other widgets...why not the grid? The only way to clear a selected row is to refresh the browser. And that is unsatisfactory. Forcing someone to set up and/or use a filter service just so they can clear a selected row is also just plain silly, especially w
The UserManagementSubsystem has Session Management Settings where we can set the "Idle Session Timeout (min)". My use case requires redirecting the user to the login mashup screen when the idle session timeout expires. As far as I can tell, I don't see the redirect URL to configure the same in ThingWorx. Could you please share the code snippet for this scenario?In ThingWorx, even though the mashups are active, the session expires when the session timeout is reached. Does ThingWorx behave this way by default? I want to implement the timeout in such a way that only the session expires if the system is idle for the set period of time.Thanks
Data, Properties, Explore, Widget, Layout Panel is not visible in Thingworx. Can anyone please help me out here. I already tried restarting the tomcat.Thingworx version is : 9.3
Hi! I'm trying to get all the entries from one Stream Thing and transfer them to another. My code looks like this: new_entries = Things["TemporalStream"].GetStreamEntriesWithData(); var params = { values:new_entries }; Things["MainStream"].AddStreamEntries(params); I'm getting the error message :: Wrapped java.lang.NullPointerException - See Script Error Log for more details.Could someone please tell me what I'm doing wrong?
For the american eastern time zone, the UTC Offset is -5:00 during standard time and is -4:00 during daylight saving time. For this year, Daylight Saving time started at 2:00am on 3/12/2023 and ends at 2:00am on 11/5/2023. So, I expect that this service should return -4:00 for this time period and -5:00 for all times before and after those dates. However it actually returns -4:00 between 3/11/23 9:00pm and 11/4/23 9:59pm. So, it's like the service thinks that DST starts at 2am UTC, instead of local time. So, to figure the offset it converts the given time to UTC and if it is between 3/12 2am UTC and 11/5 2am UTC it returns -4:00. Here's a screen shot of the service:Am I correct in thinking the service doesn't work properly? Thanks,Steve
Good day Community, I have an Info table that stores the sales of fruit a day. See (MyTable.png)<MyTable> I want to add the number of fruits I sold each day then reorganize my table to that the day that has the highest sales can appear at the top of my list, and the day I on which I had the least sales should appear at the bottom of the info table. See the image below: I've written up a piece of code, however I have hit a wall because the sum of the sales per day is not correct. How can I fix this:let Total_Sales_Per_Day = 0;for(let c=0; c<Fruit_Names.length; c++){//the column names from the inputFruit_Input = Fruit_Names[c].Fruit_Names;Value = MyTable[Fruit_Input];Value = parseFloat(Value);let Total_Sales_Per_Day = Total_Sales_Per_Day + Value;}let result = Total_Sales_Per_Day Regards,
I'm currently using the following lines to create an infotable from json: var json = { rows: jsonData.run_history, //an array of objects dataShape: DataShapes["SomeDataShape"].GetDataShapeMetadataAsJSON() }; /////////////////// //Loads json data to an infotable var data = Resources["InfoTableFunctions"].FromJSON({ json: json }); I'd like to add more data from jsons to the infotable, but the FromJSON service replaces the previous data. Is there a service that adds JSON data to the infotable? Kind of like .AddRow? I'd like to avoid using a for loop to add each row one-by-one as there are many rows. Also, is there a limit to the size (MBs) of the infotable?
Is it possible to connect ThingWorx with PLC without using kepware? If yes, what is the best way to do this? Translated by the Community Moderation using Google Translate É possivel conectar o ThingWorx com o PLC sem usar o kepware ? Se sim Qual a melhor forma de fazer isso ?
We have established a connection with opcua via Kepserver and we created a industrial thing and from that we created a remote thing. After creating remote thing if we press refresh the data use to be updated.I connected the thing to Label widget in vuforia studio there also the real time data was available. But after doing all this if I click the save button of remote thing once more it will stop the data pushing into studio and also data refreshing. I got the error in kepserver as shown in image. (error pushing property updates to thing). even i tried by writing services still the thing is not refreshing. If we create new remote thing it will work fine until I press a save button on second time. Is there any solution to overcome this problem. Help will be appreciated.
Is it possible to programmatically create a Scheduler in thingworx 8.5.3? I saw the following article, but I don't see this template in 8.5.3. https://www.ptc.com/en/support/article/cs382629 I'd like to create a mashup where users can schedule email reminders for preventive maintenance. The emails will be sent out to the users on the scheduled date/time. In order to implement this, I think I need to be able to create a scheduler programmatically, where the subscription on the scheduler would be created automatically as well.
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!
How to make mashup data update in ThingWorx with no external equipment just the platform? Translated by the Community Moderation using Google Translate ----------------------------------------------------------------------------------------------- Como fazer os dados de mashup se atualizarem no ThingWorx sem equipamento externo somente a plataforma
Hi,I'm very new to RTPPM installing & configuring the Core Setup. Im trying to install RTPPM in my development server for exploration. I have successfully installed the RTPPM with guidelines available in manufacturing apps site but in Core Configuration Im facing issue while executing the SQL query. Kindly find the attached image. Also I'm not sure about the demo data which i have prepared in excel sheet. Do we have any detailed steps available for the core setup preparation/ any demo data filled sheets for refernces based on the tabs? Using,TWX Version : 9.3.7-b1432RTPPM Version: 2.0.2 Thanks & Regards,Arun C
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
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.