Recently active
Overview As I was pursuing some research around leveraging our corporate Gen AI, Copilot, I did want to apply this to a request from a customer. The request was simple, can we send a text message when an alert is triggered. I wanted the outcome to be a set of instructions allowing to integrate a third-party service into a PTC ThingWorx without requiring digging into documentation from both sides. The tutorial below is the result of the following prompt executed in Copilot: “Could help me writing a thingworx rest service call for sending a message through twilio?”Note: The content generated has been formatted to make it more accessible from any public. Step 1: Set Up Twilio Account Make sure you have a Twilio account and have your Account SID, Auth Token, and a Twilio phone number. Step 2: Create a ThingWorx Service In ThingWorx, create a new service in your Thing or ThingTemplate.As an example, below I created a “Thing” called
query = { "filters": { "type": "EQ", "fieldName": "site", "value": uid } }; logger.warn(uid); var operatorDataTableEntries = Things["EAS.Mun.DataTable.Operators"].QueryDataTableEntries({ maxItems: undefined /* NUMBER */ , query: query /* QUERY */ , values: undefined /* INFOTABLE */ , source: undefined /* STRING */ , tags: undefined /* TAGS */ }); If I run this query and use 2 instead of uid, it will return the expected results. When I change this to uid, it returns no results but throws no errors. I have verified that uid = 2. I have also tried casting uid to Number() and parseInt(). Why is this not working when using a variable? Is this a known bug in my TWX version? This is Thingworx version 9.0.4
related to this thread Global "Cross reference" search - PTC Communityis there something on thingworx 9.6+ ?
I need to change the color of the hint text (or any text) for a date picker widget when the widget is disabled. It is too difficult to read with the current color. I have done so on dropdowns and text widgets using the style properties tab. I cannot find a place to change this color for the date picker widget though. The css is in the shadow dom and I was unsure how to do it here. Can anyone help to change this?
I am using ThingWorx Platform Release 9.3 and DatecodeSP7Issue with bind properties.We've bind property using script to a remote thing. The property does not appears in the UI of the thing (development HMI) but appears using services to retrieve property definitions.In consequence, we cannot use the subscription or alert function to trigger processes on data change.This issue happen since seeral time, at the very begining of our project (september 2023) we weren't facing this issue.
Hello we have ThingWorx 9.6 and are having a dev server for packaging the projects we create and other servers for production in which we actually get some data and process some stuff. I wanted to ask if there is a way to make entities editable again after they have been imported as an extension in the production servers. I have already tried exporting the project and changing all the xml entities to have the aspect.isExtension to false and to modify the entity file itself from the extension folder in the thingworx storage to have aspect.IsEditableExtensionObject="true". We are trying to change the time in which a scheduler executes and would like this to be configurable, but as the scheduler comes in an extension, it is not possible to currently do so. Is there a way to either get only this entity(Scheduler) to be editable again or is there a way to change the time of the scheduler?
Dears, I'm working with the grid component in Thingworx 9.6 and am looking to center the header text both vertically and horizontally within the header cells. I’ve attempted to achieve this using custom CSS, but I’m not seeing any effect. Here’s the CSS I tried: @supports (ptcs-style-unit: "PTCS-CORE-GRID") { [part=header-cell] { display: flex; justify-content: center; } } Unfortunately, this approach didn’t yield the desired result. If anyone has experience with customizing the grid header styling in this version (9.6) or has suggestions on how to make the header text centered in both directions, I’d appreciate the help! Thank you in advance for any insights.
Hi, I have a main responsive mashup, It has two Sub Containers... 1st Sub Container has some static positioned labels that's why it's set to static.2nd Sub Container has Collection Widget under responsive type container. Now I see all two sub-container are having Scroll bars. Is there a way, My Main Container has a vertical Scroll bar and sub-containers can expand as much as they can, without having any scroll bars? Thingworx version: 9.4.6 Thanks, Abhishek Kumar
Hi, Observing overlapping of values in Line chart like below in Thingworx 9.3.0: Please suggest if there is any way to avoid this by adjusting anything in chart properties.
When using the "New Thingworx Class" wizard to create a "New Resource" an error message stating"Please choose a valid Superclass - Class is not instance of: com.thingworx.resources.Resource" is displayed and the class cannot be created. This project uses ANT, I have been unsuccessful using Gradle in Eclipse projects. I have seen the CS376544 solution but this only address Gradle. Any advice is appreciated. TIA!
Hello Everyone,Perviously I was using thingworx version 9.2 and now upgrade to thingworx version 9.6. In 9.2 version using Infotablesector widget but it is missing in version 9.6. So please let me know if there any alternate solution available. Or we can import the same widget in version 9.6.
Hi,In my mashup, Grid 1 contains a data table with an editable "QTY" column. When I edit a value, the table updates accordingly. Grid 2 is linked to the edited data from Grid 1, but when I reload the Chrome page, the rows in Grid 2 disappear.What could be causing this?I've attached a screenshot for reference. Thanks in Advance!!
Hello, What features or modules are included in this subscription?If not purchase this one, can I use Kepware and Edge Java SDK? For example, download Kepware installation package, download Edge Java SDK, use Edge Java SDK to develop my applications, etc. Thanks.
Hi all, I am struggling to find a way to change a Scheduler schedule in the code. Is it possible to change this programmatically?
Hello everybody,has anyone exprience or can help to create a MultiEventSubscription using the ExtensionSDK?So I am currently using Thingworx 9.6.1 with the ExtensionSDK 9.6.0. The latest available Eclipse Plugin i found is 9.0.1. When I use this combination to create an Extension and a ThingShape with an event and a subscription i get this result:@ThingworxEventDefinitions(events = { @ThingworxEventDefinition(name = "Message", description = "", category = "Message", dataShape = "TWX.Core.Message_DS", isInvocable = true, isPropertyEvent = false, isLocalOnly = false, aspects = {}) }) @ThingworxSubscriptions(subscriptions = { @ThingworxSubscription(source = "", eventName = "Message", sourceProperty = "", handler = "OnMessage", enabled = true) }) public class ActorTS { private static Logger _logger = LogUtilities.getInstance().getApplicationLogger(ActorTS.class); public ActorTS() { // TODO Auto-generated constructor stub } @ThingworxServiceDefinition(name = "OnMessage", description
thingworx 9.6 ... but on 8.5 too on the UserExtensions entity I added a boolean property, (it is so a property for all users)Then I added a subscription with datachange on this property, and enabled it it seems that by changing the boolean value on a user, the subscription event is not firedIs it normal ?
Anyone any idea how I can make a list visible to see which services are running? We have some services who take some time
Hi All,Is Thingworx 9.6 compatible with postgresql version 15 or can we install with that.And i should have to go with lower versions of postgre.
Hi Team , At the time of session time out we want that it will redirect to SSO page not on the popup which is asking for username and password .can you please guide to solve this problem ..
How do I purge data in the PostGreSQL database using retention, how do I calculate the number of tuples in the PostgreSQL database. In Thingworx version 8.5, the OA_OpertorAdviso-extension existed, which provided the PurgeOldProperties service and the GetVSTuples() service. Does something similar exist in Thingworx Version 9.6? Where can I find it?BRDimitri
Hello, When i'm filtering the things using the like filter which contains special characters, it's not returning any results. I have tried using escape characters still no result. Did anyone face this issue? How did you overcome this? var filterPattern = "Thingworx Navigate (TN)";var params = {inclusive: true /* BOOLEAN */,fieldName: "Organization" /* STRING */,t: Devices /* INFOTABLE */,pattern: filterPattern + "*" /* STRING */,}; var result = Resources["InfoTableFunctions"].LikeFilter(params); -thanks, Abhiram
Hi, i want to write a subscriber inside a thing that will run only at a certain alert happens, I am currently using the alert event and it works fine only if there is only one alert configured on the property but when i have for example two alerts on one property how I can detect which alert triggered the alert event, in other words, i want a script that will detect which alert is active now thanks,
Hi all, A customer asked me this and just wanted to confirm.Can I change the host of a TWX License?Example: If I install a customer license on server ABC and the customer wants to deactivate server ABC and move TWX to server FGH, I'll need to go to license manager and go into Move Assigned Product and put the new deviceID and associate with the license, correct? TIA, Caio
After Server Rehosting, Iam getting this errosrs while connecting navigate to odata connector. How to fix this. Errors are: Your route exchange has failed. Resource Error [Connection reset by peer: socket write error]Could not dispatch async service request [NotifyPropertyUpdate] : Error: No service named NotifyPropertyUpdate is available.Error: No service named NotifyPropertyUpdate is available.Your route exchange has failed. Resource Error [Received fatal alert: unknown_ca]Transaction has been marked as a failure for request /Thingworx/Things/PartStructureAccessAppThing/Services/GetRepresentableInfoForUniqueResourceException executing service, GetRepresentableInfo, on resource provider: WindchillDemoPartResourceProviderUnable to Invoke Service GetEndpointDefinition on Windchill-Odata-Connector : Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 10 were expected, but only 0 received]IntegrationSubsystem: numberOfConnectors= 10, requestCount= 9
Hi, I have a responsive mashup, It has three main Sub Containers... 1st Sub Container has Grid2nd Sub Container has Collection Widget 3rd Sub Container has another Grid widget My Screen resolution is 1920*1080, now I see all three Subcontainer are having Scroll bars, which the Customer doesn't want. Is there a way, My Main Container has a vertical Scroll bar and sub-containers can expand as much as they can, without having any scroll bars?Thingworx version: 9.3.8 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.