Recently active
I am trying to create an extension, which provides a Template having a service for dynamic custom thing creation. After installing the extension and creating a Thing from the extension template, i am executing the createThing service. I am successfully able to create the Things dynamically using the below code, however my property is not getting updated. public static void createSomeThing(DeviceNode node) throws Exception { String thingName = "MT-" + node.getName(); Thing deviceThing = ThingUtilities.findThing(thingName); if (deviceThing == null) { deviceThing = ThingTemplateUtilities.createThingFromTemplate("MyTemplate", thingName, node.getName(), true); } deviceThing.EnableThing(); deviceThing.RestartThing(); if (deviceThing.GetValueStream() == null) { String streamName = thingName+"Stream"; Thing deviceVS = ThingTemplateUtilities.createThingFromTemplate( "ValueStream", streamName, "Value stream for " + node.getName(), true); deviceVS.EnableT
Hey, I followed the raspberry pi quickstart and it works well but I need to update the values every 5 secondes how can I do that ? I searched in the microserver 's file but I didn't find where to change this option. I think it is Inside the microserver/etc/custom/templates/example.lua but I don't know which line so if someone can help me Thank you.
Hello, I have the following error message on device side: "Binding failed, see server log for more information" (See screenshot attached here). This error is displayed when calling the function "twApi_BindThing(thingName)" on device. I looked at the logs server side but I didn't find anything. The message isn't displayed the first time the device starts after creating the thing (Server side) , it's during a second startup of device. TW version used currently: 8.2.1 The same software used on the device side works properly using the thingworx version 7.4 Thank you in advance for your help.
It would appear that the necessary building blocks are available in the .NET SDK to support SCM. However, I have not been able to pick apart the back-and-forth interactions between the .NET SDK Gateway I have built and ThingWorx to get a firmware update to occur. It would be very helpful to have a description/tutorial that describes what is necessary on the SDK-side of implementing support for SCM. Here is what I can see: The TriggerUpdateAction() service in my FileTransferVirtualThing-based object is getting invoked with a 'start' action. The params JSON object, however, is null even though I can see data in the logs. I'm guessing that a FileTransfer event would need to be fired from the FileTransferVirtualThing to ThingWorx to indicate progress/failure The ScheduleDownload() and ScheduleInstall() services in the FileTransferVirtualThing play some role in processing, but I'm not sure what event I need to pass back to get them invoked. At t
Hi, I have following scenario in ThingWorx:A thing is created with properties: Property1, Property2, Property3, Property4 and Property5 etc.I wish to display these property values in mashup and at the same time I want to update them from mashup itself.How can i achieve this? Thanks!
Hi All, I am getting Lat and Long of a plant location from Database which are of VARCHAR . I am trying to convert them to Location datatype in Thingworx, but getting following error. Unable To Convert From java.lang.String to LOCATION Can someone help me on this ?
I'm using ROC Chard widget it works fine, linking an infotable to "Data" and selecting the XAxisField and DataField 1..2.... However the XAsixField can be parametrized. If i link XAsixField to a string (eg a textbox, just to try) giving the name of the field to use, the widget does not works. I can make it running only if a select directly on the widget the infotable field use. Has anyone used this XAsixField as a parameter ? Is there a particular "syntax" for selecting the field name with XAsixField ?
Spoiler (Highlight to read)Hi All,I created a service using the snippet function GetText and received this mesage error:"Name or service not known - See Script Error Log for more details."See the code below for details var token = "eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiJlNDIzNjI2NS1kMjBlLTQwYmMtODExMC1mYWVlYWFlZjE4ZjUiLCJzdWIiOiJhZG1pbiIsImF1dGhvcml0aWVzIjpbImNsaWVudHMucmVhZCIsImhpc3Rvcmlhbl9yZXN0X2FwaS5yZWFkIiwicGFzc3dvcmQud3JpdGUiLCJjbGllbnRzLnNlY3JldCIsImhpc3Rvcmlhbl9yZXN0X2FwaS5hZG1pbiIsImhpc3Rvcmlhbl9yZXN0X2FwaS53cml0ZSIsImNsaWVudC5hZG1pbiIsImNsaWVudHMud3JpdGUiLCJ1YWEuYWRtaW4iLCJzY2ltLndyaXRlIiwic2NpbS5yZWFkIl0sInNjb3BlIjpbImNsaWVudHMucmVhZCIsImhpc3Rvcmlhbl9yZXN0X2FwaS5yZWFkIiwicGFzc3dvcmQud3JpdGUiLCJjbGllbnRzLnNlY3JldCIsImhpc3Rvcmlhbl9yZXN0X2FwaS5hZG1pbiIsImhpc3Rvcmlhbl9yZXN0X2FwaS53cml0ZSIsImNsaWVudC5hZG1pbiIsImNsaWVudHMud3JpdGUiLCJ1YWEuYWRtaW4iLCJzY2ltLndyaXRlIiwic2NpbS5yZWFkIl0sImNsaWVudF9pZCI6ImFkbWluIiwiY2lkIjoiYWRtaW4iLCJhenAiOiJhZG1pbiIsImdyYW50X3R5cGUiOiJjbGllbnRfY3J
Hi, I'm following the guide https://developer.thingworx.com/resources/guides/anomaly-detection-how-guide . During the model training it fails after calibrating and the application log throws out this error multiple times Not really sure what the issue could be. Both the training and results microservices are up and running. Thanks.
Hi Community, I wish to design permissions on thing permissions programmatically: Does anyone have any advice on how to achieve this? Regards, Andy
Hello, I have one 'break reasons' dropdown list. My requirement is to show 'Reason' label widget and respective textarea widget on dropdown item(item - 'other') selection and for dropdown items other than this I want to disable textarea. How to implement that? Thanks.
Dear Sir or Madam, I am very new to ThingWorx especially on Manufacturing Apps. I have seen the Example ot it when I was in Hannover Exhibition 2018 (2 Weeks ago). I want to login the Manufacturing Apps from another computer. How could I do that? So following actions have been done : 1. I have installed the ThingWorx Dev Kit and Manufacturing Apps on my Laptop 2. My KepServerEx is connected to the Manufacturing Apps 3. Maschines are already online in Manufacturing Apps 4. Analyse, i.e. OEE is done. 5. I have made a new User for our Maintanance Manager So our Maintanance Manager want to overview from his Computer. But I have only a blank Screen. What should I do? Is it possible to login Manufacturing Apps from another computer? Or should I do something on ThingWorx Composer? Thanks in Advance. Regards, Yonathan
I'm also having this issue
I am getting the following flow of events: 14/05/2018, 15:15:07Start/Request profile of Dataset 2018-05-14 15:15:21.298 GetProfilesAMS: Error calling RetrieveResult(): JavaException: com.thingworx.common.exceptions.GenericHTTPException: [ProfilingMicroserver] could not retrieve result for jobId [15ac9974-3fa7-449e-b05d-9aa8f6b7778c]: Unable to retrieve results at results:/profiles/15ac9974-3fa7-449e-b05d-9aa8f6b7778c. Received response: {"code":404,"message":"Could not retrieve result [15ac9974-3fa7-449e-b05d-9aa8f6b7778c]"} This last message is constantly surging. Basically it seems analytics is stuck in trying to get results. Until today (1 day later) I have a running profile job request. When I try to delete: 2018-05-14 15:51:00.745DeleteProfileAMS: ERROR deleting signal job: jobId=15ac9974-3fa7-449e-b05d-9aa8f6b7778c: JavaException: com.thingworx.common.exceptions.GenericHTTPException: Cannot delete a job in queued or pending state Which is
Unable To Convert From com.thingworx.types.collections.ValueCollectionList to JSON Within my service ParentService (with output type set to InfoTable) I call ChildService service which returns result: INFOTABLE dataShape: "undefined" and I set result to that InfoTable so this can be converted to JSON so a Rest client can ask for JSON response. This "undefined" Infotable when converted to JSON will have this shape: { "dataShape": {...}, "rows": [{firstobj}, {seconobj}...] } I want to return only result.rows, but that is treated as ValueCollectionList which cannot be converted to JSON. I used InfoTableFunction's ToJSON service and I got almost what I wanted with .rows, but now I need to remove{ "array": part and only get this as a return object: [{obj1},{obj2},{obj3}]. I want then to save this json return value to a repository file. So how can I do that? It is a strange that "array" property is added. I don't want to have a wrap
Hi guys, I was following this tutorial to operationalize my model but I'm getting an error whenever I publish the model to Analytics manager: Model deployement failed on connector TW.AnalysisServices.ThingPredictorConnector I tried the solution on this post but I couldn't find the ThingPredictor jar. I'm currently on the hosted trial. Is this something that is not available with the trial. If so, how can I get access?
I followed the article published here https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS238970I am using Thingworx 7.1For some reason "result.Length" is coming as undefined? I tried uppercase and lower case both. So it does not go into for loop to add content in the infortable.var result = Resources["ContentLoaderFunctions"].GetJSON(params);logger.debug(' object ' +Object.keys(result).length);logger.debug('Result' +result.Length);thanks.
Hey, I just followed this tutorial, to create a Stream storage, but I need to employ a Mashup to see the values. My problem is how to do that knowing that the service to add Stream entry is not automatically called. When I change the value of a thing and I don't launch the service 'Add_Stream_Entry_Services' Nothing is showed in the QueryStreamEntriesWithData test service. I want to insert values in QueryStreamEntriesWithData service without clicking test service 'Add_Stream_Entry_Services' each time. Thank you
Using the example config.json from https://developer.thingworx.com/resources/guides/thingworx-raspberry-pi-quickstart/configure-ems with my hosted instance and generated appKey I get the following error when executing "sudo ./wsems" [FORCE] 2018-03-26 14:34:17,302 ./wsems: Initializing EMS ....[FORCE] 2018-03-26 14:34:17,302 main: Using config file /home/pi/thingworx/microserver/etc/config.json[INFO ] 2018-03-26 14:34:17,302 ./wsems: Creating the WsEms proxy.[INFO ] 2018-03-26 14:34:17,302 ./wsems: Starting HTTP Server.[INFO ] 2018-03-26 14:34:17,302 Main: Using custom certificate and private key for HTTP Server[ERROR] 2018-03-26 14:34:17,303 Main: Failed to get HTTP Server ssl configuration.[FORCE] 2018-03-26 14:34:17,303 Main: Exiting....[DEBUG] 2018-03-26 14:34:17,303 jsonConfigurator::~jsonConfigurator: Deleting JSON object
I am currently using Thingworx 8.0 and Navigate framework 1.5Scenario is,1. I have configured Thingworx with SSO using PingFederate as Authentication server and Windchill-ds as directory server.2. We are using WQS (Windchill Quality Solutions) is dot net based application as a resource provider which is also SSO configured.2. I have successfully logged in to Thingworx using SSO.3. Our existing architecture is able to call dot net based web api using Soap request, but its giving bad response error. for e.g. Here we are using http:\\localhost\PTCWindchillQualitySolutions11.0\DataEngine.asmx url in Soap request to call WQS api's. But as 'http:\\localhost\PTCWindchillQualitySolutions11.0\' this path is configured in Shibboleth for SSO configuration then I guess its trying to login using SSO when we send Soap request to above url and since it do not find any token its giving bad response error.For reso
Weather App with ESP8266I try to connect a DHT22 sensor by ESP82266 and send the data to the Thingworx.I tried to edit the Weather App with Arduino Uno Codes. I can connect the Thingworx server.But I have been unable to show the data from the sensor in the Thingworx platform,The Serial Monitor show the information as below################################################################Connected to AndroidAPIP address: 192.168.43.142Thingwork Server connectedPOST /Thingworx/Things/HTU21DThing/Services/setTempAndHumid?appKey=287b9c77-983c-4abf-9f75-4fc273c7183a&method=post&x-thingworx-session=true<&Temp=25.20&Humid=45.80> HTTP/1.1Host: ohimvo0g.studio-trial.thingworx.ioContent-Type: text/htmlThingwork Server connectedPOST /Thingworx/Things/HTU21DThing/Services/setTempAndHumid?appKey=287b9c77-983c-4abf-9f75-4fc273c7183a&method=post&x-thingworx-session=true<&Temp=25.20&Humid=45.70> HTTP/1.1Host: ohimvo0g.studio-trial.thingworx.ioContent-Type: tex
I have installed the PDFExport extension on Thingworx 7.2.4 on my local machine (Windows 10, Tomcat 8), then it works perfectly.But when I installed on the our production server (Thingworx 7.2.4, Red Hat Linux, Tomcat 8), then createPDF service of the extension remain busy and never ends up ... there is no entry in Application log... I've created openings inward to the server on ports 10000-10007, but no effects.I've created my own extension to generate simple pdf, that extension works and generates pdf file and saves the file into a FileRepository. So there is no issue of creating files on the server.Could you help me to use the PDFExport extension on our production server?
Hello I have a responsive mashup with a Grid showing a list of "events". The grid has many records, and it is needed to scroll to show them ... I need to print the whole grid in multiple A4 pages, how can I do ? By calling the javascript function document.print (through the link widget) will open the browser print wizard but it print only the "visible" grid on the mashup, and not all the records ... Moreover the mashup scaling of the browser print wizard is very tricky ! The PRINT BUTTON extension ... does not help. IMHO a good widget to print mashup is absolutely needed ...
Hello community I am developing an application and I need when the user clicks on a normal button, the service is updated (not the autorefresh widget with a time interval), is there any way to do it? Thanks in advance
Hi, I´m having the same issues, were you able to solve it? if so, what fixed it? Best Regards, Alan Cazares
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.