Recently active
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.
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);
I have a datatable with productname as primary key. i have two list widgets, one for product name and one for quantity. Now, for examples, if i select a product,say, a PCB and quantity as 2, then my datatable should make 2 entries having product name as PCB only. how do i do that?
Hello everyone, I have a Collection widget set as Table (view), so the repeated mashup fils the whole row. The repeated mashup is advanced/new responsive. I created it such a way that the height of the mashup extend according to the warped widget and containers (yes, containers warp by extended the height without scrolling, thanks to CSS addition). Because of this, when my row get thiner, the mashup warps well but the height of the row stays fixed and a scroll is displayed. I want my cell to be automatically extended with the height of the mashup (the thiner it is, the higher the cell should be). I tried to use the CellHeightField to have a flex height. I noticed that only number is accepted. For example, if I put in the field "200", it is consider as 200px. If I put "200px", the collection displayed nothing. I tried 100%, also doesn't work. I also tried "max-content" (it works in CSS like "height: max-content;") but not taken in account. So I tried to see the CSS of the collect
Hello,can u tell me how to connect mongodb in thingworx? i set up the connections ... then also it is not running... please help me to do that?
Hi, Any idea about why SELECT IF EXISTS command is not working. Thank You! Naeem
Hello I'm working to modify the HTML5 video widget I was able to add an input event "Play" (bindable to a mashup event) that does the play of the video. I'm now trying to add a bindable output parameter that is the length of the video (this is available with the "duration" property of the HTML5 video object) I added this param correctly (VideoLength), I can see this on the mashup and I bound it to a label to see the value), I can set and see a "test" value with this.setProperty('VideoLength', 100); executed when a new video file is set but I don't know how to retrieve the "duration" DOM property ... it should be somethign like this.setProperty('VideoLength', ???.duration???); can someone help ?
Hello, It would be great to get some feedback on the following: Are there any plans for the major rework or deprecation of this framework? How to create Notification triggers from Javascript services? I tried the pair "CreateNotificationContent / CreateNotificationDefinition", but it doesn't seem to create a trigger. What's the difference between NotificationContent and Trigger? How to access and/or update NotificationDefinition objects from Javascript service? The entity collection "NotificationDefinitions" doesn't seem to be exposed in scripting context. We have 5000 things, each one with approximately 10 alerts (each firing once per week on average), and we'll need to configure notifications on them programmatically (users can choose which notifications from which devices they want to receive), potentially resuling in 50K NotificationDefinition objects, each one with a single trigger defined. Does it make sense performance-wise, or this framework is not designed to be used t
How can I set the reportingStrategy of a remote thing programmatically? Since reportingStrategy is a configuration and not a property, I'm not sure how to do this. For thing properties, I know it is something like the following: Things[thingname].propertyname = "some value";
Hi, I am getting the structure from api initially for 3 levels in the tree advanced grid widget. Now, I want to pass the expanded node Id to other service (getting data from api) which is fetching data for 1 levels only and this service, I will bind to child data in the tree advanced grid widget. I tried Selected row, but here if I am selecting the row then only id is getting passed to other service. How to pass the id of the last level selected node to child service to fetch the details. Please let me know how to achieve this!
Hi everyone, As part of a wide-ranging product review for the 9.0 release of ThingWorx, PTC has decided to remove a range of functionality due both to limited market adoption and a continuing effort to harden the security of the ThingWorx platform. Thus, for ThingWorx 9.0, PTC will be removing the following capabilities: • The ability to use rich text in the Composer “Documentation” field (existing rich text will be displayed as raw HTML);• The ability to use rich text in blogs and wikis in Mashup Builder (existing rich text will be displayed as raw HTML);• The ability to edit HTML text in mashup builder. ThingWorx users will still be able to employ a service to import HTML content if desired. Please prepare for these coming changes as appropriate. Thanks!
Hi All, I m trying to install ThingWorx Navigate of Version 8.5.3 but the installation is failed with error - Setting variable validation_result from cmdError running cmd /c "sqlcmd" -S ****\****,**** -U **** -P "****" -Q "****": Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login failed for user 'tw1'. Reason: The password of the account must be changed..[14:28:31] - SQL Server connection validation [FAILED] Any suggestion? Best Regards, -Shripad
I tried giving mashup name in 'Name' property of master mashup.But it is not showing up in runtime. Please correct me if I am using it wrong way?
Hi, I'm trying to import extensions into Thingworx8.4.1 but found below errors: I followed the PTC install guide to manually create thingworxplatform folders and the platform-settings.json: After I installed the 8.4.1, I found another 3 folders were created and another platform-settings.json file here: Once I trying to add the "extension policy" parameters to the second json file, I cannot connect to thingworx. In fact, once I modified anything in the second file, I cannot connect. Does anyone know what's going on? how am I be able to import the extensions? Thank you so much!
Hi All, I am using a combobox and a text to set the default value for the combo box. But I have not been able to do it successfully.My model is as follows: Can anybody give me advice on this problem? Thanks and Best Regards
I have downloaded the licence file for Thingworx 8.5. I have put it in Thingworx Platform folder and rename it to licence_capablity_response_bin but after restarting the tomcat server. The name got changed to ignored_license_capablity_response.bin file. Do i have to generate new license file and place it in Thingworx folder or I don't have to make any changes.
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.