Recently active
Hi, 1) Is there any way we can create a service to upload tokens to a localization table?2) Is there a way to manage localization table in a better way instead of adding each token manually?3) Also how do we use locations inside the service?
Hi All, I have created a Project and in that I am creating another entities (Thing ,DataShape etc.) which is required for our projectSo If I export that Project will all entities that are associated with that Project will be exported ? and also If after Export done and import the exported project in another server those entities will work fine? Regards,Lav
I found an article that says that teamviewer is now integrated into Thingworx.( https://www.teamviewer.com/en/company/press/teamviewer-is-now-integrated-into-ptcs-thingworx/ )I also found a manual on how to install it, but for that i need the teamviewer extension and I have no idea where to find it.Does anyone of you know where i find the teamviewer-extension for thingworx?
Hi All,I am trying to run the service [RegisterExternalRemoteAccessServer] under Subsystem [RemoteAccessSubsystem]. However, I am unable to find the desired input payload to execute this service. Can anyone share me a sample payload to execute the service. Also on similar lines, is there any place to find the documentation for these services?
Hello Community, I've been trying to figure out how to use the "select" key in the JSON query functionality of QueryStreamData... me.QueryStreamData({ // oldestFirst: undefined /* BOOLEAN */, // maxItems: undefined /* NUMBER {"defaultValue":500} */, // sourceTags: undefined /* TAGS */, // endDate: undefined /* DATETIME */, // query: undefined /* QUERY */, // source: undefined /* STRING */, // startDate: undefined /* DATETIME */, // tags: undefined /* TAGS */, // }); However I haven't had any luck... There is no datashape returned for this service, and even if there was one, I'm not entirely sure I could get it to work. I have do have a datashape for the stream of course, and I did try to use that using the following query: "select": [ { "dataShapeName": "MyDataShape", "fieldName": "FieldName" } ] But that didn't work either. I also tried just querying everything from my stream and doing an infotable query: let test = DataShapes["MyD
Dears, as screenshoots below, when a simulated float transferred from kepware to thingworx, 1.2 turns to 1.2000000476837158, so a false alarm triggered. Misdata logged in influxdb as well.a simulated float which is 1.2 on kepwarebut on thingworx that turns to 1.2000000476837158alarm triggered when property is above 1.2So a false alarm triggered I can't change data restricted to external audit, what can I do to modify the data to the correct.
Hello, everyone.Why the web denies access?Please help me out.
Hello Community, I just got stuck on an issue and was hoping that perhaps someone here could help me. I am using the QueryNamedPropertyHistory function for a property. Getting this data, I want to loop it over and use each value for something. Now, the issue I am facing is that the infotable data shape being used for the QueryNamedPropertyHistory is "dynamic". It has the "timestamp" column and then the value column with is named after the property. This makes it so I cant just do: const propertyValues = Things[EntityName].QueryNamedPropertyHistory({ ***params*** }); propertyValues.rows.toArray().forEach((element) => { let propertyValue = element.value; let propertyTimestamp = element.timestamp; }); As the "value" column changes name based on the property name. I know you can do something like: Things[DynamicThing][DynamicProperty] But is something similar possible in my use case? Or how would you go about it?  
1. What version of Thingworx are you currently running?Thingworx 9.3.7 2. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.I need to send "Alerts and "Notifications" as SMS, through WHATSAPP3. What business value would your suggestion represent for your organization?When ever alert occured,Need to send a notification to the user, through WHATSAPP. Now a days everyone closely monitoring WHATSAPP only.
Hi, everyone. I have a question when I trying to make a Thingworx smart city demo clone like this video and website ThingWorx Industrial IoT Platform - Creating Smart Building Applications - PTC Demo Video Gallery | IoT start from 3:00 to 3:20 and SmartCitiesDataView . And my question is how do I do like the video shows, how to interactive with the lights and rooms.For example.1. when I select the room and the Lights controller become green because all lights in this room are on, when I click the green button then the lights will turn of like this and the button turn to gray from green.2. When I click the red light the Light controller will turn to red and the service light button turn to red. Dose any one know how to achieve this goal? Please tell me how to do or some hits.I know if use javascript and HTML, CSS to do this is not that hard even I can use frontend framework like React or Vue to do this, but in thingworx
Hello, I want to update a row in an infotable in my CSDKI have an infotable i am iterating via twList_Foreachmy infotable contain sevaral fields : Id, field A, field B, field CI want to iterate my infotable row by row if i found the id already exist, i have to update the fields (A, B, C)This my code:twList_Foreach(it_List, search_ForeachHandler, params)in the param i am passing the id to serachin my search_ForeachHandler:static int search_ForeachHandler(void* key, size_t keySize, void* currentValue, void* userData) { twInfoTableRow* value = (twInfoTableRow*)currentValue; //id to search int* id= (int*)userData; if (*id == twInfoTableRow_GetEntry(value, 0)) { //Get Field A twPrimitive* it_field_a = twInfoTableRow_GetEntry(value, 1); it_field_a = TW_MAKE_STRING(params->message_id); //Same for field B et C .... return TW_FOREACH_EXIT; } return TW_FOREACH_CONTINUE; }I thought I am modifying row field by address. but apparently it's a copy.Do yo
How we can get the users mail from the windows login in thingworx
I have 2 views data(table in each view please check screenshot) fetched it from SQL query in Thingworx and in that 2 views same columns are available. Issue is - In first view of gcid column 4928 is not available and in 2nd view it's available so, I want to compare both the views data row by row. I want to fetch 4928 gcid platform column from 2nd view and want to show platform for 4928 gcid on UI (Same data available in both the views except 4928 gcid) I have attached ss of both the views data and already written code in attached file. please check it. code is already written by developer. I have to do changes for it.On UI now showing following platforms need to add one more platform from 2nd view data(UI screenshot attached at the end)(AvailabilityPlatformSummaryTable) and (SBDAvailabilityGC_PlatformTable )views names in codeUnable to apply logic for it. where should I do changes in code? Please let me know asap.If something is needed please ask me. Thank you.
Is there a way to format the Numeric Entry widget so the number has the thousands seprator of a comma? It would be helpful to have this with large numbers.
Hi,I am creating a service that fetches data from an external api with subsequent actions that needs to be run in a certain order. As an api call needs to finish, I wonder how to run code asyncroniously in a thingworx service? I tried to write an async function, but I got the error in the image bellow, writing use 'esversion: 8' did not work.
Hello, Is there any method, we can trigger a subscription if the ThingWorx platform is going to shut down? If not, is it possible to get the date and time when the last platform Shutdown happened? I am looking for either the ThingStop Event just like ThingStart, or the server shutdown time. Any pointers would be very Helpful. Thanks and Regards, Bhushan
Hello Community, We have a rest server that acs like proxy between the iot devices and twx. When our sever sometimes try to do post with the device data we receive from Thingworx this error: 2024-01-09 02:54:06,943 34670452 ERROR c.a.c.client.ThingworxClient - An exception occurred during the request: /ip GOAWAY receivedWhen happen this error in thingworx? Thank you in advance,Luis.
Reference topic - https://community.ptc.com/t5/ThingWorx-Developers/how-to-add-multiple-color-state-definition-in-shape-widget/m-p/754978#M55073 So is this means I can't create progress bar in mashup ?
i've created a service for creating folder in the repository, how can i get the created folder name in the output as string/text? thankskeerthi
I have requirement to find unmatched rows from two tables.Basically need to compare one table data to another table and save the unmatched records from first table into new table.I used intersect to solve this.but getting Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE error. try {let Status = 'Accepted';let Project;let WorkPackage;let WorkOrder;let Jobcard;let InsertProjectData;let currentuser = Resources["CurrentSessionInfo"].GetCurrentUser();var currentdate = Date.now(); let EIDWData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_ DB_EIDWACTIVITYVERSION_DS"});let DWMProjectData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_DB_PROJECT_DS"}); let DWMWorkPackageData = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "DWM_DB_WorkPackage_DS"});let DWMWork
Hi PTC, In my thingworx service am trying to query influxDB to get the moving average and the standard deviation of one or more properties. Below is my code: //AggregateFunctions_Inputs is an array of inputsAggregateFunctions_Inputs.forEach(functionName => {if(functionName === "stddev"){//stddevfluxQuery += 'from(bucket: "thingworx")' +'|> range(start: ' + start + ', stop: ' + end + ')' +'|> filter(fn: (r) => ' + Measurements_Inputs.map(m => 'r["_measurement"] == "' + m + '"').join(' or ') + ')' +'|> filter(fn: (r) => ' + Fields.map(f => 'r["_field"] == "' + f + '"').join(' or ') + ')' ;}else if (functionName === "movingAverage"){//movingAveragefluxQuery = 'from(bucket: "thingworx")'+'|> range(start: '+start+')' +'|> filter(fn: (r) => ' + Measurements_Inputs.map(m => 'r["_measurement"] == "' + m + '"').join(' or ') + ')' +'|> filter(fn: (r) => ' + Fields.map(f => 'r["_field"] == "' + f + '"').join(' or ') + ')' +'|> movingA
I have a main grid widget on my mashup and I would like to display another grid widget upon clicking a cell on the main grid the way a popup would work. Is this possible on Thingworx version 9.4?
I have a scenario where I am executing a child service (inputs: ThingShape, Thing and Boolean) from another wrapper service. Now the child service fails if I pass a ThingShape that does not exist, so I am trying to write something like:If ThingShape Exists :TS = TS_NAMEElse:TS = undefined.How do I achieve this ?I have checked many OOTB services but none help with this.TWX v9.3.4
Hello.I am implementing mashup for a client and he wants to display on screen various bar charts, similar to those you see in the picture. I used Themable Bar Chart in Thingworx 9.3I used collection widget, each collection cell has only has this single chart widget.The problem is that client screen has small resolution and I can not allow to widget to have 32px padding. (see picture)Is there a way to remove/modify this two CSS rule (:host{} and [part~="chart-layout"]) from Shadow DOM?Thank you.Illya.
Hi,I am currently working on a project where we want the pageNumber to be controled via a session variable.When for example selecting an item and then clicking back, we want the last viewed pagination page to show. The property pageNumber is updated correctly when switching pagination page. But when clicking an item and back, it is not taking into account the last pagination page,How to solve this?// Oskar Berntorp
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.