Recently active
Hi all, I want customize my gauge as the image below: I have the extesion "Progress Gauge" and "Gauge". Is possible do it?
I am looking to make a call from within an extension widget to a service on the platform. Namely, I am looking to get the current user identity and some other tasks (which are handled by MyService) and use that internally in the widget to control certain parts of the html (such as hiding or showing buttons). So far I have referenced these two posts as well some of the SDK. I have had minor success with the ThingworxInvoker at least returning a table as opposed to the second method of using processServiceRequest (causes the widget to fail). The difficulty I am having is accessing the data in the table. https://community.ptc.com/t5/ThingWorx-Developers/Thingworx-UI-Widget-development-calling-standard-thingworx/m-p/587862#M33332 https://community.ptc.com/t5/ThingWorx-Developers/Calling-Thingworx-Service-Using-Java-Extension-SDK/m-p/592096#M34028 My current call is like so var invoker; var success = function (invoker) { var dataFromInvoke = invoker.result; var ro
Hi, Is there any way to shift the X-Axis labels towards left/right or move it in any way? Any lead on this is appreciable. Thanks in advance, MishiK
Good afternoon, I am trying to pull some data from Azure TSI to my ThingWorx Project/Mashup. I have checked connectors and services functionalities but I don't find the way to create this connection using the available documentation. Could you suggest an approach or methodology (step by step) about how to do it? Open questions How can I integrate a HTTP connector into an Oauth 2.0 schema? Is there a common method of performing it? Do I have to provide bearer token myself? Or does ThingWorx provides a way to obtain it? Thank you very and sorry for not being more specific. Regards, Rodrigo.
Hello everyone, I am trying to set up ThingWorx foundation server on an Azure VM. kindly suggest what kinds of VM should I look forward to . Regards, Aarushi
Hi, I'm developing some functions with FileRepository. I'm writing some lines of text into a .txt file. I tried service of CreateTextFile & AppendToTextFile, with them all text will be written into same 1 line, no matter '/n /r \n \r' are included or not. For example, I want to show: Line 1 Line 2 Line 3 and it always shows: Line 1Line 2Line 3 Any advise?
I have an automatic login authenticator based on http parameter as described in my earlier post I am observing a weird behavior sometimes. When the Thingworx server restarts while a mashup (which refreshes automatically at some interval) is displayed, browser sends these following URLs without the custom parameter which is required by the Custom Authenticator to authenticate: /Thingworx/Resources/RuntimeLocalizationFunctions/Services/GetEffectiveTokens /Thingworx/Subsystems/PlatformSubsystem/Services/GetAllStateDefinitions /Thingworx/Subsystems/PlatformSubsystem/Services/GetAllStyleDefinitions /Thingworx/Subsystems/PlatformSubsystem/Services/GetAllStyleThemes The issue is these URL's drop my custom parameter, which is used to identify the user to login with. As a result, a login prompt is displayed. Other times when it works, the URL with my custom parameter gets sent to the Authenticator. How do I control this behavior? Why do these URLs get sent to the Authenticator? I
Hi All, I would like to place a status bar in my mashup that displays the different stages/states of a machine in a particular shift. Suppose the shift is from 7AM-7PM, the machine may come across different states such as Not Ready, Ready, Running, Waiting, Fault etc. Each of the states has to be highlighted in the status bar based on the status color coding. How can it be done? Which widget to be used to create a status bar? How to give the proper state definition for each time interval? Please suggest a solution. Thanks in advance. Attaching a screenshot to give a sample look of status bar. Regards, Airin
Hello! I'm trying to access a URL using the ContentLoaderFunctions snippets GetJSON. The URL I am providing is functional (checked using Postman) and the api key is defined in the header correctly. The Error Log is not providing additional information than that which is provided in the title. Can anyone help me understand what is going on here? Thanks!
I saw this manual. https://developer.thingworx.com/en/resources/guides/external-databases/external-database-write but Invalid column index Error confirmed. I used two methods. SQL (Command), SQL (Query) And I used three methods. ([[ipvalue]], [[clocksvalue]], [[tempervalue]], [[loadvalue]], [[powervalue]], SYSDATE);('[[ipvalue]]', '[[clocksvalue]]', '[[tempervalue]]', '[[loadvalue]]', '[[powervalue]]', SYSDATE);('<<ipvalue>>', '<<clocksvalue>>', '<<tempervalue>>', '<<loadvalue>>', '<<powervalue>>', SYSDATE); The inputs data are all strings. Configuration is not wrong. I think my method is wrong.Can you help me?
Hi. I cannot call a service over Postman/anywhere without 403 access denied. It works fine from a mashup. Guessing I have the same issue as here: https://community.ptc.com/t5/ThingWorx-Developers/REST-API-test-of-simple-service-returns-HTTP-403/td-p/526341 However the solution there, when I try to do it and save the changes I get: INVALID SCN SET https://i.imgur.com/xCRTLWa.png "You have to go to System / Subsystems / PlatformSubsystem / Configuration. Check "Allow Request Method Switch" and uncheck "Filter Content-Type"." What could be the issue? Am I missing something?
Hello guys, I have an external Oracle database and it's no problem to show queried information (using a service for that of course) inside a grid in a mashup. But how do I filter the information in this grid (InfoTable)? I would like to know how to use a DataFilter widget on an InfoTable. Could someone provide code (inside the different services) plus bindings? I found tutorials for the bindings and different code snippets but never a complete, well explained, tutorial. Thanks in advance
Hi all, I have created a new XY chart widget (similar to the existing XY chart widget) in ThingWorx and I want the x-axis to be on the top of the chart so that the intersection of the x-axis with the y-axis is in the top left corner instead of the bottom left corner. The x-axis values should increase from left to right and the y-axis values should increase from top to bottom. I have no idea how to do this with my code, thus I have attached the necessary files for reference. The final result should look as shown below. Any help will be greatly appreciated!
Hi all, I am trying to customize a XY chart widget but I require the TW.ChartLibrary package to do so. However, the ThingWorx version I have now is the trial version which means I do not have access to it in my path C:\Program Files (x86)\ThingWorxH2Trial-8.4.0-SNAPSHOT\tomcat\apache-tomcat 8.5.23\webapps\Thingworx\Common\thingworx. Does anyone have access to the TW.ChartLibrary package and can upload it here? Will be great if someone can help!
Hi all, I am working with widget static called Progressive Gauge. But this widget is not responsive, therefore it does not resize on the screen. My question is: Can I convert the static widget (Progressive Gauge) in a responsive widget? Tks, Leonardo
Hi all, I am working with mashup responsive (advanced) and I wanna add a FieldSet in this mashup. But always when I added this FieldSet it stay with Scrollbar. I already try every configuration of widget but I could not do this. Regards, Leonardo
Hello, I'm currently sending value of simulated tag with KepserverEx IoT Gateway via MQTT message to Azure IoT Hub. I got ThingWorx Azure IoT Hub Connector working and was able to add KepserverEx IoT gateway device to ThingWorx from Azure IoT Hub. The problem I'm having is that I cannot get Kepservers tag values visible to thing as remote property. If I try to call GetRemotePropertyMappings service I get no results. How to get original tag value visible? Any ideas? Thanks!
Hi all, I have a problem with the new flexcontainer feature. When I add a custom CSS class to a flexcontainer it not only adds this class to the "bounding-box"-div element in the DOM but also to the direct child, the "widget-content"-div of the bounding-box. This behaviour raises many problems for me because when I add a width of 50% to that class, the content of the flexcontainer is effectively only 25% (50% of the bounding-box). I have created a simple example to illustrate the problem. In this example I created a responsive (advanced) mashup with the "Header and Footer"-template. In the mashup I added the custom CSS class "test-custom-css" to the body flexcontainer (see screenshot below). After the elements got inserted into the DOM the custom class gets added to the "bounding-box"- and "widget-content"-div element (see screenshot below). On "normal" widgets the custom CSS class only gets added to the bounding-box element. I think t
Hi All I'm writing some Test Automation for Thingworx in Selenium Webdriver with the aim to completely automate some basic platform tests. Part of what I have been testing is the reset password functionality. I can trigger the generation of emails to reset passwords via Unirest in java , but I still need access to an email address to get the tokens to carryout my testing . Can the user password reset tokens / links be generated directly from the platform using the right credentials ? If not, is there a process which can be followed to allow test automation to create reset password link to check that the correct password settings have been implemented on that part of the platform.
My mashup has two text box widgets, two button widgets and two value display widgets as shown in the attached image. Now I want to store the text box data in a table once the ok buttons are pressed and show the data in their corresponding value display widgets. Though it is very basic and fundamental, step by step instructions would be much appreciated.
Hi this is peter How can i get printer data's in Thingworx using KEPServerEx.
I am facing problem in providing color to text in label widget using CSS code .i WILL PROVIDE THE CODE BELOW : .simple-label {width: auto;height: auto;display: flex;color: red;font-weight: 400;line-height: 14px;}
Hi, I have two Advanced Grids that i'm using for my mashup. Grid A populates Grid B based on the selected row and specific cell value. I can sort and filter Grid A but can't do that with Grid B. The bindings are the same on both between the filter widget and the advanced grid widget. I have attached some screenshots. Thanks Rafay
Hi i wanted to know how we can bind remote datashapes and other components to Composer. 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.