Recently active
Hello All, I am working on DPM and have uploaded the default excel file which we get from github name is DPM sample 1.2.14. In Performance Anaysis page >> waterfall model >> timeloss trend i not loading PFA
We are fetching almost 2k-3k rows data from datatable to populate in grid. It takes around 1 minute to populate data in tree grid. We also using data filter to filter data from datatable, it takes another 1 minute to filter data from datatable and to populate in grid. How to reduce the time when multiple users fetching data at same time in production environment.
Hi all, I have a case where I want to query a lot of different property histories, do some calculations from the history, and create a report from it. For my specific case, it simplifies the process of creating a clean report if I just loop through the list of properties and query each one individually (typically like 30 or less properties total so nothing crazy). I am curious about whether doing this and calling several queries will cause any performance issues or database access problems. I tried doing it all in one query, but it is much simpler to get the data specific to each property and then perform my calculations in individual queries. The speed of my service is fine, so really just wondering if there are possible issues I haven't considered with this approach or if this is okay practice. Thanks!
Hi all,My mashup is completed and working, that is until I tried adding a new function.Currently I have a service that provide data to the bar chart and have my seriesclicked and selecteddata binded to another barchart which works, it takes in the x and dataField of the first barchart. The problem occurs when I try reading the x and dataField of the chart in the same service that provide the data to the chart.Now my Mashup have loading error only on the chart, and only when I try to read the x or dataField of the input infotable. Any advice is greatly appreciated!
Hi Community, I'm trying to run integration runtime with logback.xml. When I run below command in CMD java -DconfigFile="integrationRuntime-settings.json" -Dlogs.includedLogback="logback.xml" -jar .\integration-runtime-8.0.14-b100.jar Throws an error logback.xml file content <?xml version="1.0"?> <included> <property name="logs.dir" value="C:\\ThingworxStorage\\IRlogs" /> <property name="logs.uniqueId" value="${processId}" /> <property name="logs.maxFileSize" value="1MB" /> <property name="logs.maxIndex" value="5" /> <logger name="com.twx.integration" level="DEBUG" /> <logger name="org.apache.camel" level="DEBUG" /> <logger name="org.apache.http" level="DEBUG" /> </included> Also, I'm looking for a way to set IR log level to DEBUG mode Could anyone please help me on this /VR
Our Research & Innovation team at PTC is conducting a study on productivity and quality analysis using insights from work instruction execution in the manufacturing industry. We have a new solution design to help our customers optimize their work instructions and are seeking experienced professionals like you for a 30-minute interview to provide feedback on our new solution design. We're looking for production supervisors, continuous improvement team members, or manufacturing engineers experienced with work instructions or operations optimization. Your insights will help us refine our design to better meet industry needs. If interested, click the link below to provide your contact information and availability: >> Click here to register << Feel free to share this invitation with colleagues who may be interested. We appreciate your contribution to our research and look forward to hearing from you! Best regards,Tadeusz WitczakResearch & Innovat
Hello, I am using ThingWorx 9.3.9.I was wondering if there was a method to get data from a infotable, and separate each of the columns in an property. In my case, I have three columns, id, temperature, and force, and I want to separate these into three different properties in a Thing. I have written a service in a Thing that has 4 properties, 3 of which are numbers and the last one being an infotable. This is my service code that I tried to use to pull one row of information from the infotable: let infoTable = me.MyCSVProperty; let searchCriteria = { "id" : 2 }; let foundRow = infoTable.Find(searchCriteria); if (foundRow!== null) { let id = foundRow.getValue(0); if (id!== null && id!== undefined) { me.id = id; } else { me.id = -1; // Set to -1 to indicate an error } } else { me.id = 4; } and when i run this program i get an error: Any help would be greatly appreciated!Additionally, I am new to coding and thingworx so detailed explanation
Hey Community, here i want data from three different datatables and i want to have all the entries in one infotable. How can i achieve it? i think i need to have here infotable and collect all the data there... let data; linesArray.forEach(line => { logger.info("QControl."+line.lineName+"-"+line.lineLocation+".DT"); let thingName = "QControl."+line.lineName+"-"+line.lineLocation+".DT"; let maxItems = Things[thingName].GetDataTableEntryCount(); data = Things[thingName].GetDataTableEntries({ maxItems: maxItems /* NUMBER */ }); });
For one of the customers, we are working on application development where Snowflake DB data (Power bi View tables) need to be inserted in postgres through ThingWorx schedular but while doing so ThingWorx Apache Tomcat went down. We are handling here around 22 lac rows to insert it in database. While doing so we are experiencing this. Please help us to improve this. Is there other way to insert this many rows from snowflake DB to postgres without affecting ThingWorx performance?
How to start userextension properties in alphabetical order
Good day, everyone I am trying to print my webpage/mashup, (an image just for now).Following this article guide: https://www.ptc.com/en/support/article/CS319138I wrote the below in a service and I invoke this service on a button click with the hopes of getting the print page to open up (Like how it would when you press Ctrl+P).This isn't working. Is there something I am missing? The code: let table = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "dataShape_DS"});let html = "window.open('http://xx.xx.co/:port/Thingworx/MediaEntities/Icon'); html.print()";table.AddRow({htmlColumn:html});result = table.htmlColumn;
I have configured DPM equipment. using https://www.ptc.com/en/support/article/CS371476 this linkBut I cannot select the WorkCentre showing some error. Kindly check attached image.I have also checked https://support.ptc.com/help/digital_performance_management/r9.5/en/index.html#page/dpm/digital_performance_management/production_dashboard/production_blocks.html# Please guide
Hello, What is the difference between thingworx and thingworx naviagte. I am working on thingworx but thingworxnavigate is also a platform or how does it works. Would anyone clear my confusion please
In thingworx navigate UI, how to upload the files directly from windchill rather than uploading from local drive.
Why the Display Name stated in State definition file is not shown accordingly for value with boolean base type? please refer the screen shotversion: ThingWorx 9.3.7-b1432
Hi Community, We have trying to enable SSO on Thingworx using ADFS as IDP. We followed steps suggested in this link - Configuring Authentication with AD FS (ptc.com) When we enable SSO on Thingworx, we are getting below error 2024-06-29 04:54:29.694+0000 [L: INFO] [O: o.s.s.s.l.SAMLDefaultLogger] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-8] AuthNResponse;FAILURE;<<IP>>;<<RELYING_PARTY>>;https://<<ADFS HOST >>/adfs/services/trust;;;org.opensaml.common.SAMLException: Response has invalid status code urn:oasis:names:tc:SAML:2.0:status:Responder, status message is null__ at org.springframework.security.saml.websso.WebSSOProfileConsumerImpl.processAuthenticationResponse Could someone help me to solve this issue /VR
When creating a button with only an icon/ image displayed on it I find that the icon can only be enlarged to so far before it exceeds some allowable area.With a blank label the icon, sized here to 100x100 pixels, becomes cropped. With a label the icon is properly sized.Is there a way to get image only buttons to have their icons properly sized without this cropping?
var data = me.Data; //InfoTable var result;result = "<!DOCTYPE html><html><head></head><body>" +"<table style='width: 100%; border-collapse: collapse;'>" +"<thead>" +"<tr>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 1</th>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 2</th>" +"<th style='border: 1px solid black; color: white; padding: 8px; text-align: center; background-color: #005495;'>Column 3</th>" +"</tr>" +"</thead>" +"<tbody>";// Iterate over the rows of the InfoTablefor (var i = 0; i < data.rows.length; i++) {var row = data.rows[i];result += "<tr>";// Iterate over each column in the rowfor (var key in row) {var value = row[key];result += "<td style='border: 1px solid black; padding: 8px; text-align: center;'&g
Hi i get a strange error in my thingworx setup. i have an SQLconnector which calls different stored procedures, that is then used in different mashups. i am now getting the following error on one of those services that calls a stored procedure from SQL:[message: Execution error in service script [GET_ProdOrder_Next_onEquipmentID] :: New request is not allowed to start because it should come with valid transaction descriptor.]this works for most user but not all about 5 out of 16 can not get the result from the service.thanks for your help in advance.
Hi all, I want to create this very simple logic... Disable a button for 3 seconds after clicked then enable again. It seems that this program has a way of making very simple logic ... complex for me.Can anyone explain how this very basic feature can be implemented.
Hi Community, Could anyone tell me how to specify config.json file path while running edge microserver in CMD Thanks, VR
Hello, I'm new to thingworx. Working with version 9.1I'm trying to create a service that aims to clean up the rows of an infotable-type property following a certain logic.This service cycles through a set of things and for each one it clones the "alarms" infotable property with var newAlarms = Resources["InfoTableFunctions"].Clone({ t: alarms, }); newAlarms.RemoveAllRows(); it verifies if any of the rows present within the property is missing within a stream. Otherwise it applies newAlarms.AddRow(alarm); (where alarm is equal to the row index inside the loop) if any rows have been removed in this process, the value of the cloned infotable is associated to the alarms property thing.alarms = newAlarms; The service seems to work, the alarm is removed, but it seems like the infotable gets corrupted after the modification. From composer I see that the property has rows inside it, but if I click to view the content a pr
Hello All,we are migrating applications and data from Thingworx 8.5 to Thingworx 9.6. In Thingworx 8.5 the Manufacturing apps were being used especially 'SCO_Common-extension Smart Connected Operation Common Tools Extension'. Instances of the Thing Templates PTC.ISA95.PhysicalAssetThingTemplate, PTC.ISA95.SiteThingTemplate, PTC.ISA95.ProductionLineThingTemplate were used is there any way to transform these Thing Templates and migrate them to Thingworx 9.6?ThanksDimitri
Hello, I get following error when I want to search for a referenced service : "The Relationship Subsystem must be enabled, configured, and running to view references. You can manage this from the RelationshipSubsystem.". When I go to the "Subsystem:RelationshipSubsystem" it's already enabled because for other entities(things) it works. Any idea what can be the problem ? Regards,Izzet
Hello, I am trying to get the thingname of the a service that called another service. Suppose we have a service called ServiceA that can call a ServiceB in Thing1, and a ServiceC is also able to call this ServiceB in Thing2. Suppose service3 is in a Thing3. I want to know if there is a way to trace what thing called ServiceB. Is this possible?I'm in Thwx 9.5
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.