Recently active
Good day community, I have a connected device represented by a thing. There is a property on the thing called: last connection. I am representing this thing using a label and an icon on the mashup side. This icon should change to a green color when the device is connected and then switch to a red color when the device is offline. How do I go about writing a dynamic service to accomplish this?Many thanks,
Hi Developers,I'd like to get your support on CSS part.I'm try to hide the disclosure button in the value display widget with custom css, however it doesnt work.Could you tell me how we can hide the button ?our thingworx env is "ThingWorx 9.2.6-b366".
After installing the Thingworx Analytics Extension, the Analytics tab is not showing up in Composer although the Analytics Server Things do show up and are 'connected'.Details:We have a Thingworx Foundation cluster (3 nodes) running Thingworx 9.3.0 on RHEL.We just finished installing Thingworx Analytics Server 9.3.0 on a separate RHEL node. As part of the Server installation, we set it to install the Analytics Extension in Foundation. It gave us a message that the extension was queued for install on the next platform restart. Since it's a cluster, we weren't sure whether that meant to restart just one of the nodes, all of them individually, or all of them at the same time. So we tried all three of these methods. We also tried installing the extension directly in Composer. The Analytics tab for Analytics Builder/Manager still doesn't show up in Composer. Any ideas on what we may have missed?
The following videos are provided to help users get started with ThingWorx: ThingWorx Installation ThingWorx PostgreSQL Setup for Windows ThingWorx PostgreSQL for RHEL ThingWorx Data Storage Introduction to Streams Introduction to Value Streams Introduction to DataTables Introduction to InfoTables ThingWorx Concepts & Functionality Introduction to Media Entities Using State Formatting in a Mashup Configuring Properties ThingWorx REST API REST API (Part 1) REST API (Part 2) ThingWorx Edge SDK Configuring File Transfer with the .NET SDK ThingWorx Analytics Getting Started with ThingWorx Analytics Part 1 Getting Started with ThingWorx Analytics Part 2 Installing ThingWorx Analytics Builder Part 1 of 3 Installing ThingWorx Analytics Builder Part 2 of 3 In
Is there any way to send multiple outputs from the single service at a set of intervals? for ex: I have an HTML snippet to display images using the HTML text area widget. In my case, I have a list of image URLs in an array to display. My intention after invoking the service user should see all the images, each image should stay on the screen for 2 seconds. unfortunately, the HTMLTextArea widget is not taking a script from the HTML code.
var query2 = {"filters":{"type": "OR","filters": [{"type": "NE",fieldName: "name",value:"ConsolidatedInfoFiles"},{"type": "NE",fieldName: "name",value:"Health Summary"},{"type": "NE",fieldName: "name",value:"Shiftwise Melt Consumption"},{"type": "NE",fieldName: "name",value:"Shiftwise Energy Consumption"}]}};var params1 = {t: infoIT /* INFOTABLE */,query: query2 /* QUERY */};var result = Resources["InfoTableFunctions"].Query(params1);
Hi Experts, I have a very specific requirement to highlight certain bars in a Bar Chart without changing original colors of the bars. Current scenario: Data infotable is bound to Chart and chart adjusts and displays bars according to the data value with different color for all bars. Expected: Data infotable has 2 values beyond threshold and chart should highlight those 2 bars in red color and rest of the bars should remain in original(different) colors. Tried and didn't work: Applied state formatting with a threshold value which turns all the bars meeting condition in red color and rest of them in another single color. Attached is the screenshot of the same. Example: Display top 2 fruits bars in red which has highest sales i.e. Banana and Pear.
I need to read the SciptLog file from Thingworx to check the activities of a particular process. Is it possible to read the ScriptLog content from Thingworx ?ThanksDimitri
Good day community, I am making use of In range alerts to change the values associated with my alerts dynamically. Below is my code. It executes successfully. However, the values on my alert do not change. Does anyone know why this is happening? var params = {infoTableName: "InfoTable",dataShapeName: "NumberRangeAlert"/* DATASHAPENAME */};var table = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); table.minimum = Min;table.minimumInclusive = minInclusive;table.maximum = max;table.maximumInclusive = maxInclusive;table.calculationValue = 1;table.calculationType = "Percentage";table.calculationShow=true;table.propertyValue=13;let thingProperties = Things[selectedEntity].GetPropertyDefinitions({category: 'X' /* STRING */,type: 'Number' /* BASETYPENAME */,dataShape: "NumberRangeAlert"/* DATASHAPENAME */});for(let i =0; i<thingProperties.length; i++){let name = thingProperties[i].name;let alertName = "MyAlert1";var params1 = {alertType: "InRange"
Hello Everyone,I have a subscription in my environment which is triggered when a DataChange event occurs. After subscription is triggered we are observing below error related to Event Handler in Application logs."Error Executing Event Handler <SubscriptionName> for event Type.Thing:Entity.<ThingName>:Event.DataChange:Property.<PropertyName>".Referring to article https://www.ptc.com/en/support/article/CS336296, I have tried executing the below services from the thing's services, but service EnableSubscription is giving error in execution :EnableThingRestartThingEnableAllAlertsEnableSubscriptionCan anyone help with this?
When attempting to activate my Kepserver Licence by loading a Request File to generate a Response File, I get the following error and no response file is generated. Error: - callout failed with reason - Error processed during activation: 6011:Attribute Trusted Host Entity is required in the definition of {1}. This is after repairing a Trusted Storage error by following CS313362 and CS293892. Installation is now appearing as "new" with no activated license, and license key has been reset on MyKepware and is showing 1 activation available. No issues generating the request file. No Internet connection is available from the machine.
Client wants to upload .dxf file in thingworx. Any idea about what widget helps and how to store .dxf file in thingworx ?
Hi team,I want to change the default tooltip format on the Line chart. We have a requirement where we are using the Line chart as a step chart on Thingworx 9.3 version. The default tooltip is "Wed Mar 02 2022 02:59:16 GMT +0530(India Standard Time), Signal:1", which I want to change to "2022-03-03 02:59:16, Signal:1". I came across the Localization tables in TW where you can customize the tooltip. By following this link https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/...I created a new token, now I am getting "Signal:1" on the tooltip, but I am not able to understand how I can customize the Timestamp. The default token is "${label}, ${series}: ${value}". Thank you!!
Hi, We have created the chartline graph where we need to change the tooltip according to xaxis and yaxis.I need the YValue to be changed to FFT_Data.Expecting the answer ASAP. Attached the image for reference. Thanks
facing this error required solution tried restarting TomCat and KepWare still of no use
Hello, I have an application where Kepserver EX6 is used to read the present value of a temperature controller (Autonics TF33) which has RS-485 connection. Moxa NPort 5150A acts as gateway for the device to the Kepserver. The diagram of devices are attached. Currently, I have good quality of connection to the modbus address of the device, but reading is 0. Furthermore, in order to get clear picture, inside the NPort Web Console, I set the IP Address to its default (192.168.127.254) and operation mode set to TCP (Device is TCP Client) where destination IP address is the NPort IP Address. Details are attached also. Then, inside the Kepserver, I assign channel as Modbus TCP/IP ethernet with port number as same as written in Moxa (i.e. 502). Then, the modbus address I took from the manual of the device (attached).Any thought/help on this would be great appreciated. Thank you
Hi, I am trying to connect an OPC UA Server to a KepServer using certificates at both machine and user level. In the machine certificates part, I have already managed to communicate both devices, using an example user. When I try to configure the communication without a user and communicate via certificates, I can't find where I have to configure the certificate. Best regards,
The thingworx server is connected with navigate and windchill. Once the windchill server is upgraded to version 12.0, GetStructure API from PartStructureAccessAppThing is not executing. These was the inputs provided before. Now it is not working. How to fix this ?
I have one postgre script and I want to Triger that script in every 8 hours. I create one scheduler and set the scheduler time for 1 min and call the postgre script on scheduler service now I want to check the script is running in every 1 min or not. please help me with this issue
Hello ,I am trying to open up a popup on click of a cell of GridAdvanced widget.I don't find any onClick event on this widget. Would really appreciate your help in this regard. Thanks ,Rushikesh K
Hello, If my understanding is correct, there should be a timestamp saved together with the value if kepware loses connection to thingworx. Is there any documentation existing around this?Especially important for us is how we can get this timestamp and use it together with the value. Any help around this would be much appreciated. Regards,
After Windchill Upgradation, In thingworx there was windchill and navigate connectivity issue. So I removed sslClientAuth from BaseURL and changed authentication type to Fixed in connectors. Now the service ValidateConnection status is Success in all connectors. But After Windchill Upgradation, With the same BaseURL https://windchill-dev7.polarisdev.com/Windchill/sslClientAuth and same Authentication Type the Navigate API should work right!!. Any idea on how to make it work with sslClientAuth ??
I am trying to build a standard workflow using the SQL Connector/Execute Stored Procedure action using Oracle. This approach is to pull data to a mashup. The issue is that while trying to enter the configuration to setup the account/connection it fails to add the connection, The account is active and working.
Hello, I have been struggling to get a function working where I check for if a filter query is coming into a service empty (no filter has been added). First I thought it was just a normal JSON and tried to use .length().But by doing so I receive this error message in the output:I have also tried using isEmpty(), but receive the same error message as with .length().So my only conclusion is that this type is not actually a JSON type. Some other "issue" is that when logging out the value, it can be undefined OR just '{}', I guess depending on if we have had a filter after first load or not. Any help with this would be much appreciated. Regards,
Am I able to get any conditional function to this expression field ?
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.