Recently active
Hi, I have an regex (tested on regex101.com with javascript selected) and I get an exception [message: SyntaxError: invalid flag after regular expression] The regex: /<mabasedata\s*(comment=\"([a-z0-9]*)\")+>/gi; Text to parse <MaBaseData Comment="abc"> Maybe this is a problem with the server-side javascript?
It it possible to get style information of a style definition entity in a service?
Hi,I was trying to use the Thingworx java sdk with docker to build an image out of it and use it as a docker container. I followed the following steps:1) I loaded the application into eclipse2) I ran gradel build gradle Build from eclipse which exported the app as a jar3) I built an image using "docker build -t imagename ." in the directory of the jar4) docker run imagenameThis throws an error saying mainclass not foundI tried running the jar exported using java -jar filename.jar That throws the same error. Below is my build.gradle file/*Install gradle at https://gradle.org/ and execute 'gradle run' or 'gradle SimpleClient'in this directory to run an example. Other examples can be runwith the commands 'gradle SimpleThing' and 'gradle Steam'.You can also generate an Eclipse project with the command 'gradle eclipse' orinstall the gradle eclipse plugin from the Eclipse Marketplace and Import it into eclipse.*/apply plugin: 'java'apply plugin: 'application'//apply plugin: 'docker'apply plu
Hi, I am using Label chart type Bar. When the series of bar is just two or three, the bar appears to be very big in size which doesnt give a pleasant look. Is there any way to reduce the size of the bar? Herewith I have attached the screenshot for reference. Thanks, V Shalini.
Hi,I read somewhere, Stream is used in Thingworx time based data storage purposes. Generally timestamp is the Primary key for the stream.Alert History Stream will have the alerts which are generated by all things across Thingworx. If two alerts generated by two different things with same timestamp, both the alerts will store in the stream or what? How will be the behavior of stream ?
Hi, Is there any possibility of using GIF url in style definitons? I am about to create a button which should only be pictorial. If there is a way to add gif url in style definitions I can make it possible. Please provide some help. Thanks, V Shalini.
Hi, I am using ThingWorx Composer 8.2.2 When I am trying to open "New Composer" from that, it opens a new tab in browser but doesn't show anything on that. It just shows a blank page. When I opened the Developer Console on my chrome browser, I found some errors regarding the timeout in loading the ui-bootstrap module on that. I have attached the screenshot of those errors. Regards, Shashank
Can you prevent the collection widget from wrapping on horizontal layout? I want one row of cells evenly spaced on my mashup but don't want them to wrap to a new row when i change to a lower resolution.
My thing studio, composer is trial version. There are two error. I tried to connect Rasberry pi but failed to connect. There are two problem.(Every coding and ideas are from developer tutorial) 1. Problem connecting Thingworx and Raspberry pi https://developer.thingworx.com/resources/guides/thingworx-raspberry-pi-quickstart (this tutorial ) [FORCE] 2018-05-18 09:24:37,696 Main: Exiting....[DEBUG] 2018-05-18 09:24:37,696 jsonConfigurator::~jsonConfigurator: Deleting JSON objectmy json file{"ws_servers": [{"host": "4gqxcnlk.studio-trial.thingworx.io","port": 443}],"http_server": {"host": "127.0.0.1","port": 8080},"appKey": "c***cd**-****-4458-b9a0-1611eb5f0f1b","logger": {"level": "DEBUG"},"auto_bind": [{"name": "PiThing","gateway": false}],"certificates": {"validate": false,"allow_self_signed":true},"ws_connection": {"encryption": "none","verbose": true,"msg_timeout": 1000}}What should I do? I don't know what is the problem. I did everything same
Hey everybody, is there a detailed documentation about the existing apps you get with Navigate? I want to drill in some details but I can't find a proper detailed documentation. Thank you for your helpBenedikt
can I change the tab orientation from horizontal to vertical? If yes, how? and if no, what can I use as an alternative for it?
Hello, How can i change the color of the chart for area which is in blue to yellow.?? And also how can i change the color of the other areas when any of the area is selected. eg: If i select area in green the other 2 areas should gray out . Thanks
Hi, I would like to resize the fileupload widget as it looks too small when i dragged it onto a mashup.But i cudnt resize it, i cant find where the property can be adjusted for size. Is it possible to resize the fileupload widget ? Thanks
Hello Community, I have one Time series chart which is displayed like the attached image(TimeSeries.PNG). The properties has just 0 and 1 values. And I want a chart to like a Clock signal graph as shown in the image(Expected_Graph.png). Can you please help me, how can I generate the output I require?
I am trying run a thread in a function.This function gets the data coming from the socket and assing this data into thinking property.But I get 'Not authorized for Property Write in thingworx'.I looked at the thingworx extension API Doc. But I did not find any examples about this ThreadLocalContext.Where do I make mistakes public void startThread() { Thread t = new Thread(() -> { String line = ""; try { SecurityContext systemContext = SecurityContext.createSystemUserContext(); ThreadLocalContext.setSecurityContext(systemContext); Thing thing = ThingUtilities.findThing("AEOSEvents"); ThreadLocalContext.clearSecurityContext(); while ((line = reader.readLine()) != null) { thing.setPropertyValue("rawEvents", new StringPrimitive(line)); } } } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } }); t.start(); }
I need to query stream and get only those rows for which value matches column on which im filtering.Example:"filters": { "type": "EQ", "fieldName": "SublineID", "value": "US_AUR_lab_Line1_SMT1" }Here even if im querying on "SublineID" column im getting all the rows of stream.Suggest me how can i retrive only those rows which matches "US_AUR_lab_Line1_SMT1" on ""SublineID" column
I got this error every time I want to create signals or profiles. : [context: com.thingworx.webservices.context.HttpExecutionContext@6dbd4d1d][message: Execution error in service script [CreateSignalAMS] :: JavaException: com.thingworx.common.exceptions.GenericHTTPException: Got error code [502] from service [SignalsMicroserver] method [CreateJob] (CreateSignalAMS#69)]
Hi, I'm completely new to ThingWorx, seeking advise from PTC Community. On a Responsive Mashup, is it possible to add two widgets? i.e. List and Map. As soon as I add either one, it fills the whole space (container) and I'm unable to add the second widget. I've tried the following, but it'll return me an error message - "There is already a responsive widget in this container... you can only have one widget in a responsive container". Add first widet Select and Cut above Add second widet Select current mashup on Mashups list (to deselect second widget) Paste Is there a way to have multiple widgets in responsive mashup?
Hi I am trying to update values to my value stream using the Extension SDK. However the values are not getting changed on Thingworx. InfoTableFunctions functions = new InfoTableFunctions(); InfoTable table = functions.CreateInfoTableFromDataShape(propertyName, propertyName+"Shape"); ValueCollection row = new ValueCollection(); for (Entry<String, Double> entry: dataMap.entrySet()) { row.SetStringValue(keyField, entry.getKey()); row.SetNumberValue(valueField, entry.getValue()); row.SetDateTimeValue("ds_timestamp", now); table.addRow(row.clone()); } myThing.AddInfoTableValueStreamEntry(now, propertyName, table);//mtConnectDeviceThing.setPropertyValue(propertyName, new InfoTablePrimitive(table)); // this works, but not sure if it will add to the stream.
Dear all, we are currently working with Navigate and we try to implement a better data export feature than the default solution. By default TWX Navigate exports only to CSV format and we want a MS Excel sheet. Therefore we use the Extension "DataExporter", my question is now, how can I test the changes?I linked the "ExportInfotableAsExcel-Service" from the installed Extension to the "Export All"-button from the Navigate App, but I can't load the app properly with data to test. Everytime I start the app it uses the default mashups from Navigate and the default export mechanism. Has anybody any tipps or tested something similar with the mentioned extension before?I know already that the extension is buggy, but I want to see it anyway (https://community.ptc.com/t5/ThingWorx-Developers/Export-InfoTable-As-Excel/m-p/519873#M15287).We use TWX 8.1 and Nav 1.6 together with WC 11 M030. The in between TWX and WC 11 is working fine. Thank you for your supportBenedikt
I want to create a new Application Key that will be used by TW agent SDK to send a list of Property values on an VirtualThing using updateSubscribedProperties() method as well as call a few Services on "UtilityThing" thing, like when I need to register this VirtualThing (Create a Thing based on a certain RemoteThingTemplate). I also have a few other services on UtilityThing thing that in turn call a couple of other custom services (There can be 2-3 levels of calls in the chain). Question: Will I need to use "System" users for execute permission for these dependent services and only worry about Client visible Service. Question: I need to be able to revoke "sending" permission from TW SDK agent which uses an appKey, let's say when the contract expires after 1 year if contract is not extended. I want to know how to setup a new user associated with this Key with just enough rights to do above. I also want to push some files or call services on VirtulThing fr
As per the Raspberry Pi tutorial, I tried running the script on CLI/ Terminal. The script runs successfully but it is not returning the updated values to the properties of the entity in Composer. Also I am not able to find the new Thing/entity on Thingworx Studio platform.Thanks in advance.Lokesh Bisht
I'm trying to access and change the "Category" field for Properties on a Thing by using a script. I'd like to be able to set the Category for many Properties at once rather than having to type it in to each individual one. Is there a way to do this?
Hi, When mashup loaded from thingworx composer we get the mashup toolbar but when i am loading the same mashup directly from the url, this toolbar is not loading. Any idea why is this error? Image for the said toolbar is attached for reference.)
Hello Is there any documentation or a tutorial explaining how to use time-series predictive model in ThingWorx Analytics to show time to failure in hours
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.