Recently active
Hi all, I'm currently trying to trace down the usage from some mashups. The idea is to create an extension containing js code that will be triggered whenever index.html > CombinedExtension get called. This will happen everytime any user opens any mashup (which is desired). It will contain (user, datetime, mashupname, current session id). Does anyone know how to obtain the current session id and also current mashup and master mashup name from the opened mashup (see the url below). There is a suggestion to use Function > Expression to call TW.location.href, which actually works only in Thingworx runtime. But if using this I need to create this function expression in every mashup and I have dozens of them. I will try to implement it in a deeper layer which is via extension and for this I need to use REST call, is there a way to call a Function > Expression > TW.location.href via REST Call? I tried to call TW.location.href from outside Thingworx runtime and fail
I am making a API call to a 3rd party service that returns a JSON response with the content of just the value (as opposed to "key":"value" of normal JSON). Thingworx does not seem to like this and doesn't return a usable response except for the headers. GetText does not work as the response is automatically formatted as JSON. See attached image for format of response from PostmanThingWorx 9.1.8-b845
Once i uploaded pdf extension, import showing successful. But inside mashup>widgets> pdf extension is not coming. It is because the extension belongs to old version of thingworx. Is anyone having new version pdf extension?or let me know how to edit this old extension.
Hi Team, Following on the Tab CSS - Blog Link. I also needed to change the ptcs-tab selected header color and styling based on the customer UI requirement. I used the below given CSS, Its working properly in TWX 8.5.But in TWX 9.4.0 its not working as expected. .TabsArrow .widget-ptcstabset::part(tabs-tab)[selected] { background: #0094C8 !important; border-bottom-color: #EEEEEE !important; } .TabsArrow .widget-ptcstabset::part(tabs-tab)[selected]:before { content: ''; width: 0; height: 0; border-top: 17px solid transparent; border-bottom: 17px solid transparent; border-left: 15px solid #EEEEEE; position: absolute; display: block; top: 0; left: 0; } .TabsArrow .widget-ptcstabset::part(tabs-tab)[selected]:after { content: ''; width: 0; height: 0; border-top: 17px solid #EEEEEE; border-bottom: 17px solid #EEEEEE; border-left: 15px solid #0094C8; position: absolute; display: block; top: 0; right:0; } Ki
Good morning @VladimirRosu_116627 , I've intercepted this thread because I think I have a quite similar need. I have to interface a TWX instance with an external application (an AGV mission server) which accepts only TCP Socket connection (not WebSocket) and requires that the calling app implements a TCP Socket server too according to the attached picture (text is in Italian but it should be clear from the context), where the TWX server should act as the WMS (warehouse management system). So the question is: is there a built-in way to instantiate a TCP Client/Server connection in ThingWorx? If not, how would you reccomend to proceed to address this case? Many thanks, Riccardo.
Hello, We are testing out the EnableTimer for a timer and it doesn't seem to work. According to this article, DisableTimer or EnableTimer allow manual enablement reflected by property Enabled. We tried executing in the Thing itself and calling it by a separate service. Neither seem to work. Is there something we're missing or there a bug with this service? Just to note... According to this article, it says that having "Automatically Enable Timer on Startup" disabled, every time after saving the Thing, Enabled property will be set to false. This says it's for Thingworx platform 6.0 and we're running ThingWorx 9.0.2 but just wanted to add it here incase it's relevant. Thank you for the help!
Hello, I have a thing where I have binded a remote property from the Kepserver by creating a new property. Also, I have the same property binded to a property we have created on template level to trigger subscriptions with that. Now I'm facing that I have a delay in updating the values of the property which is binded to the other property. The property which was new created on the thing does not have this delay. So, I have 2 times the same property from Kepserver binded to a thing, but the values are not updated at the same time. The properties in the screenshot in category "AutoBinding" are in sync with the Kepserver, the upper properties are having the delay. I have already tried with different Cache Options and different settings on the push type, but unfortunately without any success. Also we have tried for the property from template level as persistent and not persistent but did not make any difference. Has anyone an idea how that could be fixed
Hi I have Service that accepts parameter and returns an Infotable. Results of this Service (All Data) is bound to Grid Advanced Data. I also have second Grid Advanced that Data is bound to the first grid's SelectedRows so just I can see the value of SelectedRows. I start Mashup, provide parameter value and execute Service - let's say it returns 5 results and displays them in first grid. I select any row(s) and I can see second grid populated with my selection - so far so good. Now, I change input parameter to my Service and execute it again so it returns different Infotable - let's say same 5 items as before and 5 new ones. When I click on new row items on the first grid, SelectedRows does not get updated. When I select any row that was returned from my service initially (first 5 items) SelectedRows is being updated. Visually I can select any of the 10 rows in the grid but SelectedRows value is not being updated accordingly. I provided IDFieldName = ID which is the
Hello, I have one service that return the html code, this html code generated based on condition of device properties. I want to display that HTML in Container, so how can I achieve this
Hello, i want to create a custom scatter chart that has some properties like data, x-axis label, y-axis label, height, width, point size, point color, bg color, axis color, grid lines, title, tooltip, etc, and some events like data change, double click, etc. I have found below-attached fils from the community but I still have no idea for runtime.js file, can anyone provide me some docs or any file or code that can help me to create a custom scatter chart
I tried to use the code from https://community.ptc.com/t5/IoT-Tips/Analytics-Prediction-Methods-Mashup/ta-p/817989#M30973, but there is an error for the last line of predict strength script. Then I change the result to only predictivescorse, and got this result. How do I get only the expected outcome and put it into my properties? thanks
Hi everyone, I have been working on a custom widget and everything is working as expected except for the bound data. The property is unable to set bound data, and I am getting an error in the console that might be related. Any help is greatly appreciated. I've scoured the internet and forums for any help on this. I honestly think it is an error with my thingworx environment or dependancies of thingworx at this point... Here is the error I am seeing:Here is my IDE Code: TW.IDE.Widgets.customgauge = function () { console.log("Hi From custom Gauge"); this.widgetIconUrl = function() { return "'../Common/extensions/TWExtension3/ui/customgauge/default_widget_icon.ide.png'"; }; this.widgetProperties = function () { return { 'name': 'BrockSuperGauge', 'description': 'Cusom Gauge Widget', 'category': ['Common'], 'properties': { 'Value': { 'baseType': 'NUMBER', 'defaultValue': 0, 'isBindingTarget': tr
Hello all, the LabelChart widget is in new Thingowrx versions signed as depricated. Does anybody already found or created combo chart, which is supported in the Thingworx 9.3.6+. The chart, which allows visualise pareto information, the combination of bars and lines in the chart like named in https://www.ptc.com/en/support/article/CS323245
On mashup Load:we entry the value numeric entry box the button is not enabledWhen i click outside the numeric box the button is enabled but i want that the button should be enabled as soon as we enter the value. Not need to click outside or around them.
Hello, We have started facing performance issues in one of our mashups where we are displaying the complete kepware tags list of one of our industrial connections. Or well, it is not so much of an issue to disaplay the tags, however, creating the hierarchy of the tags is. To do this, we currently use the existing services on the industrial connection (BrowseItems and BrowseGroups) and then add the hierarchy to a datatable. We do this because it is much faster to fetch the hierarchy from a datatable than to run the service that "creates" the structure each time the mashup is refreshed. Now to the issue at hand. Some of our industrial connections have a lot of tags. Even with our "work around", we are timing out in our service where we add the tags to our datatable.So I wanted to check with the community to see if anyone knows a different way of doing this? I can see when using the "Discover" tab in the composer that the tree grid uses the "BrowseGroups
Hi @gvyakaranam Did you find a Solution? how can we edit thingworx-common.dll files?
I successfully connected mqtt to kepware and able to see the payloads when view under QuickConnect, bu the the payload was not display in the Industrial Connection. I can see other parameters under Industrial Connection........only except the payloads
Hi all, I need to modify the padding of the line chart widget in ThingWorx 9.1.3-b593I have referred this: probable solution , which does not work for me, as it only applies for versions 9.1.5 & above.Kindly help. Thanks,Sujith
In Thingworx 9, I know that training a model will result in an automatically generated confusion matrix but is there a way to run another dataset through a model that is already trained, and get a confusion matrix on just the new dataset?
Hello, Env: Windows + Visual Studio + Edge SDK DotNET 5.8.5 + ThingWorx 9.3 Want to add a button into ThingWorx Industrial Connection (refer to attached picture), when clicking this button, Thingworx callbacks into my customizaiton code BrowseItems(). Thanks.
Hi, I tried to deploy a batch file to a IoT device running Windows and expected it to be executed after downloaded, but the feature seems to not work (downloaded but not be executed) Thingworx 8.5.19, WSEMS 5.3.2.1693 POST {{serverURI}}/Subsystems/FileTransferSubsystem/Services/Copy { "sourceRepo": "FileRepo", "sourceFile": "backup.cmd", "sourcePath": "/scripts", "targetRepo": "IPU_1323212", "targetPath": "/Tmp", "targetFile": "backup.cmd", "timeout": 120000, "async": false, "queueable": false, "metadata": { "download": { "executeAfterDownload": true } } } Any ideas would be much appreciated! Best Regards,Hung Tran
Just like this;2023-05-22 23:08:20:123421
Hello I want to add delete and edit buttons in the grid row. when clicking on the Delete icon it should display a confirmation dialog,
Hello, can we use Bootstrap in Thingorx?if yes then How can we use the bootstrap in Thingworx mashup?
Hi, I made a model using analytics builder, and I want to use this model with real run-time data. How do I connect my real run time data with the model I created in analytics builder? Please provide me a step-by-step tutorial since it's my first time using Thingworx analytics builder. Thank you.
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.