Recently active
I'm trying to figure out what protocols thingworx agents use for the functionalities below: Telemetry data, File Transfer, Script/Service, Remote Access, and SCM My understanding is that EMS and the thingworx SDKs use websocket. But when I look at the attached EMS documentation, it says it uses REST on pg 4. I'm confused. Which protocol is used for the above features?
I have 3Node Zookeeper Ensemble running on 3 VMs. I have 2Node Application cluster running TW 9.1 and ConnectionServer on 2VMs each on the same VM (so 2 total). Those VMs have 2 network interfaces (1 for administration and for any other traffic) After platform has started I can confirm that it registers itself under (vie ZkCli.cmd): /services/thingworx-https Content of that Znode is: [zk: localhost:2181(CONNECTED) 4] get /services/thingworx-https/68640d69-8959-4656-a5ba-36557f2a05e8{"name":"thingworx-https","id":"68640d69-8959-4656-a5ba-36557f2a05e8","address":"172.20.75.223","port":443,"sslPort":null,"payload":{"@class":"com.thingworx.discovery.zk.ServiceInstanceDetails","attributes":{"PLATFORM_ID":"platform2"}},"registrationTimeUTC":1615373781104,"serviceType":"DYNAMIC","uriSpec":{"parts":[{"value":"address","variable":true},{"value":":","variable":false},{"value":"port","variable":true}]}} And here lies the problem, it seems that platform registers itself with th
Hi, We're using ThingWorx 9.1.0 on REHL 8.2 and we have the ThingWorx cluster installed(2 ThingWorx foundation servers ). If the event processing subsystem has max 500 threads , does this mean that 500 threads are (almost)equally distributed to 2 ThingWorx servers? If I raise 1000 events in a service, will the 2 ThingWorx servers share the load of event processing ? Regards, Sean
I need an infotable that has the path & filenames of all the files in a file repository, irrespective of the path.
Hi everyone, I see in the tomcat logs the warning that you find in the attached file.This is logged with high frequency and leads to run out of disk space and crash Thingworx.The version of Thingworx 8.5.5 Thank you,Best Regards
Hi, I am creating users from service, I using now CreateUserWithOptions() from EntityServices.. after executing my service I am able to see users by using this service(custom service from ptc found via article - https://www.ptc.com/en/support/article/CS176431 ) ``````` var params = {tags: undefined /* TAGS */,nameMask: undefined /* STRING */,type: 'User' /* STRING */,maxItems: undefined /* NUMBER */}; // result: INFOTABLE dataShape: RootEntityListvar result = Resources["EntityServices"].GetEntityList(params); `````` But not able to see users from composer and in users section too, if I search particular user which I created I am getting no results found in search box. Also, I am not able to delete the user through service.
Hi I am facing an issue that Services are hidden in Data tab as in below image. but all bindings are there and working as expected but it was sudden change and i am not able to see the services also i tried to add new service but still its hidden . Please help me to resolve this. Thanks,
How to get datatable data directly from SQL DB directly using SSIS jobs ? I guess I just want to know the SQL DB tables where the datatable contents are stored as blob. -Thanks
Hi, I have the following JSON from a get request: { "headers": "", "array": [ { "lat": "44.1694124" } ] } I would like how to access the "lat" parameter and then insert into a infotable. Thankyou very much!
Hi, I'm writing a Java extension and editing the metadata.xml, but I don't understand what the term ThingPackage stands for . According to the XML structure , the ThingTemplate must refer to ThingPackage which defines the name of the classname, while ThingShape can define classname directly. What's the relationship among ThingPackage, ThingTemplate ,ThingShape and Thing ? <ThingPackages> <ThingPackage className="" description="" name=""/></ThingPackages><ThingTemplates> <ThingTemplate aspect.isEditableExtensionObject="false" description="" name="" thingPackage=""/></ThingTemplates><ThingShapes> <ThingShape aspect.isEditableExtensionObject="false" className="" description="" name=""/></ThingShape Regards, Sean
Is there any way to access the event context that triggered a service in the mashup builder? For instance, if I have a service that runs on mashup load and also on the change of a session variable, I'd like to know, in the service, which event triggered it (something like event.source or similar). I know I can probably get to this by using expressions and an event router but that gets cumbersome over many mashups and it's tedious to scale it if I keep adding events that trigger a given service.
Hi, I am trying to display x-axis as DateTime but in my use case i need to show only time (hh:mm) at X-axis. there is property for Y-axis format but not for X-axis. how to do it in Bar chart ? Thanks
Could not launch PTC Thingworx cloud hosted trial. Getting message as Server cant be reached
Hi, I am trying to install within nodejs module the mathjs library to be able to use the unit converter. I have a problem to install an external library. I followed the guide on the portal but i can't install the module and whitelist it. At first, I install mathjs into ThingworxFlow folder cd C:\<PROGRAM FILES>\ThingworxFlow npm install mathjs I run the command to download the settings file flow-deploy settings download -f ‘.\settings.json' -t "https://<url>:443/Thingworx" -u 'Administrator' -p ‘pass' -c devtools -s default -l debug I edit the whitelistExternal with "mathjs" and then upload flow-deploy settings upload -f ‘.\settings.json' -t "https://<url>:443/Thingworx" -u 'Administrator' -p ‘pass' -c devtools -s default -l debug but from flow keeps telling me that it is not whitelisted. What can I do?
hello, getting an error "Unable To Parse JSON Request" while adding device id through mashup. i have one code which gives me existing device id in database and i my another code is validation service created for the mashup where i wanted to compare device id present in database with the validation service input device id. Now when i click on add band button it gives me an error "Unable To Parse JSON Request" i dont know why i am getting this error. below is my validation service code:- // result: INFOTABLE dataShape: "checkBandDeviceDataDS"let result1 = me.checkBandDeviceId({device_id: device_id /* INTEGER */}); if(device_id == "" || device_id == null){result = 'Please enter device id';}else if(result1.device_id == device_id){result = 'This device id is already exist';}else {result = '';} above code is running perfectly when i run the personal code but it's not running through mashup, please suggest some solution on this, below is snapshot for your better understanding &n
Hi, In Thingworx 9.1 version, is there an option to export(Download) a Mashup page into to PDF format. Regards, Sri1
Hi , I have written an expression which is binded to isEditable property of grid. Changed event of expression is calling grid reset function. But grid reset is not working so grid column doesn't become editable/non editable based on expression value. Please suggest. Thanks.
Hi , I am trying to get UserGroup using getCurrentUser . and i tried using below line var result = Resources["CurrentSessionInfo"].GetCurrentUserGroups(); but it returns infotable with multiple groups(including default composer). i want only Custom group returned in String. even i tried to iterate from infotable but i am unable to do. can someone help me to get it? Thanks
Hi All, I am using below details to generate value streams using postman. http://XXX.XXX.XXX.XXX:8080/Thingworx/Resources/EntityServices/Services/CreateThing { "name": "MyStream", "thingTemplateName": "ValueStream", “description”: “<Description of the entity>”, “projectName” : “MyProject” } The value stream gets generated, I use below service-call to enable the value stream from postman. http://XXX.XXX.XXX.XXX:8080/Thingworx/Things/MyStream/Services/EnableThing Now when I check in composer the value stream exist in the system however I couldn't delete it. I got below error - Fail - Unable to delete thing: [ValueStream_MyStream] Unable to dispose thing: [ValueStream_MyStream] null I checked and found the below link where user has mentioned seeing this error and there was no solution to it. https://community.ptc.com/t5/ThingWorx-Developers/Unable-to-delete-Valuestream-from-Composer-which-was-created-via/m-p/667936#M45363 Her
Hi Team, Suppose I have a search button and I want after on click of that button an autocomplete widget gets visible and more importantly the cursor gets focused immediately so that any one can enter alphabets in autocomplete widget without using mouse left click. Please help with the logic if it is possible. (TWX version 9.1) Thanks in advance
Hello! I'm trying to give RunTime permission to a certain User Group for all the entities of a project, so I don't want to give to ALL the entities, just the specific ones from the project. I've tried using the AddCollectionRunTimePermission function but the permissions didn't change. Is there another way or function? Thank you so much in advance.
As you can see in the below Column, there is an Sorting/Arrow icon in the Grid widget, I want it to disappear from that Field... @CarlesColl Thanks !! @CarlesColl
I have an INFOTABLE, with Column Names RT-1, RT-3, RT-2.Issue 1: Client want the Order of the Fields/Columns to be RT-1, RT-2, RT-3.Issue 2: var oldEntry = new Object(); oldEntry.RT-1= startDate; //ERROR, SINCE RT-1 has "-" in the middle. Thanks !!
When I have the following expression in a validator, I expect the output to be false, based on the OR gate truth table; however, the output is true. Why is it true? output = (false || false); OR gate truth table A B A+B 0 0 0 0 1 1 1 0 1 1 1 1
Hi , I am having one use case in that i need to check how many times a end user can change/update the particular field value. for Example ID(Primary key) UserID 1 101 2 102 above table there will be restriction to update userID (Max 2 times can change/update a userID for ID 1) same will be for ID 2. how we can achieve this in TWX 9.1. Thanks
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.