Recently active
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
Hello everyone, I have created a network and it looks properly under Network Hierarchy tab. Then I bind the Network data to Tree Widget via GetNetworkConnectionsWithTemplate service. When I hit view mashup it displays some nodes in wrong places. The configuration of Tree Widget is as follows: IDField: to, LabelField: to, ParentIDField: from, TooltipField: to, ValueField: to and rest of them are default. I'm not sure if my configuration is wrong or the widget has a bug. I'm attaching some screenshots to help you to understand. Best, Kaan
Hi Team, Could anybody let me know how to export as well as import entities (single as well as multiple entities) using and PTC script? Please share the snippet for both import and export (single as well as multiple entities) Thanks in advance.
Greetings.I'm trying to create a mashup that allows me to browse Kepware channels and items, like the Discover tab from the industrial thing page on the composer. I have created "custom" versions of the BrowseItems and BrowseGroups services that allow me to choose an IndustrialGateway to execute said services on the Kepware chosen on the mashup. Their output an infotable with the same Data Shape as their "stock" versions.I'm trying to use a tree widget to display the channel structure like in the screenshot above, but I cannot find a way to do so correctly. I can display the root and the first levels of the tree (although not in the way I expect): but when I try to go deeper into the structure the tree just disappears: I've tried to use my custom service to change dots into slashes for the FullPath rows, but it didn't help.Any suggestions?Thank you for your time.
I have a stream that has about 40 fields. The data in each field is unique so the stream cannot be normalized. About 2000 records are created each month. Most of the time, when the stream is queried, not all of the fields are needed. Should the stream be split into two or more streams? Will this have any noticeable improvement in performance? When performing queries, my understanding is that we cannot select the fields to be outputted as in the example below: https://bi-bigdata.com/2012/09/02/select-vs-select-in-sql-server-query
I've added users to the Administrators group and Factory Users group as well. But they are unable to view all the tiles, they are just able to see the Thingworx Composer and Demo Manufacturing Planning. What are the permissions I've to give them or Groups I need to create for the same. Below is the Screenshot of the mashup which shows Composer and Manufacturing Planning.
Hey, atm we are planning to build a worker guidance PoC with ThingWorx and Operator Advisor. I'm looking for a tutorial/course at PTC academy/Youtube etc. on how to install & use the Operator Advisor with ThingWorx properly. 1) Does anybody of you have a good recommendation? 2) Is it a good idea to implement a worker guidance with Operator Advisor and Thingworx? Any tips? Thank you very much Phid Is
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.