Recently active
I have a gauge that I need to change the color of something based on if the value in the gauge is above or below a target value. The target value is constantly changing so it needs to be dynamic. I create different CSS classes, and then pass the class it should look at, but I am not sure how to properly write the CSS that would change the face of the gauge face, needle, or value color. Thanks! ThingWorx 9.3.8
Hi, Can anybody provide an overview of how to push notification from Thingworx server to Android devices? We are planning to integrate push notification to Android & Ios mobile devices whenever any events are generated on thingworx server.
I need to get Property Wise data for logged properties, I have tried to use QueryNamedPropertyHistory service but seems it is too slow, is there alternatives that may be i didn't tried ?We are using TWX Version 9.3.5.
I get data from Kepware in DWORD and want to show in mashup but doesn't show. How to solve it?
Now i got line chart like picture below but i want to modify something1.X-Axis that is a time didn't show full date2.On the right hand side, i want to edit sequence that L.33 is first one and then L.34 , L.35 respectively. Thank you
As per the original post. Hi willie. The following is my service, to upload my csvfile from repository to s3Bucket.But i am not able to upload it from my service. try { var FolderName = Company + " Stocks"; logger.debug("FolderName :" + FolderName); var ESSSIMDetailsFilePath = FolderName + "/" + Company + "_SIMDetails.csv"; logger.debug("ESS SIM DetailsFilePath :" + ESSSIMDetailsFilePath); // Content: BLOB var Content = Things["SystemRepository"].LoadBinary({ path: FolderName /* STRING */ }); var headers = { 'Content-Type': 'text/csv' }; // result: BLOB var result = Resources["ContentLoaderFunctions"].PutBinary({ proxyScheme: undefined /* STRING {"defaultValue":"http"} */ , headers: headers /* JSON */ , ignoreSSLErrors: undefined /* BOOLEAN */ , useNTLM: undefined /* BOOLEAN {"defaultValue":false} */ , workstation: undefined /* STRING {"defaultValue":""} */ , useProxy: undefined /* BOOLEAN {"defaultValue":false}
Hi all,How to read the timezone in Thingworx? Thank you!
Hi Experts, Problem : A bar chart and a schedule each have a data set bound. These data sets are created dynamically. Therefore the number of series cannot be defined on a bar chart. (Consequently defining style formats for individual data series is not possible for the bar chart. ) Is it possible to give the same color to the bars that have the same name from the two different charts ?e.g.,Bar Chart: Apple_Series = Green, Banana_Series = YellowSchedule Chart: Apple_Series = Green, Banana_Series = Yellow Regards,
I want to fetch all records from the value stream. Value stream stores the 86400 records in one day. I used the QueryPropertyHistory() which gives me only 500 rows and if I define maxItems(Data points of 3 days) it gives me a script timeout error and I want to show this on the line chart. Or is there any limit to showing data points on a line chart?
How to install Thingworx extensions (RTTPM, DPM, AMU,CWC). I'm browsing the PTC help center to find out how to install the solutions, but I don't understand, as there is no step-by-step guide. I would like help and a description of how to install my ThingWorx is 9-4-1 step by step Translated by the Community Moderation using Google Translate Como instalar as extensões do Thingworx ( RTTPM , DPM, AMU,CWC) . Estou navegando para no help center da PTC para saber como instalar as soluções , mais não estou entendendo ,pois, não há um passo a passo. Gostaria do auxilio e uma descrição de como instalar passo a passo meu ThingWorx é 9-4-1.
Hi all, When I try to access the Mashup Runtime using a non-administrator account, I get the below error message I tried following the article Article - CS289125 - Error getting IR status in Application logs when non-admin users try to access Thingworx Mashups during runtime (ptc.com) Setting Permissions for Integration Connector Activities (ptc.com) Still, I'm getting an error Could someone help me with this Thanks in advance /VR
Hi, I have one property for which I log data for every second in valuestream. I want to display last 3month data from valuestream on time series chart. What is approach I need to use?I am new to Thingworx. Please help.
While fetching data from sql db in thingworx , this query executing for morethan 80 seconds. Any idea on simplifying this query? Query:SELECT distinct a.cmp , a.engseq , a.it, null as COUNTFROM ENGINEERING a WHERE a.MODEL like 'R24R%' AND a.cmp not in ( select cmp from ENGINEERINGwhere MODEL like 'R23R%' ) ;
I need to make a SQL query in Thingworx. The query should read (if I were creating it directly): SELECT * FROM MyDB.MyTable where Name like '%Name_Input%' Another PTC forum post had recommended this as a possible solution: SELECT * FROM MyDB.MyTable where Name like '%' || [[Name_Input]] || '%' But this query (above) does not work. The post was from the year 2014 and I'm currently using 8.4.1, so I'm guessing that's the issue..... Solutions anyone?
I am currently attempting to install an instance of ThingWorx 9.0.3 and I have been having trouble with building the docker images with PostgresSQL as far as I can tell there is no issues with the version numbers. however when I run the build.sh Script it always errors out with the error: ERROR: failed to solve: process "/bin/sh -c echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && adduser --uid 1337 --disabled-password --gecos \"\" --home \"/home/${APP_USER}\" \"${APP_USER}\" && apt-get update && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends wget ca-certificates gnupg && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64\" && wget -O /usr/local/bin/gosu.asc \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64.asc\" && export GNUPGHOME=\"$(mk
We fetched 5000 rows and 4 columns from sql db in 40seconds.Then In Thingworx code, if i used InfoTable.length to find total number of rows in table is taking additional 20seconds. Any other shortcut to get table length quickly.?Query:SELECT distinct a.cmp , a.engseq , a.it, null as totalrowsFROM ENGINEERING a WHERE a.MODEL like 'R24R%' AND a.cmp not in ( select cmp from ENGINEERINGwhere MODEL like 'R23R%' ) ;
Upgrading TWX foundation server 8.5 to 9.4 hosted customer by PTC Cloud Services.We have following two approaches,1. Install a fresh instance on the PTC cloud and upgrade 8.5 to 9.42. Upgrade existing Dev environment on PTC cloud and upgrade 8.5 to 9.4In the existing environment, IOT devices are connected with thingworx.Which approach is good for upgrade?
I have a dropdown widget that populates data after a service run. This all works fine. If I set the "SelectedText" to be one of those values, it works as it should. However, once I change this to a "MultiSelect", the "SelectedText" no longer works. Does anyone have a workaround for this? I am in version 9.0 and cannot upgrade.
ERROR [widget] "CustomCSS" widget type is missing required member widgetProperties() ERROR [widget] An error occurred while loading widget "kohlerqrscan" [{}] ERROR [widget] "kohlerplotlychartingkit" widget type is missing required member renderHtml() Please find the attached extension and help me figure out the above errors.
hello, I have a linechart where the margins on left and right side is to big (X-axis), I would like to fill all the available space .On the attached image I marked the space what I would like to 'cut' somehow. Because the x axis is date type and it's variable I cannot set itXAxisMinimumValues and YAxisMinimumValues parameters.(I using ThingWorx 9.1.5-b698) any idea is welcome. thank you
Hi,I am currently trying to develop a service that should generate a number consisting of a date shorened to yymmddhhmm. When writing the bellow code in javascript (nodejs)const date = new Date();console.log("SSNDate: "+date.toLocaleString("sv-SE", { timeZone: "Europe/Stockholm" }).slice(2).replace(/\s|\.|:|-/g,"")); I get230929090129 With this code:dateFormat(date, "YYMMDDHHmm") I get 23092720756 I would also like my code to take locale and timeZone into account, how is that done? Calling new Date, I get what I understand looks like a unix timestamp: 1695974346423 To summarize:- How to format a date according to YYMMDDHHmmss?- How to take a certain timezone into account?- What is date returning?- How to take timeZone and locale into account, rhinos implementation does not seem to do it the standard way with toLocaleString.- What dateStrings can be used with dateFormat, and how to check that?RegardsOskar Berntorp
Hi Developers,I'm trying to create the following functions.1. save image file to SQL as binary data.2. pull binary data from SQL.3. create Image contents from the binary data to display on mashup. I'm struggling to create codes for part 3.Could anyone help me for the part3?
Hello, i'am trying to add the value of a property to the Value column of a infotable located in the same thing as the properties i want to use. I have the name of every property in string format and since there are around 200 of them i wanted to use this to add them. example: myArr = [{Name: 'Tag1', Message: 'Hello', Type: 'BOOLEAN'}, {Name: 'Tag2', Message: 'Sweet', Type: 'BOOLEAN'}] me.myInfo.AddRow( { Name: myArr[0].Name Message: myArr[0].Message Status: me.myArr[0].Name //This part dont work. I Have a property with that exact name and i want the status for that property } how can i reffrence the tag with the string i have? Or another smarter way to refrence it? In my program im planning to use a for loop to go over every tag one at the time.
Shall we add subcolumns for each field definition in infotable
{"data": [{"usageId": "50030540014333322800000050","assetFound": true,"compartments": {"rows": [{"compartmentId": "50030540014333322800000052","observableProperties": {"gatewayLocationDescription": "Ireland","temperature": 6,"timestamp": 1612393200000},"compartmentUsage": {"compartmentState": "Inuse","minTemperatureThreshold": 2.2}},{"compartmentId": "50030540014333322800000051","observableProperties": {"gatewayLocationDescription": "Belgium","temperature": 2,"timestamp": 1612220400000},"compartmentUsage": {"compartmentState": "Idle"}}],"dataShape": {"fieldDefinitions": {"compartmentId": {"name": "compartmentId","aspects": {"isPrimaryKey": false},"description": "","baseType": "STRING","ordinal": 1},"observableProperties": {"name": "observableProperties","aspects": {"isPrimaryKey": false},"description": "","baseType": "JSON","ordinal": 3},"compartmentUsage": {"name": "compartmentUsage","aspects": {"isPrimaryKey": false},"description": "","baseType": "JSON","ordinal": 2}}}}}],"message":
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.