Recently active
I use logged property functionality to save history change of the value, very fast to use.On the advanced settings it's possible to set the "data change type" (and thresold if needed) is it possible to disable the "automatic" logging, but trigger it with a service call? It would really useful for example to save the value every 1 hour (timer subscription+service_call), but keep the current live value to change normally. This would save unnecessary data logging ... because for historycal analysis may be a point every 1 hour is enough.
Hello community, I have a use case where the users wants to be able to export an asset structure using either the export widget or by sending an email. In the end for both options I will create a CSV file. From the export widget and from the WriteCSVFile service to be able to attach it to an email. The issue is that I have structures in several different languages.Portuguese, Swedish, French and others. What I noticed was that out of the box, both the export widget and the WriteCSVFile service provide quite strange encoding for some languages: "Associação" for what should've been: "Associação". I found this PTC support article which provides a fix for the export widget by using the "IncludeBOM" option of the widget. However, I can't seem to find a way to do the same with the WriteCSVFile service.There is some setting that is described in this PTC support article.But I don't know if I can or should use UTF-8 for everything as some languages doesn't play w
Hi all,This question seems super basic but I still don't quite understand the significant difference (e.g. in using) Display Field, State Field, Value Field in Drop Down widget.Thanks in advance!
dear expert ThingName already exists or not how to find any services , any script share requirement: I write JavaScript code ,how to compare already thingName present or not
Hi,I have been following article https://community.ptc.com/t5/IoT-Tips/Connect-Azure-IoT-Devices-Part-1/ta-p/833021As per article version of HubConnection Extension should be azure-iot-hub-adapter-extension-4.2.0.4 but I found for thingWorx 9.2 has version "Thingworx-Azure-IoT-Hub-Connector-4.3.0.3". I also notice that azure.iot.conf (below) has just 3 properties but article has 10. I dont know from where read value for "hub-thing-name". When I run "azure-iot.bat" I get "java.lang.RuntimeException: Unable to connect to platform" error.Please help to point to most current article/lab or fix existing one. cx-server {protocol {file-upload-events {// Should the receiver for file-upload notifications be started?enabled = true// Name of the Thing (using template AzureStorageContainerFileRepository) which is associated to the storage container// linked with this IoT Hub (within Azure Portal: Hub > File upload (under Messaging) > Storage container).//// This thing doe
All the authentic sources from PTC here in this community discussion has talked about double click event of the Grid. However, I dont see 'Double click' event exists in TWX 9.3.1 release. Has this event been renamed to something else or removed at all? If it is renamed what is the new name and if it is removed, then why and is there a plan to reintroduce it in future release? Link to post: (doubleClicked event of grid?)by @paic https://community.ptc.com/t5/ThingWorx-Developers/doubleClicked-event-of-grid/m-p/511533#M8565 Hi Lu Wen, you can use the Navigation widget for this. So the Navigation widget itself can bring up mashup in either the same window (replacing), a new tab (new) or as a pop-up both as regular or modal. It also has a Service called Navigate which you can invoke with the Grid double-click event. The Mashup you specify for the Navigate widget, should have Mashup parameters that can be used to pass information in from the Selected row of the data source to the grid into t
We have a thing template that is used as the base template for 30k devices. We just had to make a change to one of the thing shapes that is applied to that template and that shape is part of an external extension. I can validate the extension in Composer in a matter of a few seconds. However, when I try to officially import the extension it will fail after 10-15 minutes with no specific error in the application log. My suspicion is that this is a thundering herd issue with all of those things attempting to be restarted simultaneously. Is there a way to stop the devices, perform the extension import, then throttle the starting of those things in batches?
i wanted to create an MQ connection, but could not find the extended download address
Hello , In thingworx 9.3.8 version i am unable to find the + icon of the datashape where we were able to create the datashape out of the result after execution of any query or script , If i try to create the new datashape then i will not get anything created in the fields definition .Kindly help me out with this as soon as possible , if this issue is not solved then i can;t fetch any data to the mashup. Below is the image where you can make out the difference what the problem is! Regards,Shree
Hi, I am new in Thing Worx I have just completed thing Worx help center module and tried to create 100 user in Thing Worx using services like I created a Thing Template and a Thing the I tried to write script code in services section of Thing Worx Template for creating 100 user and my code is like this way: var params = {name: "UserTemplate", // Replace with the name of your templatedescription: "",thingShape: "GenericThing", // Replace with the name of your thing shapetags: ["UserTemplate"],aspects: {}};var template = Resources["EntityServices"].CreateEntityTemplate(params);var result = "";for (var i = 1; i <= numberUsers; i++) {var name = baseName + i;params = {name: name,description: "",template: template,persistUserData: true};Resources["EntityServices"].CreateEntity(params);result += "User " + name + " created.\n";}me.result = result; but after executing this service I am getting error like:TypeError: Cannot find function CreateEntityTemplate in
java.lang.Exception: Could not bind things: Client binding limit exceeded. How to solve this exception ------------------------ Translated text from traditional chinese to english using google translate on 17th April 2023 at 10:44am IST. Translated by vnamboodheri 這個異常怎麽解決 ------------------------
Hi @Willie Were you able to find any solution for this? I have come across similar issue where multiple entries are being updated simultaneously and UpdateStreamEntry leaks few of the entries. Note: My Stream datashape has String,Number and Infotable type columns.
When trying to convert a process plan using convertProcessPlanFromID we get this error: We think this is because within the process plan is a "longdescription" that has over 4000 chars and the sql tables only allow for 4000 chars max as shown below. We removed this longDescription, and shortened it, and both instances worked so we are pretty sure this is the cause.We then tried to change this from (4000) to (max) but we still get a similar(but not exactly the same) datashape error in thingworx. Has anyone encountered this before? How can we resolve this?
Hi Developers, I have created a master mashup which has 3 buttons and 2 labels which are working fine on Click of View Mashup and properties of these buttons and labels are working fineBut when I try to use master on a mashup and open it on server post deployment, Font size, font weight, border-color, border-radius, etc shows some different Style properties like color gets change and value gets increase.Also, On refresh of mashup, it gets back to desired properties and works fine.When i tried to import same master on some other server, Style properties were coming different. Which is very weird because I just exported and imported it.I used CSS to make it correct but !important is not working as it is throwing disallowed warning for this.I am not able to post screenshots as it is from server for client. Kindly suggest.
Hi. I am trying to use the store and forward feature for sending data from kepware to thingworx. For the value stream, i use influxdb persistence provider. But, after testing, we don't find the stored data on the db. we tried using postgresql persistence provider and it works. Is there any configuration that we need to change for using influxdb? or, is the store and forward feature not supported to use with influxdb persistence provider?
HI Developers, I am facing an issue where Waiting for server response is high for only one service. It is coming 20 ms seconds for same service but then 1.6 seconds on second call when I am passing data back to SQL.I have checked and CPU utilization is normal.Also, many services are getting called before its execution. is it possible that this can cause increase in Waiting for server response time.Kindly suggest.
How to write a service that gives 300 user name in ThingWorx
Hello community, I have a requirement for one customer. The customer would like to export in csv 1 millon of rows.To clarify the use case: Take the data in csv from one year from 100 devices.I'm using the CSV Parser extension (https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Extensibility/CSVParser.html) & the Data Exportation Widget (https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/DataExportWidget.html)but the both using infotables to process the data and im not sure if a infotable is a good element to do this...1. Exist any other method or solution for massive data exportation?2. Exist a way to put in "second plain" the generation of the csv? Thank you in advance,Luis.
Hi,I am using "gridAdvaced" widget in Thingworx (9.0) Mashup.The grid configuration is written in one service.In the service JSON is created with following code to clear the selection of grid : "columns":{ . . . }, "rows": { "selection":"multi", "defaultSelectedRows":(NoOfRecords+1).toString(), "autoScroll":false }, "styles":{ . . . } I want the selected rows to get disselected whenever I change the page/ or data in the grid is changed.The service is triggered on grid view button and page change event.But if I select any row in the grid and then change the page or click the view button again (to trigger the configuration service), the selected row remain selected even if the data in the grid is changed.Please suggest a workable solution ASAP.Thank you in advance.
I was reading the PTC article "Remotely Bound Properties (Tags) on specific Industrial Things are not getting any updates from KEPServerEX / ThingWorx Kepware Server" It mentioned Orphan Remote Bindings on the IndustrialThing. What it means or how it is created? I believe it is something similar to ghost entities. Please let me know if any further information available.
Hi,Is there a way to get service names that are used in a Mashup? Is there any snippet in Thingworx for this requirement? Thanks,
Hi Team, I need to retrieve Kepware channel & devices with below in the sub group's in Tree Grid Widget. I have tried to use the existing service of "BrowseGroups" for parent & child data based on the selected "FullPath". But In runtime when I expand the Parent, it's not working properly. Kindly find the attached snapshot FYR, it will show the service bindings & widget main field configuration. Please help me with any other additional steps need to be taken care. Thanks in Advance, Arun C
Currently, if you run ConvertFromProcessPlanID and the process plan has already been converted, it creates another one identical. Is there a built in service that can avoid converting a process plan if it has already been converted? If not, how would I go about this? I can getProcessPlans and see all of the available process plans in windchill but then I am unsure how to correlate these to the ones we have already converted. The ID in getProcessPlans doesn't get placed into any of the tables when you convert the process plan. Ideally we should be able to do something like this...1) getProcessPlans ( from windchill )2) query twx OA database for all process plans3) exclude any process plans that exist in both twx and windchill4) convertFromProcessPlanID ( for the remaining process plans that are new, if any) My issue is step 3 I am unsure how to compare the 2 databases since the ID's differ and the convertFromProcessPlanID spreads the process plan into many tables wi
I'm using Thingworx 9.3.8-b1504.I need to install RTPPM and AMU applications. Inside release 9.3 I found the AMU -ThingWorx Asset Monitoring and Utilization (AMU) zip file, but RTPPM...Can anyone tell me where I can find RTPPM install file?Thanks.
Re: How to create and configure Timers and Schedulers via JavaScript Services i can not update schedule enabled runAsUser let params = { name:"TestingScheduler5" /* STRING */, description: "samplething" /* STRING */, thingTemplateName:"Scheduler" /* THINGTEMPLATENAME */, projectName:"MailserverGoogle" /* PROJECTNAME */, runAsUser:'Hariharasuthan', schedule:'0 0/9 * * * ?', }; this code can not update
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.