Recently active
What is the best practice for setting the shifts to shift Schedules. I created 1 shift schedule for 24hr shift 00:00 to 24:00 and the kpi calculation updates at the time interval currently set to 15 minutes. But when I used the shift schedule for 2 split shift 07:00 - 15:00 and 15:00 to 23:00 the calculation stopped working at 14:59 I checked the kpi cache and get time last updated at 14:59.07
Hello, How to set maxpagesize as greater than 2000. I have custom odata api which would return more than 2000 records. So I wan t to return all the records in single responce. Please assist. Regards Prem
Hi, I am seeing that in Scheduler we can assign a user in RUN AS USER field in General Information entity. I have a Doubt that will it be Runnable for All users in a Group if we keep Run as user (only one user)? because it allows only one user to add. Thanks
Greetings.I need to create a thing via a service (which will be called from a mashup) to create a thing, which will then be displayed on the Manufacturing Apps.I've read this document and a few forum topics, which say that I must set the displayName property to something in order for the thing/asset to be visualized in the ManApps screen.Unfortunately, this doesn't seem to be working. I've tried creating things with my company's custom thing template (which is based on the PTC.ISA95.PhysicalAssetThingTemplate) and even with the PTC.ISA95.PhysicalAssetThingTemplate template itself, but it didn't solve my issues and I'm still unable to see the asset on the ManApps.Thank you for your time.
In this guide you will learn how to build a Sigma Tile using simple, easy to procure, proven components such as a Raspberry Pi and a Sense Hat and by following simple instructions leveraging augmented reality for the mechanical assembly steps.
Hi everyone! Today I was trying MfgApps Import/Export functionality and found out that importing the same file that was exported (no modification) makes the import process to skip almost all the rows from the properties tab. Viewing the logs: Import Validation Process: [Properties Tab] [Equipment Name: Asset_LocallyBoundAsset][Name: statusTimestamp] Invalid reason: Changing Base Type is not supported but I haven't changed anything to the file. The expected behavior is that all 159 be marked as valid (instead of 7 valid, and 152 invalid). Stack: ThingWorx 8.5.5-b103 ThingWorx-Apps-8.5.2-00-extension Regards, Nahuel
Hi All, I am building a mashup in Thingworx 9.0 where I have to display status of machine i.e. either running or stopped. I am getting that status via a service which I have binded to a data shape. Requirement is to show status of machine in green if machine is running and red if machine is stopped. I used value display to show the value status and in background I placed a shape whose colour will change as per status of machine. I have binded data of service to shape, but i am not able to find exact state formatting to achieve this result. Currently i have configured ALERT TYPE(as shown in attached image). Kindly suggest how to achieve this. I have attached an image showing the objective that needs to be achieved.
Hi, In the state definitions, when mentioning a forward slash (/), it automatically converts it to (\2f).How can this be resolved? I wanted to mention the string as 'Idle/Stop' Thanks in advance, Shalini V.
In above code I m trying to get members of suborganization but at the end I should get 4 records but instead of that I m getting on 1 record and in "Script log" I m getting debugger response as "com.thingworx.types.InfoTable@9e681c4f" for all my 4 response. Please help to solve this Thanks!
Hi Team, Could anybody let me know how to check using script whether any property exist in any thing or not. Please share the logic Thanks in advance.
Hi All, need your Help I Run Scheduler for 3 services and i got an error Timeout (error executing service. Message ::Execution of Script terminated after : 127 seconds. Timeout configured for 120 seconds.) Regards;
Hi all! I'm working with a Tw customer solution, and I'm having a problem with scaling a bar chart correctly. On the application, I have a simple mashup, which consists of a couple bar charts, each in it's own container: It works fine when I preview it, like the screenshot above. But the problem is that it doesn't scale down too well. When I embed it on the larger mashup, where it has less space available (the screenshot is from 1920x1080 view. Sorry about the blurs), the bars simply disappear: I did some css-investigation with chrome developer tools, and found out that if i disable this rule: , the bars become visible again (though some further prettying needs to be done): So clearly there is enough space to show all my bars even when the mashup is embedded into a smaller space, but there is some style rule which blocks it from scaling correctly. So to my question: 1) Where is this padding value of 32 pixels coming from, and can I change it somehow? I already
Dears, I have a page showing the running status of the device. If the device is disconnected from the network, the tag quality of Kepserver is bad. What can I monitor to know that the tag becomes bad? Is it possible to use Subscription, or is there any other way to achieve it? Thanks in advance
The effectiveness calculation is Thingworx apps 9.1 release does not work correctly. Following the support page https://support.ptc.com/help/thingworx/apps/r9.1/en/#page/thingworx_apps%2FCustomizing_the_Apps%2Fcalculating_kpis.html%23Effectiveness is PRI*PQ/ABT so 0.516*470/270 = 0.8982222222 but the effectiveness calculation is showing 0.19573677341929643 Just looked at the calculation and it looks wrong see attached file
Hello, I'm planning to customize the manufacturing app shift management (using §'Configuring KPI Calculation' of the documentation). I would create the schedules & shifts and overwrite the shift manager in order to consider the current day of the week. I'm still looking for the right service to overwrite for that, but my problem is another: I cannot find a place where the KPIs are displayed per shift / with shift information or filter. Am I missing something?
Hello All, I have created a integration connector with oData connector as base template and able to connect windchill. Using new composer I am able to map the existing endpoints. For example Workflow/WorkItems. I am able to get few of the APIs available in WRS but not able to see all the exact API Endpoints for example I can see endpoints for GET /WorkItems but I can't see endpoint for GET /WorkItems('{WorkItemId}')/SubjectAlso, I didn't find any useful document/code which tells how to invoke GET /WorkItems('{WorkItemId}')/Subject endPoint. Where we can pass WorkItemId as an input parameter and get the details. In case of Legacy Rest I was using below code to get the data. Not sure how to achieve the same using OData. var jsonResult = me.processJSONRequest(params); Any idea, how to achieve above requirement using OData REST API.
Hi all. I try to use Kepware User Configurable driver to catch unsolicied messages in multicast group. Server equipment send multicast messages to IP 224.0.1.1 port UDP 5155 to its own clients. I want to create the listener of this multicast traffic with Kepware U-CON driver and then parse it. So far, my attempts to configure u-con channels with ethernet encapsulation (UDP 5155) in unsolicited mode have been unsuccessful. Can I use U-CON to catch multicast messages or maybe I have to use any another driver? Thanks in advance.
I'm trying to figure out where the different aspects of a call to an API would go. For example, the API key or the web address of the API. Also, what is the purpose of the username and password? Is that supposed to be the username and password of your API's account? Also, where do I get the Authorization Server ID if my server is hosted on PTC's cloud service? What are the CSRF settings? What do I do with the Authorization Server Scopes Settings? I found the PTC Help Center article about this, but it wasn't very helpful. Thanks in advance.
Hi, I want to send a multipart REST request to external system (out side the ThingWorx application) using a custom service, to send an xml file. This is the code snippet for the service- There are no logs getting updated for the service execution, nor the request reaches the external system. var now = Date.now(); var url = /*URL*/; /*jshint multistr: true */ var body = /*XMLBODY*/ var table = Resources["InfoTableFunctions"].CreateInfoTable(); //Add new fields to the InfoTable: table.AddField({name: "test", baseType: "XML"}); // add data row table.AddRow({ test: body }); var params = { proxyScheme: undefined /* STRING */, ignoreSSLErrors: true /* BOOLEAN */, useNTLM: undefined /* BOOLEAN */, partsToSend: table /* INFOTABLE */, workstation: undefined /* STRING */, useProxy: undefined /* BOOLEAN */, repository: <repoName> /* STRING */, proxyHost: undefined /* STRING */, url: url /* STRING */, timeout: undefined /* NUMBER */, proxyPort: undef
Hello, I want to switch the visibility option from a label and a slider in a Mashup When the button is in the "OFF" state I want the label to be visible and the slider to be invisible. When the button enters the "ON" state I want the label to be invisible and the slider should be visible. My current configuration makes it so I can toggle the visibility how I want it for the slider but now the label. Is it possible to have two options for the state from the togglebutton (OFF and ON)? right know I can only set the "STATE" option but I cannot choose which state and what the output value etc should be... I am using ThingWorx 9.1.0-b10877 if that matters. Thank you Best regards Nicolas HORST
Hi All, I am attempting to connect to thingworx using Java to get specific data using a key. Data Table Name: DataTable Service I want to use to extract the data for a row : GetDataTableEntry This is a generic service and I need to pass key to get the data which is working fine when I use SOAPUI to connect. In below java code, the row gets returned as null. ClientConfigurator config = new ClientConfigurator(); config.setUri("wss://URL:443/Thingworx/WS"); config.setAppKey("key"); config.ignoreSSLErrors(true); // All self signed certs ConnectedThingClient client = new ConnectedThingClient(config);client.connect();client.start();ValueCollection params = new ValueCollection();params.put("key", new StringPrimitive("Test20124"));InfoTable table = client.invokeService(ThingworxEntityTypes.Things, "DataTable", "GetDataTableEntry", null, 5000);System.out.println(table.getJSON()); This Returns null. Similarly even if I directly attempt to call rest se
I'm wearing a creativity hat (the green one 🙂 ) today so this is my second topic for today. Just wanted to spark the discussion about the scalability of Thingworx and handling "large" amounts of time-series data from sensors.There is a great "Why Use InfluxDB in a Small ThingWorx Application" post by @ttielebein , but Influx and Postgresql are only compared in terms of ingestion performance there. So just as a starter question... To what extend can Thingworx and the underlying databases be used for storing historical data? Can someone provide guidelines on how many datapoints can be handled and when should we stop and downsample and/or dump "old data"? I've recently been working on a PoC / MVP and a device with 140 sensors working @1/60Hz (1 datapoint per minute) resulted in 201.600 datapoints per day and ~73.500.000 per year.For 10 devices that would be 735.000.000 datapoints per year. Actually the sensors work @1Hz frequency so that would be 44.100.000.000 datapoin
Since we are limited by the StyleTheme range of options we are forced to inject CSS to fine-tune our solutions. Now according to CSS org, W3 and SO the syntax ::part()::part() should not and cannot work. In TWX 8.5 however, we found this was exactly what was required to achieve our intended purpose. We have been struggling to understand why this happens, any ideas?
Hi,Is it possible to get the list of the Vocabulary Terms of a Tag in a service ? Thanks.
Hi Team, Suppose I want to read any csv file present in system repository and then parse it into a infotable then how would it be done using script? 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.