Recently active
Hi, I am looking to sequence the rows by dragging the entire row to another place. How to make it in thingworx? Thank you
Hi, I'm working on some application in TWX where I would like to have filter in mashup. Currently it is working like= Search_string is found in infotable (e.g. BCD in ABCDE string) But, our users will also use local language string like e.g. BČD (in slovak language). How could I achieve that I can only use search string like BCD and I will get a result from BČD? Original table: Header ABČ XYZ Table with search string = ABC Header ABČ My current settings for filter in Service: "filters":[{"type": "LIKE","fieldName": "Class","value": "%"+search_string+"%"}, Thanks
Hi all, Following up on something that we noted in our documentation a while back, we are planning to deprecate the ability to update the request method via the Allow Request Method Switch in the Platform Subsystem. Although this setting is the disabled by default in ThingWorx, and leaving it off is strongly recommended to prevent cross-site request forgery (CSRF) attacks, it is still possible to enable it. We allowed for this option because of concerns about backwards compatibility, but now that several major versions have passed we are planning to make the default setting mandatory in a future release of ThingWorx (likely by the end of calendar year 2021). Removing the ability to Allow Request Method Switch will further enhance the security of the ThingWorx platform. Please see the relevant portion of the Help Center for details, and chime in on this post of you have any concerns. Best, Walter Haydock ThingWorx Product Management
Hi Everyone, I'm trying to write a service that can bind properties in my thing to data in an edge device. here's my code: // get all properties from the thing propertyDefs = Things[assetThing].GetPropertyDefinitions({ category: undefined /* STRING */, type: undefined /* BASETYPENAME */, dataShape: undefined /* DATASHAPENAME */ }); numberOfProperties = propertyDefs.getRowCount(); var params = { infoTableName: "PropertiesToAdd" /* STRING */, dataShapeName: "PropertyNamesForBindings" /* DATASHAPENAME */ }; var allProperties = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); for each(var property in propertyDefs.rows){ // Only add properties starting with "Fan" if (property.name.substr(0,3) == "Fan"){ var newRow = new Object(); newRow.name = property.name; newRow.description = "";//property.description; allProperties.AddRow(newRow); } } // loop through properties, and add source to each property. sourceNamePrefix = edgeChannelName + "."
Hi, I found a bug in the Fieldset-Widget. Nested fieldset inherit title of the parent fieldset. Scenario: I put three fieldsets inside of a other fieldset. The parent fieldset gets his title from a service. The first child fieldset gets its title from a other service. The second has a static string as title and the last child fieldset has a translated title (via [[translationToken]]). All fieldset now gets the same title (on runtime) from the parent fieldset. This bugs only occurs if the parent fieldset get the title via binding. Tested TWX versions: - ThingWorx 8.5.2-b90 - Thingworx 9.0.0-b9557
Hi, I have dynamic JavaScript service , like : let result = Things[thingName][serviceName](serviceParam); How can I get the base type of the result for such a dynamic service ? Regards, Sean
Hi All, We are calling Thingworx API from a AWS SNS topic when messages arrive at the topic. Currently we are using the APPKey in the REST API call from the SNS endpoint configuration. Is it possible to encrypt the APPKey and send it as an encrypted version in the endpoint configuration in the SNS. For security purpose we have restricted to specific users only but still that poses a danger if the Appkey is exposed somehow.
Hi Team, Suppose I have a below network:- A(Parent) B (Child of A) C(Child of B) where A ,B and C are ThingNames of ThingWorx Composer which is displaying on a tree widget in a mashup. Let say things A,B and C has common property as 'displayName' and I want to show the hierarchy as per displayName, then how would I achieve this to show a network on a tree widget in Mashup. For e.g., the result should be like:- displayNameofA displayNameOfB displayNameOfC (instead of ThingNames) In short, I want to add some property in a network hierarchy instead of ThingName (or any other alternative instead of thingname) Thanks in advance.
Hi , I am unable to add and delete row from grid advanced in Thingworx. i have a property in thing with base type infotable and i added few rows . i have Grid in Mashup which connects as below.... and grid properties as..below attached i haven't created any service (tell me if its needed). table i am seeing like in attached file thanks
Hi All, I am using Postman (calling RESt API) to create things and network. I was successful in doing so. Now I am trying to build the hierarchy in the network for the things that are created. I have used API key for authentication, and in the body tab I am using POST and providing the below URL where TestNetwork is my network - http://XXX.XXX.XXX.XXX:8080/Thingworx/Networks/TestNetwork/Services/AddConnection I have selected "raw" in the radio button type as JSON I have used the below code - { "from" : "SomeTestThing", "to" : "SomeTestThing1" , "connectionType" : "Contains" } But I got error 500 - internal server error I also tried with Javascript var params = { from: "SomeTestThing" , to: "SomeTestThing1" , connectionType:
Good morning, We are trying to use PrescriptiveMicroserver to get a goal for some tags. However we only have option to maximize or minimize the goal, is it possible to set the goal value? For example 800? And use the model to get this 800 value?
The catalina log has been closed. I have Tomcat 9.0.37 and Java 11.0.9 in my local machine. Also let me know how to set JAVA_OPTS using bat file as I am unable to locate "setenv.bat" file under Tomcat directory. Kindly help.
How can we run a Predictive model Python code in Thingworx Analytics?
Hi everyone, I'm trying to build a "dashboard creator" with Thingworx. In particular I have to bind data to widget at runtime. I followed the guide Customizable and Responsive UI https://developer.thingworx.com/en/resources/guides/customizable-responsive-ui/en/resources/guides/c... which I found very useful, in this guide the widgets change their data depending on the element of the list that is selected. My question is: Is it possible to associate the data, just like in this guide, by selecting the thing for the binding from a list, but keeping the selection for each widget and not changing the binding of the entire dashboard? What I would like to achieve is, for example, the association 'thing of the list' and widget by dragging. Can anyone give me a suggestion on how to do this thing? Thank you, Giorgia
I used the guides "Connect Raspberry Pi to ThingWorx" and "Setup a Raspberry Pi as an IoT Device". After setting up the EMS and connecting to TW i wanted to collect data with the Raspi UART pins / or UDP(same problem) so i could use the data for my property values. For this i used the lua package manager luarocks to install the modules 'periphery' and 'socket': sudo apt-get update sudo apt-get install luarocks --package manager for Lua modules sudo luarocks install luasocket (Web-Socket for UDP/TCPIP) sudo luarocks install lua-periphery (Raspi GPIO access) The data transfer script i created works fine on its own but when i want to implement it in my PiTemplate i get an error. At first the script of the PiThing: The serial connection starts at --Sensor Values; UART and ends with serial:close require "shapes.swupdate" module ("templates.200903_Paeslack_SimKI_TT", thingworx.template.extend) properties.cpu_temper
I'm trying to do a Python rest API call for the Thingworx service 'AddStreamEntry'. But i'm facing issues while passing the infotable in payload. val = {"rows": [{"PropertyName": "NP", "ThingName": "Coffee3", "Date": "2020-11-27T10:00:00"}], "dataShape": {"fieldDefinitions": {"PropertyName": {"name": "PropertyName", "aspects": {}, "description": "", "baseType": "STRING", "ordinal": 0}, "ThingName": {"name": "ThingName", "aspects": {}, "description": "", "baseType": "STRING", "ordinal": 0}, "Date": {"name": "Date", "aspects": {}, "description": "", "baseType": "DATETIME", "ordinal": 0}}}} url = '*****/services/AddStreamEntryNP'payload = {'values': val} getreq = requests.post(url,data=payload, headers=headers)print(getreq) Thingworx Java code : result = me.AddStreamEntry({sourceType: 'Python' /* STRING */,values: values /* INFOTABLE */,location: loc /* LOCATION */,source: 'Python' /* STRING */,tags: undefined /* TAGS */,timestamp: timestamp /* DATETIME */}); But gett
Hi, I have installed and configured Azure IoT Hub connector 3.0.1 in Thingworx version 8.5.1. I have added JSON parameters list to IoT Hub device Thing and bind the properties Remotely, Data is getting updated to properties. Where I can see the complete IoT Hub JSON data instead of Parameter wise in Thingworx .Could anyone help me on this? Regards, Latha
Hi, I'm trying to build a widget using the Visual SDK on Thingworx 9.I've already downloaded the required packages from the PTC Software Download page: MED-61347-CD-090_F000_WEB-Component-SDK-Utility.zip ThingWorx_Web_Component_Widget.zip In the official tutorial the steps are 4: Open a command prompt, then change the current directory to the location on your system where you extracted the SDK utility: cd twx-wc-sdk-utility Run the following command to install the utility: npm link Change your directory to the simple-el-widget/ folder that you created earlier (previously downloaded and unzipped😞 cd simple-el-widget In the widget folder, run the following command to create the extension: mub An extension ZIP file is created and placed in the dist/ folder of your working directory. You are now ready to import the extension. But the mub command gives me back this error: Starting series of gulp tasks for the wrapping... exec
Trying to follow the Mars Project with the interactive Dashboard where an image is background, seems only be possible with the legacy responsive Design. Has anyone a tutorial / example - how to set images in a layer behind other widgets like labels and gauges. When I am setting the image as background it is not responsive anymore and gets stripped away when the size of the window changes. Goal: Set the image and add other widgets on top that has fixed positions like in the Mars Project example (where the passengers and weather warnings are displayed as labels on top of the image). Looking for a way how this is done in ThingWorx 9 (in 8 it is quite straight foward) - Currently running on ThingWorx 9.0.2-b136. - Thank you!
Suppose I am using apache tomcat 9.0.37 zip file for installing ThingWorx then how I would I be able to set Java Options and Configure tomcat. Java 11.0.9 tomcat 9.0.37 Thanks in advance.
The integration engine fails with status [ServerErrorException - Internal Server Error] How can the integtration engine be stabilized to handle these kind of error? 2020-11-08 18:18:43.651 [ClientProcessor-1] ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed. Service operation failed with status [ServerErrorException - Internal Server Error] java.lang.RuntimeException: Your route exchange has failed. Service operation failed with status [ServerErrorException - Internal Server Error] at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77) at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:159) at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unk
Hi there! I created a custom READ only role (by following documentation) and I could remove Composer tile from composer. But if the User enters the http://<domain>/Thingworx/Composer/ URL in the browser they get, although limited, still access to the ThingWorx Composer. I'd like to change the behavior by changing the response (to not responding at all, responding 404, or redirecting) so that the user can't see the Composer at all. How would you do that? Any hints on the matter would be much appreciated. Regards, Nahuel
Hi,I achieved the connection between kepware and thingworx, but when I create the remote thing it appears to me disconnected, even though the industrial connections are connected. checking the properties of the remote thing, the isConnected property is without value ... how do I solve it? and checking the AplitionLog it throws me the following messages: Unable to dispatch [ uri = /Things/IIoT_Industrial_Server/Services/BulkLog/]: Entity IoT_Industrial_Server does not exist or is not yet associated with a Thing error executing APIRequest Message: Entity IoT_Industrial_Server does not exist or is not yet associated with a Thing, sending ERROR ResponseMessage to caller! ¿cómo lo resuelvo? thanks for your help
Is it possible to export nested infotable in excel: I have a infotable which contains an other infotable. I'm struggling with displaying the data from the nested infotable. InfoTable A : { name: "toto", address: { number: "2", road: "pin"} } I can easily display name by referencing it with {{name}} in excel template but i'm not able to reference number and road. Any idea ?Thanks.
Hi Friends! Can anyone help me with this error. I'm new to this, so please show me step by step. tomcat8-stdout.log: [localhost-startStop-1] ERROR com.thingworx.system.ThingWorxBootstrapper - [message: java.lang.Exception: Table [BasicSettings] does not have a field named [ScriptTimeout]]com.thingworx.exceptions.ConfigurationException: java.lang.Exception: Table [BasicSettings] does not have a field named [ScriptTimeout]at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:1875)at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:74)at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)at org.apache.catalina.core.ContainerBase.addC
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.