Recently active
Hi TWX Gurus, I have a typical problem-I would like to pass variables from grid(which is on one mashup screen) to another mashup, my grid is populating from database. 1. I have tried creating variable in both the mashup & assign the variable from DB service to navigation panel/as well to local Mashup variables property. But when double click- new mashup is coming but not able to passing values. 2. I tried with creating one thing service and assign the values to property- but that is also not working. Can anyone please tell me - which event to fire to pass the variable to other mashup as well how to navigate. Thanks in advance! ~PC
Hi , I need to implement a java extension to export infotable, it would be feasible if writing the data via FileRepository and download it and then delete it , but it's a little bit tedious. Is it possible to return a servlet OutputStream ? Regards, Sean
Hi, I am trying to convert infotable data into JSON. The fields order available in InfoTable is not same in JSON string. How to reorder the fields in InfoTable? Fields not follow the infotable order in JSON. How to resolve this? My Infotable: Converrted JSON: {"rows":[{"Description":"Demo","AddedOn":1596949613100,"AddedBy":"Administrator","TemplateFile":"Report.xlsx","Template":"Report Demo"}],"dataShape":{"fieldDefinitions":{"Description":{"name":"Description","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":2},"AddedOn":{"name":"AddedOn","aspects":{"isPrimaryKey":false},"description":"","baseType":"DATETIME","ordinal":4},"AddedBy":{"name":"AddedBy","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":5},"TemplateFile":{"name":"TemplateFile","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":3},"Template":{"name":"Template","aspects":{"isPrimaryKey":true},"description":
Hello everybody, has anybody successfully tried the "new" way of developing thingworx extensions based on the twx_wc_sdk? I followed this guide (http://support.ptc.com/help/thingworx_hc/visual_sdk/) up to the step: npm install twx-wc-sdk/ptcs-library This gives me an error: npm ERR! Error while executing:npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/twx-wc-sdk/ptcs-library.gitnpm ERR!npm ERR! Host key verification failed.npm ERR! fatal: Could not read from remote repository.npm ERR!npm ERR! Please make sure you have the correct access rightsnpm ERR! and the repository exists.npm ERR!npm ERR! exited with error code: 128 Seem the repository at github is not valid. Greetings Andreas
Hello, We have added a time series chart widget in our mashup and configured it to see tool tips values (EnableHover property checked), but we don`t see the values when we hover over a marker. Has anyone had the same problem? We are using Thingworx 8.5.2. Thanks in advance,
Hi Team, I have multiple polar H10 heart rate Fitness band, So i want to get this bands data in the thingworx,How can i do that? I have no idea how to get this data in the thingworx i am totally blank.. Polar h10 video link for your help. please suggest the way.
I am currently trying to invoke a service but my params are not being set for some reason. This is the java code... //// Invoking a service on a Thing/////////////////////////////////////////////////////////////// // A ValueCollection is used to specify a service's parametersValueCollection params = new ValueCollection(); params.put("name", new StringPrimitive("testThing"));params.put("description", new StringPrimitive("Here is thing created from a service via Java."));params.put("thingTemplateName", new StringPrimitive("RemoteThing")); // Use the CreateNewThing service from SimpleThing_1 to create a new thing.// This service's result type is NOTHING, so we can ignore the response.result = client.invokeService(ThingworxEntityTypes.Things, ThingName,"CreateNewThing", params, 5000); And the service has this javascript within it... var params = {name: name /* STRING */,description: description /* STRING */,thingTemplateName: thingTemplateName /* THINGTEMPLATENA
Hi everybody, I am not able to set the Cache Method of a Remote Thing Template created via services. I am using the AddPropertyDefinition function. Since there is no option to set cacheTime directly, I included it in the remoteBindingAspects option, but I am not sure the syntax is correct or whether I can even do that or not: var remoteAspects={ cacheTime:-1, }; var params = { // defaultValue: undefined /* STRING */, remoteBindingAspects: remoteAspects /* JSON */, // description: undefined /* STRING */, // readOnly: undefined /* BOOLEAN */, type: me.PressProps.rows[i].DataType /* BASETYPENAME */, remote: true /* BOOLEAN */, // remotePropertyName: undefined /* STRING */, // timeout: undefined /* INTEGER */, // pushType: undefined /* STRING */, // dataChangeThreshold: undefined /* NUMBER */, // logged: undefined /* BOOLEAN */, name: me.PressProps.rows[i].PropertyName /* STRING */, // pushThreshold: undefined /* NUMBER */, dataChangeType: "ALWAYS" /* STRING */, //
Come faccio a scaricare i dati storici del sensore nell'applicazione Creo Product Insight da un server ThingWorx. Grazie
I created a PMML model with R and want to import it into Thingworx. In the Analytics Manager I created an Analysis model but I can't enable it because it's not ready for testing. I do I make it ready for testing?
Hi, Is there a particular guide or series of steps that we have to follow while upgrading from Thingworx 8.4.5 to 8.4.11. I mean is there any DB upgrade script or something else, or I can just replace the WAR file. I am using MSSQL as persistence provider. I know that when upgrading from Thingworx 8.4 to 8.5 we have to follow certain steps, which includes running DB update scripts and some backup, but I was not able to find any such information when I want to upgrade from 8.4.5 to 8.4.11. Thanks in advance Aditya Mittal
Is there a way to check the parent user group of a user group? Is there such a service?
Hi I wanted to know if there is way I can get the data provided in different widgets in a mashup as a group or like an infotable into my service. If I make this a bit clear, let's say I have a scenario where I have a mashup where the user will be providing details of the item they have purchased. I am having 2 text boxes (name of the item and price) and I also have a drop box to get the category the item belongs to. If the user have brought 2 items then there will be total of 4 text boxes and 2 drop boxes. If I am giving the values from these widgets directly to my service then I will have to limit on the number of items the user is buying but I need this to be dynamic.For this purpose I gave a grid where I had written a service to make blank or empty rows depending on the number of items (like if there are 2 items then the grid will have 2 empty rows). This grid was an editable grid too. But the issue then was that I was not able to give a drop box inside a grid. I also t
Hi, I need to use a different font family than the listed above in the style property of a themeable widget. Where can I add the value? I tried with custom CSS but not coming out good as expected, especially in checkbox label. Regards, Janakiraman P
Hello, I've the requirement like, in event chart its shows both start and end time which is able to bind.Attached screen shots for reference.In that screen shot it shows only start time but we need to end time also.
Hi Folks, @PaiChung @slangley Text Field widget is not focusing for latest Chrome browser update. It was running fine when used Chrome Version 79.0.3945.130. But recently I updated to chrome version 83.0.4103.116 and all the Textfield widgets have stopped focusing when user start typing into it. Cursor "|" is not visible upon focus. Can somebody please confirm whether its a bug in this particular Thingworx version? or there is any work around available. *TextArea widget is working fine with latest version of Chrome browser. Note: I'm using ThingWorx 8.5.4-b222
Hi, I am trying to connect Kepware Server to thingworx Fundation. I am able to establish connectivity between Kepware and TW fundation however, when I try to read tag it says "Tag not connected" Any advise
Hello guys, Let me expose some issue that occurs during learn step on Learn Path module. Exactly in the guide called “Use the Edge MicroServer (EMS) to Connect to ThingWorx”. In this guide the EMS can`t connect to the server. Appear code 201 error. I tried change the log level, changed to DEBUG. Like this link expose. https://community.ptc.com/t5/ThingWorx-Developers/ERROR-Connecting-WS-EMS-on-Raspberry-Pi/td-p/569910 Became the same error. I noted a little strange difference between the number of folders that appears in the example… Maybe it would be the problem? Or other procedure. Thanks. Att. Diego Tavares
I have recently been doing some things in the Java SDK tutorial and I have gotten to a point where I can connect to the thingWorx hosted trial server, create a remoteThing, and bind it to a Thing that has been created in ThingWorx with the same name. What I am trying to do now is either.. A) add a property via Java code and then add values to it, this way I can update these every n seconds. or B) Simply add values to a property created in ThingWorx already. For some reason when I use this code.... // Writing a property/////////////////////////////////////////////////////////////// LocationPrimitive location = new LocationPrimitive(42.36, -71.06, 10.0); // This will set the CurrentLocation property of the Thing to the GPS// coordinates of Boston, MA.client.writeProperty(ThingworxEntityTypes.Things, thingName, "CurrentLocation",location, 5000); I get this error... com.thingworx.common.exceptions.GenericHTTPException: Entity TunnelExample does not exist or is not yet
Hi, previously in 8.3 i have used a frame layout widget but after migrating to 8.5 the only one frame is visible in runtime.
how to select default tab in thingworx mashup?
(This problem has nothing to do with Manufactory Apps , and probably even has nothing to do with Kepware, Please DO NOT move it to that area) Hi, I have 2 channels in Kepware and each channel has a device. The data tag get updates well when both of the devices are on, but once one of the device get shutdown, the delay of the data tag of the other device becomes immediately obvious. And if set the shutdown device to "simulate" mode, then the delay of the other device become good. Since the devices are in separated channels , they should not have impact on each other. But the IndustrialConnection is shared, would be the problem caused by IndustrialConnection ? Like , the remote thing of ThingWorx keep sending heart beat request to IndustrialConnection and the request queue become too long if the device get shutdown, which cause the delay of other device become lo
Hello, I have a variable on kepware of a setpoint value that is sent to thingworx only on the data change. This variable can remain fixed for days but I need to view daily trends with related reports with this variable. Is it possible to force scripts that, once a day, this value is still written to the database even if it has not changed?
This is related to consumption of external REST APIs from Thingworx. I am trying to use Content Loader Services for this. The problem is that external system uses OAuth 2.0 instead of basic authentication. So that means to consume any API we need to pass bearer token instead of Username password to get response each time. And to generate the Beaer token there is Auth API, but to consume that we need to pass username and password externally( login page comes up). I just wanted to understand if there is a way in Thingworx we can achieve this. Or any other examples you guys have tried accomplishing OAuth 2.0 mechanism.
Hi everyone, I'm beginner with Thingworx and I'm using: Thingworx 8.5 with Postgre I'd like to know how can I to create a timer to get active session. For example: I wanna motinor for how long time an user is logged. Is possible create a timer to do it? Regards, Leonardo.
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.