Recently active
Hello everyone, I'm a newbie working with Thingworx platform. Currently, I have some concerns about the EMS and Lua script. I already knew about the benefit when we use the EMS to connect the remote thing. But the REST API, SDK and LUA script make my confusion: - When I use EMS standalone, I can Read/Write data from Thingworx Platform through the REST API of EMS. So, the workflow I prefer is read data from sensor -> Use PUT request to send data to Thingworx via EMS. It is practice for me because I can use only one script (in any languages programming) to read data and send it to Thingworx. I saw some examples concern about Andruino and other microprocessors, so I think that is is a good choice to send data via REST API because they can access to Wifi but they can't program with LUA or SDK. That is why I concern about the LUA script. The LUA script is just an optional in Thingworx or it required to connect all the remote things ? - By the way, it is similar with the REST
What I've done: - thing created - in thing: -- property created: temperature NUMBER -- service created: getTemperature(): var result = me.temperature; output NUMERIC -- service created: increaseTemperature(): me.temperature++; -- service created: decreaseTemperature(): me.temperature--; - mashup created - in mashup: -- added gauge widget -- added label -- added button: "plus" -- added button: "minus" -- added entities: all 3 services from thing -- connected button Plus click event with increaseTemperature() -- connected button Minus click with decreaseTemperature() -- connected gauge data with getTemperature() -- connected label text with getTemperature() Now I try to view my mashup Buttons Plus and Minus work well. I see in the model that my value changes correctly. But Gauge and Label don't work. Gauge doesn't show Arrow. Label doesn't show value. What I'm doing wrong? I've make even a third button "refresh", and I've connected the click event with
Hi, is there a way to switch off the scrollbar on a collection widget (when it is not required). I have a number of instances where I use the collection widget and there is only one row, so no requirement to scroll. However, whenever you hover over the widget the scrollbar appears whether or not scrolling is required. In the Thingworx version we have there is the option to change the scrollbar to only appear when hovering, but not a way to hide it that I can see. Thanks, K
Hey guys, I've been trying to create routes in Google Maps so I created an InfoTable with some latitudes and longitudes to connect these points as a route. I created a Thing named Route with a property InfoTable based on a Data Shape that has 2 Field Definitions: Index and Location. After that, I added the latitudes/longitudes into this Infotable and, with the GetPropertyValues service, I connected the Infotable property with the RouteData (and Data to show the locations I added) GoogleMaps Widget property (and enabled ShowRoute). However, when I ran the Mashup, it showed this image I am uploading, tracing a line, not a polyline. Could someone help me with creating actual routes and not lines?
Hi All, I have a query regarding how to store the Form data into a Table from a mashup. I have a particular scenario where I have a mashup with a Data Entry form in it. Upon filling the fields in the form, the user should have the option to save and submit the data. The data has to saved in an infotable dynamically. I will provide a screenshot of how the form data looks like.. Kindly provide a solution to my query. Thank you so much in advance. Best Regards, Airin
Hi I want to get gateway name from which remote things are binded/connected . Is there any service in Thingworx composer which can be used ? I am using two types of gateway :- IndustrialGateway , SDKGateway Regards Rahul
Hello, I did SDK tutorial. I have some error with FileTransfer example and Simplethingclient.I have no issue with ExampleClient and Tunnel Example and I am stuck on the following error. How could I try to solve it ?I don't know how to solve them. I have already retry configuration of eclipse three times with different project but no progress 😕I am able to connect to the hosted thingworx server because I receve this message :> [main] INFO c.t.s.simplething.SimpleThingClient - ****************Connected to ThingWorx Server****************However, I have for the two example the same kind of error :(SimpleThingClient example ) > com.thingworx.common.exceptions.GenericHTTPException: Unable to dispatch [ uri = /Things/SimpleThing_1/Services/CreateNewThing/]: Unable to Invoke Service CreateNewThing on SimpleThing_1 : Execution error in service script [CreateNewThing] :: Entity [EntityServices] does not existat com.thingworx.communications.client.BaseClient.invokeServic
Hello, I am trying to copy multiple widgets from one tab to another one tabs are copied as part of first course of TW. but message -"You can only paste widgets in responsive container" so How to make unresponsive tab to responsive one? thanks
Hello, I am using 3d model view extension. https://marketplace.ptc.com/apps/193599/3d-model-viewer#!overview I am able to load 3d image on the widget, it shows only black n white image. May I know how we can view the textured/Colored image.
I have 3 instances set up with the same entities, however on one instance the Form Login logo is not loading correctly. It's trying to access the www.address.com/Thingworx/OrganizationLogoViewer/Logo page and it gets a 500 error. Is there some permission on the Thingworx side that I am missing? I can't find any documentation on this error and haven't seen it pop up anywhere. Any help is greatly appreciated.
Hi all, I've been developing in Thingworx for a while now and I was wondering if it was possible to reference a Widget Property in a service, something like: if (condition) { [WidgetProperty] = [Something]; } else { [WidgetProperty] = [SomethingElse]; } I know that Widgets have pre-defined services and inputs/outputs but my question is: Could I write a code that defines the input of the property based on a condition? If possible, how do I reference this property in the service? Thank you.
Hi, We have installed ThingWorx 8.2 in client's server and have used the software downloaded from our account. After the installation while licensing, we used the client's account and downloaded the license and put it in the platform folder. The license got renamed as successful but when we try to access the composer, it shows a error message that license is not entitiled. How can we proceed with this? Thanks, Shalini V.
I've created main mashup with some other mashups in layout, eg, header, footer, sidebars, content. I want to change displayed mashup in content section, from ContentMashup01 to ContentMashup02 by pressing the button in LeftSideMashup. How can I do this properly?
Hello, I defined the status table and one alert basing the same asset property, e.g. status. It happens that the alert is immediately triggered as soon the status property value changes, while the status changes after some seconds (about 30 seconds). Then for some seconds the Asset Advisor monitor shows the Asset still 'Running' (should be 'Planned Downtime') while the Alert is active. Is this behavior correct? Many thanks Martina
Hi all, I am having difficult for show the google maps in my mashup. Happen the following error: "Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details." I even created my API Key and paste in my "Required string to connect with Google for Google widgets" but this did not work. Thanks,Leonardo
Hi All, I am facing "Wrapped java.lang.NullPointerException " error while trying to execute AddStreamEntries to add records to stream. TW Version 8.3 Please find below the code var column = "FlowRate";var params = {t: result1 /* INFOTABLE */,columns: column /* STRING */,aggregates: "AVERAGE" /* STRING */,groupByColumns: "date" /* STRING */};// result: INFOTABLE//var resultAggregate = Resources["InfoTableFunctions"].Aggregate(params);var result = Resources["InfoTableFunctions"].Aggregate(params); var resultLength = result.rows.length; //logger.warn(resultLength);var Values = Things["FlowRateAverage"].CreateValues();for (var m=0; m < resultLength; m++) {var resultRow = result.rows[m]; var newValues = new Object();newValues.date = resultRow.date; newValues.FlowRate = resultRow.AVERAGE_FlowRate; Values.AddRow(newValues);} result = Values; var paramsForAddStreamEntryService = {sourceType: undefined /* STRING */,values: Values /* INFOTABLE*/,location: undefined /*
I have a master mashup with a repeater widget I would like to print that master mashup but splitting each repeater item into a single A4 page I tried using print CSS like "media print " and I can get some result (A4 orientation) but cannot split the repeater into A4 pages even using page-break-after property ... How can I do ?
Hi all, I want to bind my alert with widget, for example: When happen an anomaly alert show in my dashboard "Anomaly Detected" I even created my alert and I am showing it in mashup below: Regards.
Hi I am not able to start manufacturing apps on my local machine. I am using a demo version of 90 days and I installed it on 25 March 2019. can anyone tell what can be the problem?
Hi, I have a master with a menu and a mashup container. On the top of the master I would show the current page title. Some pages (mashups) have lists of items. If I double click them I jump to a new page with the data of the item. Now I will show "machine xzy" in the top of the master. To get the double clicked item I will use the url parameter. How can I get url parameter in master?
Hi, I want to know whether we can add our own tiles in the manufacturing apps ? If possible , how to get that ?
Hi, Is it possible and how to allow the user to mark a check box named , for exmaple, "remember me" in the login form, so that the user don't need to input the user/password everytime ? Regards, Sean
I have a combo box with multiple values that will be selected in it.How can i assign this vaues to a service with input as infotable or aything.Basically i want to know whihc all values got selected in the combo box as of now am getting only 1 value instead of all selected values
We're trying to pull process plans from windchill into the operator advisor data model. We configured the necessary things and calling "getprocessplans" on the PTC.SCA.SCO.DefaultMPMLinkODataConnector works. When trying to run the service ConvertFromProcessPlanId and pasting in a processplanid I got from the getprocessplans service however I get the error: Error executing service ConvertFromProcessPlanId. Message :: TypeError: Cannot find function GetDescribedByDocumentsByOperationID in object com.thingworx.connectors.http.odata.ODataConnector@1867baa3. - See Script Error Log for more details. When looking in the ODataConnector the service doesn't exist as the error states. When trying to add a route to the service the service isn't found either. I tried adding namespaces like "Factory" and found some other rest services related to documents but not the one I need. Does anybody have an idea what we did wrong and why the GetDescribedByDocumentsByOperationID&n
I am trying to connect to Rspberry Pi and getting the below error - any idea how to fix this. I am able to connect to Raspberri Pi remotely using VNC Connect but not able to proceed any further due to this error. The Raspberri Py and my PC are both connected to my home wifi. pi@raspberrypi:~/microserver $ sudo ./wsems[FORCE] 2019-06-08 18:32:31,230 ./wsems: Initializing EMS ....[FORCE] 2019-06-08 18:32:31,230 main: Using config file /home/pi/microserver/etc/config.json[INFO ] 2019-06-08 18:32:31,230 ./wsems: Creating the WsEms proxy.[INFO ] 2019-06-08 18:32:31,230 ./wsems: Starting HTTP Server.[WARN ] 2019-06-08 18:32:31,231 Main: Encryption is disabled on HTTP Server.[WARN ] 2019-06-08 18:32:31,231 Main: Authentication is disabled on the HTTP Server.[INFO ] 2019-06-08 18:32:31,231 ./wsems: Initializing the ThingWorx REST interface.[FORCE] 2019-06-08 18:32:31,231 httpServer: [INFO ] 2019-06-08 18:32:31,232 wsEmsProxy::initialize: FIPS is disabled.[INFO ] 2019-06-08 18:32:31
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.