Recently active
Hi All, I currently try to use "ImagingFunctions" from Imaging Tools Extension, but i have some problems 1) I can't input image parameter. I try these two ways but none of them work image: "/Thingworx/MediaEntities/DogJPG" /* IMAGE */image: "C:\Users\Desktop\Thingworx8\ManU.jpg" /* IMAGE */ 2) What is the meaning of these parameters? Thanks!
Hello, i am trying to get the data from my PIR motion sensor to the remote PiThing i created in the Quickstart guide. i added this code in the PiTemplate.lua properties.PIR = { baseType="NUMBER", pushType="ALWAYS", value=0 }local sensorCmd = io.popen("python etc/custom/templates/11.py")s = sensorCmd:read("*a") properties.PIR.value = s and i tried with 2 types (with and without a loop) of python code (the code works fine if i am trying it from terminal only in the raspberry Pi, does not work in TW) that i attached. the other sensors as in the guide work just fine, only with this one i am not getting any data, event though the remote thing sees it as a property can anyone please help?
Hi, I am using the Thingworx 8 Foundation Trial with Analytics Server. I am attempting to go through the guide "Build a Predictive Analytics Model'. Everything is working fine until I get to the point where I view the model. The model is created successfully but then I select view Thingworx just gets stuck in a loop processing something behind the scenes. I checked the logs and there is nothing indicating there is a problem. Has anyone successfully completed this guide that could offer some tips? Screenshots attached. What I am expecting is some form of graph showing how accurate the model is. Thanks, Martyn.
I have a datetimepicker widget on a mashup (TWX 8.4.1), and I'd like to limit the available range that a user can choose from. For example, my user should only be able to choose a calendar date within the past 7 days. By default, it seems that the widget has no time limits. Anyone done this before?
All - I wanted to share a hard learned lesson when using the Utilization Subsystem to track statistics on the executed services on the platform. The Utilization Subsystem has 4 settings on its configuration tab, and we had all 4 set to TRUE: We found that when we had the last setting set to TRUE, then our TempDB file for MS SQL Server was growing very quickly (40 - 50GB every 24hrs). Our server was running out of disk space daily and when we restarted the server, we got all the TempDB space back and everything ran fine for another day. We wrote an app that monitors the TempDB size on our SQL server and you can clearly see when we changed setting "Enable Statistics Persistence" to FALSE and the growth speed of the TempDB database slowed drastically. Wanted to share with anyone else using the Utilization Statistics in 8.3 and above.
Hello all, I am using the new collection widget in Thingworx 8.4.0 to display 4 mashups of different colors. I have this widget in its own mashup that is contained within a master. On the master, I am able to edit two text boxes, height and width. When I have changed one of those values I press the "update" button and updated the row in the DataTable associated with the collection widget. This then changes the height and width values of each mashup in the collection widget, however it does not update even though I call the service again that initially loads the data into the collection widget. When I refresh the mashup that contains the collection widget, you can see the changes from the new Width or Height values. I attempted to run an expression with location.reload(); on the embedded widget, however that reloads the entire mashup and I only want to update the collection widget. However, I have discovered that if you open a mashup within a master and use the debug view's "Reload" but
Hi, I have a device that is using the REST API to update its properties on the Thingworx. I would like to have a service call on the Thing instance to make the device reboot. Can the device poll the Thingworx platform for any pending reboot service request and reboot itself? Thanks
Hello, I have a problem with "FileName" variable from "FileUpload" wiget. I am trying to connect this variable with a string variable from one thing, but the file name of user don´t show in the string variable. Do you know if "fileUpload" widget is working in Thingworx 8.4? Could you help me with that? "RepositoryName" is showing correctly in "Repository" but "FileName" not. Thank you in advance, BR Luis
Hi, I have a drop down list with two values(eg. serial no,order no.) and have two text box(textbox1,textbox2). What i want is ,when you select a one value(serial no.) from drop down list your textbox1 must be visible and when you select order no. from drop down your textbox1 must become invisible and textbox 2 must be visible.(textbox1-serial no , textbox2- order no) and vice versa. How can i do this? Please help me. Thanks and regards, Sheetal Sable
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?
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 ?
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.