Recently active
Hi all,I have created a user and an appkey with the user reference name. I want to restrict the user from executing the service which is bound to the mashup from mashup. The user should be able to see only the mashup but when he tries to execute any service should give some kind of error. In order to achieve so, I gave restrictions on service execute from the permissions for that thing, but I am getting errors in the mashup. Thank you!
Hi As per the original thread. Seems like what I am trying to do is similar. I want to write a service to output the values that are inside of my json object. I also have a subscription that calls this service. I have attached screenshots of my code below. Unfortunately I do not get the desired output. Any suggestions on how to fix this?
Hi all, I want to send alerts via SMS.I want to know how this can be achieved without Twilio extension. Thanks,Sujith
I created a template with a button that drives the page to other pages (like a home page button) and I included this in a mashup template. However when I use that template to create new mashups, it makes the buttons invisible. I tried changing the style with no luck. Is there a fix to this? or do I have to make a new function and a new button for every single page I want to make?
Hey Guys, Can anyone tell me how to apply custom css to date picker widget to change the background color of the buttons inside the date container(Done & Today). Please refer the attachment. I wanted to change the default color to red . Thanks,Jan
Hi @slangley , I am not able to navigate to a new mashup using navigation in TWX 9.3.2. I tested with the mashup files in this post. Please look into it. Thanks, Kaushik
Hi! I have a large value display that is cutting off the label text at the top. The widget is definitely wide enough but the text is not the length of the value display. How do I extend it instead of it showing the ellipses(...)?
Hello,We can't create a new asset in Configuration and Setup. Add button is not enabled. We have noticed that GetEquipmentTypesForDropDownMenu service (thing PTC.SCA.SCO.UIProvider) is returning an empty infotable, but there are 5 different equipments type in PTC.Factory.C_LaunchPointConfigurationThing_9.1.1_00.(GetEquipmentTypesForDropDownMenu service isn't visible...) Does anyone know how to solve this problem?Thanks in advance
My use case is to display how many persistence providers are connected to ThingWorx.In my Application, using PostgreSQL and Influx DB persistent providers. I tried using IsConnected and GetConnectivity services of persistent providers however it is returning true only. It would be really helpful if anyone suggest some other option to check persistent provider connectivity.
Hello, I want to monitor the application keys and their expiration date I tried two ways to list the application keys: using GetEntityList() from EntityService var result = Resources["EntityServices"].GetEntityList({ maxItems: 10000, nameMask: undefined, type: 'ApplicationKey',}); But this give me an infotable with the following fields:avatar, description, homeMashup, isSystemObject, name, tags Then I tried SpotLightSearch:const result = Resources["SearchFunctions"].SpotlightSearch({maxItems: 1000000,types: { items: ["ApplicationKey"]},aspects: { isSystemObject: false },maxSearchItems: 1000000});This give me an infotable wtih the following fields: delete, description, id, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtension, isSystemObject, lastModifiedDate, name, parentName, parentType, read, type, update So my problem is that both returned infotable that are not matching the ApplicationKey DataShape.
Hi, I'm Trying to get filter the search result by using another search inside the result table in thingworx Navigate like in Windchill. Looking for suggestion, how can i achieve this requirement or any workaround for this. thanks, keerthivarman
Hi, I have a Remote Thing and Property defined and binded properly.When I try to update the Property by the sample lua code in EMS setup files, it is working properly.But I need to fetch the data from elsewhere instead of hardcode and update in the remote property.I am trying to update the property value from EMS by fetching the value from some a json stored in lua file in EMS.Below is the code I used to fetch and Update the Value to remote property.Property binding definition in Template file is as below.properties.address_address1 = { baseType="STRING", pushType="NEVER", handler="script", key = "RemoteProperties/getRemoteBindPropValue" } property Update Lua file code is below.require "json"require "utils"require "tablex"local deviceInfo = require("scripts.deviceInfo")function getRemoteBindPropValue(method, path, headers, propertyInfo, data) local deviceInfoArray = deviceInfo.getDeviceInfo() for key,value in pairs(deviceInfoArray) do if key == proper
Dear Sir/Madam,1.My client has asked me whether Thingworx app can detect a change in the SQL Server - Table. I've checked the existing Thingworx Database Connectivity(s). It does not support "SQL Notification". Correct?2.I've read about "Thingworx Edge .NET SDK" & "SQL Server - Notification". It seems complicated. See, below.https://support.ptc.com/help/thingworx/edge_sdk_dotnet/en/https://www.c-sharpcorner.com/uploadfile/87b416/working-with-sql-notification3.I'm new to Thingworx. Is there a better (easier) solution?Pls advise. Thanks
Is there a way that I can write a value on a KepServerEX tag from Thingworx?. for example, I need to change a boolean tag of KepServerEX, but I need it to change from a Thingworx mashup using a checkbox widget. This value will change the internal logic of KepServerEX. Thanks. Valeria.
I am trying to load an internal http page with webframe, but it fails to load anything or show any error message.When inspecting the frame it shows the url in the iframe tag definition but it fails to load anything. Is there any way to load it?
In ThingWorx Analytics, you have the possibility to use an external model for scoring. In this written tutorial, I would like to provide an overview of how you can use a model developed in Python, using the scikit-learn library in ThingWorx Analytics.The provided attachment contains an archive with the following files:iris_data.csv: A dataset for pattern recognition that has a categorical goal. You can click here to read more about this datasetTestRFToPmml.ipynb: A Jupyter notebook file with the source code for the Python model as well as the steps to export it to PMMLRF_Iris.pmml: The PMML file with the model that you can directly upload in Analytics without going through the steps of training the model in PythonThe tutorial assumes you already have some knowledge of ThingWorx and ThingWorx Analytics. Also, if you plan to run the Python code and train the model yourself, you need to have Jupyter notebook installed (I used the one from the Anaconda distribution).For demonstration
Hello community, I am working on a dashbboard where I want to use a toggle button to display a OK/NOK value with this toggle. Already got it working that depending on the status true/false the switch toogles. But now I want to add some colors to that. I used the CSS widget configurator to create a design for both status: Spoiler (Highlight to read) .slider-checkbox {width: 70px!important;height: 32px!important;} .slider-checkbox > .widget-checkbox>input {display: none} .slider-checkbox > .widget-checkbox {width: 70px!important;height: 32px!important;overflow: visible;} .slider-checkbox > .widget-checkbox>label {display: block;position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: #FF0000;box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.15);border-radius: 16px;box-sizing: border-box;transition: background .2s ease-in-out;} .slider-checkbox > .widget-checkbox>input:checked+label {background: #4CAF51;} .slider-checkbox > .widget-checkbox>label>
Hello, everyone. I am trying to write a code (remotely) that updates the values of the properties inside of my json object. Then I want to take these values and send it to MQTT. My questions are: 1. how do I go about writing the remote code? (which language would you suggest for this scenario). 2. How do I send these values to MQTT? I will really appreciate your suggestions. Thank you
Hi,I need a requirement like is there any possible way to add values in between two rows in grid widget.In Grid i research a lot to insert a value in between two Rows.Required assistance for the query .Regards,Hareef.
We are using Thingworx 8.5.8 and Windchill 11.1 M020-CPS22 with Windchill 2.2.2 REST Services. Our goal is to use Windchill REST Services from within Thingworx to read from and write to Windchill. In Windchill . . .We have one subtype (eg, com.mycompany.GenericDocument) that extends Document. We have several additional subtypes that extend com.mycompany.GenericDocument. When I look at the "OData REST APIs" documentation in Windchill, I can browse to the PTC Document Management domain (v5). Under this domain, I see a GET button for (presumably) each subtype of com.mycompany.GenericDocument. If I click the blue button for /Documents/PTC.DocMgmt.MyGenericDocumentSubtype, I can specifiy criteria $filter to perform a successful search that returns only Documents of type "MyGenericDocumentSubtype". In Thingworx . . .I've created an Http Thing for which the Base Thing Template is "ODataConnector" and added the following to its configuration:v5/ProdMgmtv4/SavedSearchv5/DocMgmt T
Hi All, I am facing the issue that my ThingWorx 8.5.4 system becomes unstable once the Postgres connection count reaches its limit(300), after reducing the connected users, system performance doesn't improve. Also in the normal condition, my mashup will get loaded within 5 seconds when connecting 4500 devices and 20 users and after increasing the user count up to 30 mashup loading time increases to 15-20 seconds for the same mashup, again after reducing the users to 20 will not improve the mashup performance. What can be the factor which is causing this issue and how can I improve my system performance? Thanks in advance for your help.
Hi,Is this possible in Thingworx 9.2 to show Runtime, downtime, break, hold with different colors for Particular shift(ex : Shift Timings from 7 am to 3pm) like below image. By using available widgets can we do this?
Hi all, I have a Mashup parameter that is an infotable, which consists a column as Checklsit which is another infotable. I want to export this Checklist infotable, but I am unable to. I am able to bind that infotable to a grid & it is available in the grid. TWX 9.2 Thanks in advance,Sujith
Hi, I am using Iot-gateway in Kepware, and I want to only send messages if they have quality set to true. I tried to use Advanced templates, but I could not find any guide anywhere on how to use the directives there. I tried this, but got an error. {"timestamp": |SERVERTIMESTAMP|,"machine_ID": "m_id1","values": [|#each VALUES|{"id": "|TAG|", "v": |VALUE|, "q": |QUALITY|, "t": |TIMESTAMP| } |#unless @last|,|/unless| |#unless |QUALITY|="false"||/unless||/each|]} Please help.
I followed this article to configure my database thing: https://www.ptc.com/en/support/article/cs318728 I got the database configured but when i try to run services to check the connection (the query that i'm trying is SELECT GetDate()) the following error returns: "Unable to Invoke Service RunDatabaseQuery on DatabaseConnection : Execute Query failed: java.sql.SQLException: Cannot get a connection, pool error Timeout waiting for idle object" Don't know what may be wrong I used the following configuration for the database thing And the property tab looks like this Please let me know if you need more information to help me
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.