Recently active
Hi, I'm trying to write a program (with Java SDK) that monitors a folder and shoude fire an event in thingworx if a new file is in this folder. On TWX I have a thing based on RemoteThingWithFileTransfer. I also add a remote event to the thing: In my program I have a class that inherits from FileTransferVirtualThing. Via code a add a event to my class public static final String NEW_FILE_DETECTED = "NewFileDetected"; ... EventDefinition newFileDetectedEvent = new EventDefinition(NEW_FILE_DETECTED, ""); newFileDetectedEvent.setDataShapeName("NewFileEvent"); newFileDetectedEvent.setLocalOnly(false); this.defineEvent(newFileDetectedEvent); On a separate thread I fire this event every 10 seconds. @Override public void run() { while (true) { try { Thread.sleep(10000); log.info("Fire Event " + NEW_FILE_DETECTED); ValueCollection values = new ValueCollection(); values.put("FileName", new StringPrimitive("abc")); virtualThing.queueEvent(NEW_FILE_DETECTED, new Date
hi community, I want to creat 80 things from a thingTemplate, I Think I Can do it easily with a csv file but I don't know the shape of this csv file; if anyone already used it, please share the shape or some good tips. can we create alerte from a csv file too ? thanks in advance.
Hi, So far I have manage to create a chat widget. I was thinking of using socket.io to do so but somehow I am not able to use the library. Yes, I have already look through several resources before opening this topic but none of this has helped. I am getting an error known as "mismatched anonymus define() module". Any help on this would be great, thanks! https://community.ptc.com/t5/IoT-Tech-Tips/Widget-Extensions-Using-AAGRID-a-JS-library/td-p/535060 https://community.ptc.com/t5/ThingWorx-Developers/How-can-I-reference-my-js-libraries-in-custom-extension-widget/td-p/522357
Hi all, I have modified this print extension to print current mashup page. Please use it for your development /VR
It is advised not to pass the appkey in URL. The alternate way is to pass it in header. How to do this? Does passing the appkey in headers is achevied by writing a script? Can somebody show me an example?
Hi, Is there any way to do global search to find the words which is present inside any Things or Mashups? Thanks in advance, Shalini V.
Hi, ThingWorx 8.2/8.4 is not working after the windows update. After deploying the war file the tomcat refuses to start. Herewith I have attached my application log. Thanks, Shalini V.
Hi, Is it possible to search/fetch entities that do not have/not assigned to any project tag? Thanks in advance, Shalini V.
Hi, Is it possible to delete all dependencies of a project tag by selecting a project tag using shortest way? Thanks in advance, Shalini V.
Hi, Am trying to use Send an Email connector on Flow, Unable to add new account in Authorize Gmail showing no results found instead of Add New.
Hi, I want to populate two bom structures (current version and other some version) in a single tree advanced grid widget with the option of expanding nodes in both the columns. If I am expanding one column bom structure the other column bom structure should also expand. How is it possible?
I'm trying to set up a connection to a MySQL database that I have. I've installed the JDBC Connector extension from the marketplace and that gave me the JdbcCreator and the JDBCExtentionCreator. Following a PTC document it says to create a new thing and select MySqlServer as the thing template. However, I am unable to see a MySqlServer template. Any ideas? Have I missed something?
According to PTC document for JDBC configuration (PTC.CSLM.RS.PostgresJDBCThing ) Thing should be used, but this Thing (PTC.CSLM.RS.PostgresJDBCThing )is not found my Thingworx . Some one guide me for this issue.
I want to send a webrequest to the RealtimeScore service of Thingworx (Analytics). My model is a simple XOR (exclusive or) model. My POST request body looks like this: { "jobName": "PostmanJobRealtimeScore", "description": "descipritonPostmanRealtimeScore", "datasetRef": { "dataShape": { "fieldDefinitions": { "datasetUri": { "name": "datasetUri", "description": "Location of the data", "baseType": "STRING", "ordinal": 0, "aspects": {} }, "format": { "name": "format", "description": "Structure of the data (CSV,PARQUET,CLQUET)", "baseType": "STRING", "ordinal": 0, "aspects": {} }, "filter": { "name": "filter", "description": "SQL WHERE clause to refine the dataset", "baseType": "STRING", "ordinal": 0, "aspects": {} }, "exclusions": { "name": "exclusions", "description": "Fields to remove from the dataset", "baseType": "INFOTABLE", "ordinal": 0, "aspects":
Hi, For a project, on a mashup i wanted to perform sequencing of rows in a table by drag and drop method and submit it. How do we achieve this on thingworx UI mashup programming. I am uploading an image for example. Some thing similar to this for a table. Thanks and Regards, Sri1
Hi, I have a main mashup that contains a collection widget with some cells. Each of this cell has a button that navigates me to a popup window if clicked (using navigation function). In this case, if the user click an 'Add' button in the popup window, this will add something in the corresponding cell of the collection widget. My problem is once I click the "Add" button the cell is not updating in the main mashup unless i click on reload button on top. So I was thinking is there any way that I can refresh the main mashup on the event of the popup window close?
Is it possible to modify the entire URL to access the application with our custom URL like "http://azurevm/OrgName"? Actually we don't want to have "Thingworx" mentioned in the application URL. Thanks in advance.
TWX Trial 4.5. TWX Analytics 4.5. TWX Flow 4.5. I am trying to test a simple Thingworx Flow - using GetProperties. Is there anything particular that I need to do in order to test a Workflow? If you look at the attached screenshot I start the Flow test but nothing happens. Can Flow simulate conditions or does the underlying logic have to be running (in this case an alert). I used pm2 ls and everything is online. Is it the browser I am using? I ignored ssl errors as I am using Google Chrome.
Reminder (and for some, announcement!) that the new ThingWorx 8 sizing guide is available here https://www.ptc.com/en/support/refdoc/ThingWorx_Platform/8.0/ThingWorx_Platform_8_x_Sizing_Guide
Hi Everyone, I'm trying to call a service whose name will be stored in a variable. For example, here's how I would normally call the service GetJobOrder: let params = {UID: '7'}; const result = me.GetJobOrder(params); However, I want to be able to execute a service if the service name is stored in a variable rather than explicitly typed out. For example, this is what I've tried: let scriptName = 'GetJobOrder'; let params = {UID: '7'}; const result = me.svc[scriptName](params); I wasn't able to get this to work as shown below: I tried various ways to try to call the service but none were successful: Does anyone know if this is possible? How can I call a service when the service name is stored in a variable, rather than explicitly specifying the service name? Thanks for your help. Andrew
Hi, Is it possible to get all the mashups in ThingWorx using snippets or services? I wanted to get all the mashup name without filtering by project tag or any other entity. Thanks, Shalini V.
Say I have an InfoTable called searchResults. I just realized that searchResults.length returns the same as searchResults.rows.length and I can access the row data in a loop using searchResults.rows[i].fieldname or just searchResults[i].fieldname. What is the difference, if any, and has it always worked this way? I'm using 8.5.1, not sure it works like this in other releases.
When I open my mashup in chrome, it is not loaded correctly 40 % of the time, see the screenshots. I do not get any error in the logs. I'm using Thingworx 8.5. Does anybody know how to solve that problem?
Hi All, I'm Fetching an XML File which is in Windchill, into the Thingworx. How can i Achieve this. Please Help out.
We have various properties that are updating very frequently. What will be the best way to implement this using the .Net SDK? Do we need to create separate threads to update properties? Current code looks like this, which is the default implementation, however for properties that are updating very frequently, what would be the best way? targetThing.setProperty(propertyName, value); targetThing.updateSubscribedProperties(15000);
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.