Recently active
I have this function which takes lastVisitTime of type string. string date value is "2024-11-12 10:00:01"result of code when compiled on js compiler let dateFromString = new Date("date in string"); output -> 2024-11-12T10:00:01.000Z output type is object result of code when thingworx service is executed let dateFromString = new Date("date in string"); output -> invalid date output type is object could someone help me with this I want to convert my date string to date.Thanks in advance.
I have an industrial thing where the Property is bound to the points in the kepserver. I want to get the address of the point bound to the current property when the point data changes.For example, how do I get the Source value on device1 (my.device.point1)?
I am trying to import the organization from the Dev system to the Q system, but the old user groups are not being removed from the organization unit. Additionally, I cannot edit them in the Q system because they are in an extension format." I am facing the same issue mentioned in the article: Article - CS327733 - Organizations imported in ThingWorx Platform are not overridden correctly I want to remove the old user groups from the organization unit in the QA system.Is there any way to do this? Thanks & RegardsSuraj
Suggest some structured content for learning ThingWorx platform and Project to practice for beginner.
Hello All,In my case Analytics server version is not visible, please refer attachment.xxx-AnalyticsServer_xxxThing and xxx-AnalyticsServer_PredictionThing Things are available in system, but Thing is not connected.I tried removing Analytics thing on setting page and reassign still no luck. Initially every thing was working, 2 days back it says application key is expired, so I followed the step to run bat file to update encrypted password and powershell file to restart then this disconnected issue appeared. Also, below services are paused and if started manually it is getting paused again:twas-analytics-worker-1twas-analytics-worker-2twas-analytics-worker-3twas-sync-ms Please let me know how to proceed.
I am new to ThingWorx and got a sample question in the ThingWorx platform and don't know how to approach a question. Help me to understand the question and give relevant answer. Sample Question Note: All entities, characteristics, and fields must be spelled exactly as describedand are case-sensitive. The system will not find misspelled items.Import the entities in W:\TWFD-CERT-Lab-Files\WGOT-ImportEntities.xml.Examine the WGET.WashingMachine.TT Thing Template. Add the followingservices and attributes: SetRPM()• Accepts an input parameter named rpm of type NUMBER.• Sets the RPM property of the Washing Machine to the input parameter.• Returns nothing.GetRPM()• Gets the RPM property of the Washing Machine.• Returns the value of RPM as the result. This result is of type NUMBER.Hint: When authoring the services, use the properties under Me/Entities toaccess the RPM property.
I have a PLC Thing with a ThingShape. The ThingShape has a property that is bound to a kepware tag from the Thing. This property has a "!" next to it. What does this mean? Everything works fine, just curious.Also, I noticed that in our DEV env, this property shows under the ThingShape without the "!". Why is the property showing differently in the other env?
Hi, I am facing a similar issue like this: https://community.ptc.com/t5/ThingWorx-Developers/cannot-access-thingworx-flow/m-p/909791#M64343 Developer tools say::8443/Thingworx/Flow/currentUser:1Failed to load resource: net::ERR_CONNECTION_REFUSED:8443/Thingworx/Flow/customCss:1Failed to load resource: net::ERR_CONNECTION_REFUSED It would be great if you can help mw with this,
Hello Experts,As shown in below image, my intention is to show only start and end date of a Infotable in Schedule chart TimeAxis of each block and nothing in between the blocks.But as of now its taking entire time into consideration.Is it possible to achieve ? .Thanks in advance
Hello, I have a requirement which is asking to add an info:next to a progress gauge: the mashup contains legacy widget:How do you suggest i proceed? How to design it?please note that the icons are svg tags. Thanks.
Hi all, Experiencing a weird issue with the gris widget that I'm hoping someone can help me with. I have a grid widget where when I click a row I want it to populate a mashup parameter for a popup and navigate to the popup. It works normal and as expected on the first click, but when exiting the popup and clicking another row, it shows the MashupParameters as undefined. I can't figure out why it works the first time, but doesn't any time afterwords. I also tried using the SelectedRowsChanged and allowing a row to be selected and had the same issue. Any ideas on this?
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?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.