Recently active
Dear developers, I wanted to substitute a TextBox with a Dropdown widget, as the String can be only between two values. However, I am struggling in finding a way to provide the current selection as an input parameter to the Service, as for example the SelectedText field can be only have a Source but not a Target binding. I have found some solutions around but I quite do not understand them. Thanks and BR
Hi Community members. I have a situation where I need to update property values(including min/max threshold) using API from a mashup. Is there any way to update min/max threshold value of a thing property.
Hi, I'm using QueryNamedPropertyHistory to fetch data from Value Stream and bind it to Mashup. But using same timestamp(start and end date) differently,causing partial data fetch. Here is the scenario. I have a data record at 2020-10-20 09:00:00.000 1. Execute service with start date (2020-10-20 08:00:00.000) and end date (2020-10-20 10:00:00.000), timerange is 2 hours. result = empty record for that Property 2. Execute service with start date (2020-10-20 12:00:00.000) and end date (2020-10-20 10:00:00.000),timerange is 10 hours. result = expected record so same record is being fetched when time range is more but no records found when time range is closer to the actual record timestamp. Additional Info: when using QueryNumberPropertyHistory with same date 24 hours timerange for that Property, able to see only 8 records in actual. when using QueryPropertyHistory with same date 24 hours timerange , can see multiple records with rep
I am not able to import the Data Simulation File(XML) to simulate the data source. Let me know how can I work on this issue. Th
Hi Team, I am not getting any option of "Services" to execute the services using REST Call. I am trying to execute service using both GET/POST request for below Url:- http://localhost:8080/Thingworx/Things/ThingName/Services/<ServiceName> But I am not getting any option of "Services" , that'swhy it is showing response as "Invalid Request". Screenshot has been enclosed. Please let me know how to enable Services execute option using in ThingWorx For Rest Call. Thanks in advance.
Hi team, I have few records in my infotable and I want to push each record into stream. I tried to use addstreamentry service in for loop but it is pushing only the last entry into the stream. Can someone please let me know how to push multiple entries into stream.
by the way,if there have a websocket server,can i start it with thingworx,just like extension? thanks!!!
Hi Team, Is it possible to check whether ThingWorx Server is up and running using some Rest call on any thingworx property or service or both? Please guide me on this. Thanks in advance.
Hi Team, I am using Postman(GET/POST) to execute services of LicensingSubsystem, but unable to execute. I am using below url:- http://<url>:8080/Thingworx/Subsystems/LicensingSubsystem/Services/GetDaysRemainingInLicense I am getting result in JSON till LicensingSubsystem(only with GET request but not with POST). Even I tried with one of the Datatable thing also but result is also the same for Datatables. Have also attached the screenshot of one test thing displaying that No "Services" link option is present. In case of "LicensingSubsystem" I am getting only option of "ServiceDefinitions". Can somebody help me on this. What would be the actual url to execute the services of Subsystems ? Thanks in advance.
Hi Team, Could somebody help me on this, as I want to invoke subsystem services of one ThingWorx in another ThingWorx. Thanks in advance.
Hello I am struggling to find how to map a XML parameter of a service to a C# type. Currently I have that: public static void PutWorkOrder([ThingworxServiceParameter(name = "WorkOrder", description = "XML document", baseType = "XML")]XmlDocument WorksOrder) But I am not sure that XmlDocument is the right type for mapping . ( Always null when debugging) Thanks a lot
Hi all, In an effort to focus our resources on the features that deliver the most value to customers, we are planning a slight change to the browser support policy for ThingWorx. This change will come into effect with the first minor release following ThingWorx 9.1, so likely at some point during calendar year 2021. As part of this change, we will stop supporting Mozilla Firefox's Rapid Release (RR) version, but continue supporting the Extended Support Release (ESR). The Mozilla website has more details on the differences. At a high level, the ESR version receives the same security updates that the RR version does, but is more stable in terms of feature introduction. It also allows for additional organization-wide controls that are not available in the RR. Because we serve enterprise customers that generally have standardized internal IT policies and procedures, the ESR is usually the better fit. This will be reflected in our release notes, but jus
With text wrapping in Value Display widget the textbox appears distorted. This is due to style of box-shadow as [part~=disclosure-button-overlay] { box-shadow: 0px -8px 16px; } on id disclosurebuttonoverlay. This is part of below style : <style ctx="PTCS-VALUE-DISPLAY">:host {border-color: rgb(255, 255, 255);border-width: 1px;border-style: none;--valuedisplay-modal-shadowcolor: #232b2d;--value-display-modal-popup-padding: 24px;--value-display-modal-popup-value-padding-top: 8px;--value-display-button-hit-area-side: 34px;--value-display-popup-close-button-container: 16px;--value-display-popup-close-button-container-padding: 16px;--value-display-modal-popup-padding-top: 42px;--value-display-live-art-area-image-popup-padding: 42px;--value-display-live-art-area-image-popup-margin-top: 66px;--value-display-key-min-height: 26px;--value-display-value-min-height: 26px;--value-display-key-label-header-font-size: 26px;--value-display-key-label-sub-hea
Hi, What is the difference between Mashup templates and master templates in ThingWorx 9.0? And without the layout widget in ThingWorx 9.0, it is very difficult to do the spacing between each container. Is there a method to key in the spacing of the container as per our wish? Thanks & Regards, Shalini V.
Hi I am using TWX Platform 8.0+ in Google Chrome Browser. I have 3 mashups under my current project for which I am getting the following pop-up - "Could not load "mashup_name" - internal exception 1". This is not the case in IE though. I kindly request to please advise on the work around
Dear devs, While it is clear to me how to give permissions for the Mashups colletion: cs.AddCollectionVisibilityPermission("Mashups", org.getName(), "Organization"); I don't quite understand how can I give permissions to the single Mashup, as a corresponding class doesn't seem to exist in the SDK. Thanks and best regards, Federico
Here is my requirement: I have a "Thing Template" which establishes connection to an external database (JDBC - MSSQL). Now, I want to import all the entities from Development Environment to Testing & Production Environments. I want to update/set the "Configuration Table - ConnectionInfo" with new JDBC settings of new Environments. In the above scenario, once I change the settings on "Thing Template" can all the "Things" imported inherit the new settings? These "Things" have many services developed by different developers. I just want the JDBC settings to be updated from its Thing Template. Instead of changing and tracking "Things", am trying to change it, at one place (Thing Template). Any ideas or suggestions?
The download for simulated data appears to be a html file rather than an xml file with valid data. When trying to import https://developer.thingworx.com/-/media/developerportal/Foundation%20Quickstart/Things_House_data_simulator.xml When trying to import the file it returns Import failed with the following application log error "Invalid request: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 10; DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true."
Hi I have imported CharWidget - v3.0.3 extension from the marketplace, which allows the label chart to view Y-Axis values on the bar using ShowValues option under properties, but I don't see such option listed in the properties section. Is there a way I can achieve the following. Thanks and Regards Ketan Agarwal
Hello, I want to show status of program starting before 2 hrs and 15 min before if program is start then I want to show status is ON and after finish program it show me Your program is expired I have two use case for assign status for program as below 1) I want to assign program/Batches for every day 2) Assign program weekly once or twice programs please refer below attachment for better understand and suggest how to write service for assign status for program?? Thanks in advance
During the device on boarding the device generates a asymmetric key pair and send the public key to ThingWorx. The key is stored in a property. The message form the client will be signed with the private key and added to the JSON string. the incoming JSON string just needs to be “truncated” by the hash value and now I need a method where I can check with the public key and the JSON string if this matches to the hash. How? the signing will give the ThingWorx server the confidence that the message was send by this specific device that previously shared the public key.
Hi Is ThingWorx 9.0 supports InfluxDB. Thanks in Advance
I want to define my Custom CSS for the widgets but, unable to define the native variables in the ThingWorx Custom CSS. Can anyone let me know how this can be achieved in thingworx platform?
Hi All, I'm trying to fire an event when a session variable is changed, but nothing seems to happen. I set up the variable and bound the changed event to a service, but when I update the session variable via a service, nothing happens. I did confirm that the variable is being updated. I'm using 8.5.3 and I found this: https://www.ptc.com/en/support/article/CS290680?&language=en&posno=1&q=SetGlobalSession%20value%20services%20do%20not%20trigger%20session%20parameter%20changed%20events&source=search Which is the same issue I appear to be having. I was just wondering if anyone else has noticed the same issue -- as I'm probably doing something wrong. I'm trying to implement: https://www.ptc.com/en/support/article/CS314806?&language=en&posno=2&q=thingworx%20service%20session%20event&source=search Option 1 Thanks!
Hi, My logger setting in config file is "logger": { "level": "DEBUG", "audit_target": "r:/_tw_logs/audit.log", "publish_directory": "r:/_tw_logs/", "publish_level": "DEBUG", "max_file_storage": "20000000", "auto_flush": true }, The audit.log does not have the same content as wsems_log1.log while they have the same log level. Is there any way to configure 2 different log files for AUDIT and DEBUG level? My Bests, Hung Tran
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.