Recently active
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.
Hi, I have below lua script which is calling external REST API. local https = require("ssl.https")local one, code, headers, status = https.request{method = "POST",url = "https://<ip>:<port>/<service_path>"headers = {["Content-Type"] = "application/json"}} This script is working fine independently. Now I want to integrate with the edge device on EMS. This script should be executed by the remote service defined on edge device in template file of lua resource in EMS. I tried integrating the script in the lua files of thingworx. But, whenever I add the very first line "local https = require("ssl.https")", remote properties and services are not visible on Thingworx remote thing. Can anyone guide me how to do the integration of above script in the lua service definition in template files OR is there any other way to call the external REST
Hello , I create service for get all program list (and also calculate program status )and used collection widget for display program status after I bind that service to collection, I want to refresh only that program status for this I'll bind refresh widget to this service It will reload all the parameter. please refer below attachment and suggest how do I refresh info table row data in every second?? Thanks in advance
Hi , I am using TWX 9.1 version , unable to see Datafilter widget in widget panel . what is the replacement for this widget? Thanks
Hello, I want to get polar band application live data in thingworx .I refer this POST but I don't want to used raspberry pi. please suggest : How do I get live polar band application data in thingworx ?? Is there other way to getting polar application data in thingworx ??
We have impement sso authentication using authenticator. After login in sso page it is again resirected to form login page instead of going to home mashup. Can you please suggest
Hi, I'm checking the document Configure PingFederate to Redirect User Login Requests to your IdP for integrating PingFederate with third party IdP, but the link in the picture is not available and display "We were not able to display the page you requested." Strangely , event in the official website of PingFederate, I got the same error for any of the links below: How do you read the document of PingFederate ? Regards, Sean
Hi, I have installed thing Worx foundation, Platform Analytics and Thing Worx Analytics server for rolling out the backup developed by our developer. While importing the data to get UI of runtime data, I am getting "import error failed" continuously . As , I am not developer, I am unaware how to resolve the issues. I am sending the attachment for the latest import of data to be uploaded with its error. Probably, if I could get any solution, I will be thankful. Please help me in this regard.
Hi all, I would like to display office documents within a mashup without having to download the data locally on the filesystem. is it possible to display in a webframe (as if it were a pdf) the files present in a thingworx repository? even passing through a server side application (not cloud). Is there any third-party software that can generate an iframe for a document on the server?
I am trying to setup Influxdb as Persistence Provider for ThingWorx 9.1 Where may I get thingworxInfluxDBSetup.sh script? Help says "The thingworxInfluxDBSetup.sh script is available on the PTC Support Portal in the install folder of the software download package". Could you be more precise? And, may I go with Influxdb version 2.0.3?
ThingWorx DevOps with Jenkins DevOps as a topic is vast and has been addressed at many times throughout the history of the PTC Community. Previous posts address what DevOps is, teach how to make use of DevOps like a pro, announce updates to the PTC Git Extension, and explain why this extension is so helpful to achieving continuous Git integration with ThingWorx. This post provides a PDF guide on Jenkins integration with ThingWorx, including tutorials with detailed information on how to setup your ThingWorx instance and how to configure your Jenkins Pipeline. The PDF is listed for download separately, but it is also included in the zip with the other required files for the tutorial. The Jenkins Pipeline provided here is intended as an example / starting point for managing your DevOps in ThingWorx and can easily be extended. Please note that this Pipeline is not officially supported by PTC.
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.