Recently active
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
Hi experts, I'm trying the ThingWorx Manufacturing Apps according to the guide here: https://developer.thingworx.com/en/resources/guides/configure-manufacturing-apps/configure-factory-simulator-data. One of the steps is to open the DemoFactorySimulator.opf in Kepware, after this step I should see "ThingWorx Native Interface , Connected to Thingworx" in the Kepware's log console, however I see "ThingWorx Native Interface Connection to ThingWorx failed. | error = could not initialize a secure ". My environment: OS: Windows server 2012 R2 Installation file: ThingWorx-Manufacturing-Apps-8.3.0-05.exe Both of Thingworx and ThingWorx-Manufacturing-Apps are in the same machine, IP: 192.168.152.132, port: 9080 What I have verified: http://192.168.152.132:9080/Thingworx/Composer is accessible http://192.168.152.132:9080/Thingworx/FormLogin/Welcome is accessible telnet 192.168.152.132 9080 has no error Property Editor for ThingWorx in Kepware: see the attached picture. The
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 ?
Graphs on Asset Advisor Monitored Properties have weird data that isn't chronological. See attached pictures
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
How to score new data with ThingWorx Analytics ? The following is valid starting with ThingWorx Analytics (TWA) 8.3.0 Overview Once a training model has been created, one of the main objective is to score new data to predict the value for the goal ThingWorx Analytics can score new data in 2 ways: Batch scoring Real time scoring Batch scoring Batch scoring will be used when a large amount of data needs to be scored. To perform a batch scoring we will usually follow steps similar to the below ones: Upload the historic data Create a new model with this historic data Upload new data – the one to be scored Perform a prediction job to score those new data Retrieve the prediction job result Uploading the new data can be done in different ways. If using a large amount of data, it can be easier to upload the data via a csv file in a similar way as the historic data. This is the way used in ThingWorx Analytics Builder. If the amount of data is more limited this
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.
Hello Team, Extension is imported successfully and when I execute the service it is showing the following error. But the jar dependencies(gson) are added in manifest and extension zip already Any help will be appreciated.
Below is my recommendation on Data_table/Stream and Value_Stream. Do you thing it is all right ? Considering we will generate 300,000 everts per day. Data_table is synchronous and we should avoid bombarding this table for any update on existing records or inserting records. Just this is my concern. 2.I am good with Stream table (because this is asynchronous) until we purge it regularly based on certain condition for example incident is resolved in NEOS. 3.Value_stream, because this table keeps logs so also we need to purge this table regularly to avoid decrease in system performance and save disk space.
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(infoTableNameSmiley FrustratedTRING("InfoTable"), dataShapeNameSmiley FrustratedTRING):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 ?
Hello Everyone I have an requirement where i need to display multiple grid( total grid 9) on same mashup with vertical layout. while I did this, I got grid in very small / compressed in size ,so data inside that is not displayed properly. Is there any way to increased mashup size or add scroll bar to layout / mashup ? Or any other possible solution for this ? Thanks, Sheetal Sable
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.