Recently active
Can anyone suggest me, when there are multiple files in the repository(for ex: XYZ_01FEB,XYZ_02FEB something like this) and i'm using the CSV Parser Read File functionality,how can i make sure my service is reading each file. For example every 5 min the new file will get added to the repository.So how can i read each file here when the naming convention changes(timestamp gets appended to the file eachtime a new file gets placed). ?
Hello, Is there a problem with the PTC license manager? I am not able to download the license. When I click retrieve the server returns status 500 (server error).
Hi, Is there any data logger in ThingWorx that captures each and every action performed by the user (e.g: If user clicks a button in a mashup that has to be logged as User clicked the <button name> with timestamp the action has performed). Does ThingWorx capture these and store somewhere or we need to create scripts for each and every action? Thanks, Shalini V.
Hey everyone. I need help to figure out how to code a dynamic field name in a params clause. Below is the example of code.AttTable.AddRow({DYNAMICNAMEHERE: table.rows[0].DYNAMICNAMEHERE})For the DYNAMICNAMEHERE I am declaring the variable value farther up in the code and referencing it as the variable name in those two sections but it isn’t working.
Hi, I'm using thingworx analytics to predict the remaining useful life for a device , and I got the attached result. For the case of RUL, I would prefer Underpredicted to Overpredicted ( predictive RUL < actual RUL). How can I tuning the super paramters of learner or maybe train data as well to make the model tends to more Underpredicted ? Regards, Sean
I'm trying to change the bg color of the label but even though I provide a style definition I'm unable to make the background green
Hi,In our case, we would like to create customize widget.Is there any solution?Many thanks,niki_dongpockey8328@gmail.come
I have a scenario where we need to connect to the local computer and read the same CSV file to ThingWorx repository. I was checking on File Upload widget. But in this case since the file is getting generated in a time periodic manner can not upload it manually. Could someone suggest how can we automate this process to read the CSV file from local computer to Thingworx repository !!
Hi i want to keep the first state (started ) as selected by default without selecting it . Kindly provide me a way to achieve this . In list we can set "auto select first row" ...similarly is there any option for it in radio button?. pls refer the image attached
Hi everyone, I'm unable to connect my local oracle db in thingworx platform.Please find the attachment of connection string for connection.Could please anyone help me out on this...
I've a Remote ThingTemplate with 2 logged, read-only, and remotely bound properties; one Boolean type, and the second as Number type. The ThingTemplate has a Value Stream (local) associated with it. Finally, a Remote Thing has the mentioned ThingTemplate as its base template. I'm pushing data from my Edge device on these 2 properties every 60 secs to the Thingworx server, and I'm able to see the updated values on the Composer UI. But, when I execute the QueryPropertyHistory service on the Remote Thing, the server returns 2 properties along with 'timestamp' as columns without any data. Even by associating the Remote Thing with my Value Stream, I was not able to get any data. But creating a new local property (no bounding) inside the Remote Thing, changing its value manually on the Composer, and executing the QueryPropertyHistory service, the server returns proper values for the local property along with the timestamp but the other 2 remote properties were
Hi, While adding Manage property binding to Remote Thing getting below error. error = "Error browsing properties. Be sure the remote device/server is connected and configured properly" Please provide some idea to solve above problem? Please find the attached screen shot for references. Thanks & Regards Nagaraj Enamate
I have installed a certificate issued and signed by a trusted Certification Authority (CA) in my Tomcat 8.5.23 Ubuntu server. I have followed these steps: https://www.ptc.com/en/support/article?n=CS193947 I can connect to Composer over https and over http it redirects me to https. When I try the SteamSensorConsole app with this url: wss://aaa.bbb.com:433/Thingworx/WS I get this error: [Error] Error intializing socket connection. Err = -1 [Error] twWs_Connect: Error restarting socket. Error 0 I have tried these configurations: config.AllowSelfSignedCertificates = false; config.DisableCertValidation = true; And these: config.AllowSelfSignedCertificates = false; config.DisableCertValidation = false; Both with same results. Do I have to configure something else? Or I have to change something in Tomcat configuration?
Can someone advise me if there is a way to change the configuration property of a thing dynamically (through a service). My requirement is as follows : I have a thing (Thing_1) that inherits TimerThing Template and in the Configuration tab, there is an 'Update Rate' set as 60000ms by default. Now, I need to change this configuration property dynamically from a service of another thing (Thing_2) based on the input provided to that service. Is there any in-built service that I can use to update the configuration property dynamically ?
I've been doing some testing with using iPads and Mashups and the various widgets. I've noticed that certain user interaction doesn't work as well on the iPad as it does on a laptop. One specific item is that when I pull up a mashup on an iPad I have to press the Button widget twice for it to respond. Sometimes I only have to press it once. I also noticed that using jQuery inside Expression widgets for setting focus also has different behavior. I have found a work around for this, but not the Button widget. Has anyone else ran into this with Thingworx mashups? We are 8.2.1. I appreciate the help.
If i execute any query service it will take long to respond , Thingworx Server is Configured with postgresql, So i need to check postgresql health checkup and do i need to run any database Maintenance service separatly?
Hello everyone, I'm doing first steps with Thingworx Trial on a hosted server. Now I'm trying to get some data over the REST API from my webapplication (JavaScript). And here I'm facing the regular problem with cross-site because the CORS is not configured. How can I activate / configure CORS on a hosted server? For regular installation with access to the filesystem I could do it with ease, since it is well documented (e.g. https://community.ptc.com/t5/IoT-Tech-Tips/Make-a-REST-call-from-a-website-to-Thingworx-platform/m-p/534384). But can it be done also with the hosted trial server? Best regards Alex
I'm trying append the csv file in the repository with a service. My code looks like below. var params = {infoTableName : "result",dataShapeName : "WriteDataShape"}; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(ds1)var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);var newRow = new Object();newRow.ID = ID;newRow.Name = Name;//infotable1Object.rows[0] = newRow;result.AddRow(newRow);var params2 = {path: "WriteFile.CSV" /* STRING */,data: result /* INFOTABLE */,fileRepository: "SystemRepository" /* THINGNAME */,withHeader: true /* BOOLEAN */ };// no returnvar result = Resources["CSVParserFunctions"].WriteCSVFile(params2); Could anyone please tell me why the data in CSV file gets overwritten every time I call this service ?
Hi, i use the collection widget to display informations on equipments (Assets) in mashups as a "Grid" like. i used the collection over the repeater widget because of the Data flow from single mashups back to the main mashup (and visual improvements). The source service collect all data and bind them to the single Mashups. The single Mashups self have no logic or service calls, only Mashup<-->widget bindings. But the initial loading times are incredible (for only ~20 Assets, we plan more then 300) on Desktop (we have loading times for more than 10s). So you can imagine the loading times on a portable device like Tablets or not so powerfull devices such as a Raspberry. The source service itself is very fast (around 50-250 ms with Postman, or in Composer). i checked the performance with Chrome developer tools and found out that the rendering of the Collection Widget takes about 60% of the complete loading time. I attached two images from the Performance log analysis. N
Hi folks-- I'm trying to develop a Vuforia Studio experience that has access to a large number of images. Because of the large number, I don't want to include them all in the experience, I would like to load the one I want dynamically from a Thingworx FileRepository Thing. It's set up using URL access (e.g. https://{server-host):8443/Thingworx/FileRepositories/VuforiaProcedureGraphicStore/{path-to-file}). However, it doesn't seem to recognize the defined "anonymous Vuforia user", es-public-access. When I try to load a graphic via URL from the FileRepository, it prompts me to log in. I have set visibility of the FileRepository thing for es-public-access-org (which contains the es-public-access user), and set read, write, and execute permission for the es-public-access user on all properties and services on the thing. But I still can't access it without getting a login prompt. Can someone tell me how to configure this so that the AR experience can access the fil
I am trying to create a search window (text input + button) that is centered on the screen (e.g. google.com) in Thingworx 8.3. The issue is that in order to use the button and text input widgets, I need to use a static mashup which by definition will not be able to center objects relative to the user´s screen. One approach that could work would be to place the static mashup inside a mashup container. By default the mashup then ends up in the top left corner of the screen. Is there anyone out there who would have an idea of how to make the mashup appear in the center of the screen - for example by binding CSS to the container widget? Or is there a better way of achieving what I want? Many thanks Erik
Hi, I am trying to create a output table, which has column headers as well as row headers, both of which can be drilled down as a tree.and at the bottom of table, and towards the right end calculate total of columns and rows respectively.Attached is a reference image. Can this be displayed with the grid widget. Thanks in advance. Bhushan
Hello! Scope: I have few different type of properties defined in Java Agent through the methods. Some of the should be send ALWAYS, some only on VALUE change. Problem: Even if I will set up everything to ALWAYS, properties with the same val are not pushed to the ThingWorx. Code details: 1. I am setting properties very very often. It can be every second or even faster. There can be more than 50 properties bound to RemoteThing. 2. I am using this snippet to setup remote property definition on Virtal Thing implementation: PropertyDefinition property = new PropertyDefinition(propertyName, "", ThingworxDataUtils.parseType(propertyType)); AspectCollection aspectCollection = new AspectCollection(); aspectCollection.put(Aspects.ASPECT_CACHETIME, new StringPrimitive("0")); aspectCollection.put(Aspects.ASPECT_ISFOLDED, new BooleanPrimitive(false)); aspectCollection.put("pushType", new StringPrimitive(pushType)); property.setAspects(aspectCollection); this.defineProperty(prop
I need to modify the grid cell data based on its original value. Scenario: I have a grid with column name "Status", Actual status columns values will be "true/false". But, instead of true I need to show the Active and instead of false, I need to show the In-Active. Please help me on the same. Regards, Noor
I use Thingworx EMS connection. with help of config. json and config.lua files. After starting wmes.exe,I get "Successful connection" message, then I start luaScriptResource.exe I get the folloving text: " [INFO ] 2018-12-13 12:08:14,378 PiThing: -- Starting script --------------------------[INFO ] 2018-12-13 12:08:14,378 PiThing: Registering core callback handler[INFO ] 2018-12-13 12:08:14,378 PiThing: Starting main loop[INFO ] 2018-12-13 12:08:14,379 PiThing: Calling lifecycle start listeners.[INFO ] 2018-12-13 12:08:14,379 shapes.propsubscribe: Initialized[INFO ] 2018-12-13 12:08:14,385 thingworx.handler: Creating a new handler " And nothing more. Maybe I make mistake but I don't know when. Help me, please.
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.