Recently active
As per the Original Post. hi expert I need sent mail how do write script , event how to add please structure of program
Can we change the color of the scroll bar in mashups? If so, please suggest?
Hi guys,I try to install thingworx foundation, but close to ending process appears error popup " there has been an error. fundation instalation Failed the application wil exit now"Windows Server 2019Fundation vr: 9.3.8Java :11.0.12RemoteMSSQL 19.02
dear all expert i plan to multiple users dynamic scheduling every user separate scheduling time how to implement. i have done for single user email sent massage scheduling. but how did multiple user and dynamic scheduling email sent .
Good day community, I have some alerts with limit values on the template levelShould the user need to change these limits there is a service that dynamically changes the alert limits for a particular thing.Therefore the alert values on a thing level are overwriting the template values (which is fine). These alerts do get fired. However after getting fired they are mean to execute subscriptions, which is not happening. The alerts are not executing the subscriptions that listen to the alert property. Has anyone come across this issue before? Do you know why the subscriptions are getting ignored? Regards,
How can I transfer documents automatically from Thingworx application to a windchill application and delete the document afterwards from thingworx? Is there an API I can use for it or any other available code? Thank you in advance!
diffviewer widget was very useful in gitbackup extension to see differences between different commits. Now it's not available. do we have any alternate approach/widgets to see diffs between commits ?
I have an infotable (from SQL query and processed in JS) in which one column is "Serial number" which sometimes has pure number data type and sometimes it is alpha-numeric. and hence the column values is converted into varcharWhen this infotable is provided to "DataExport" widget, it downloads a ".csv" file, which shows the "Serial Number" column formatting as "General" and hence the pure numeric values displayed as "2.303036E+13".Where as it should show something like 2303601000059.I tried the filed definition datatype as "Number" as well as "String", but getting the same result.Please suggest a solution on this.Please find the screenshots below.Thank you
Hi, My application log is filled with these errors. Not sure what this is. Can someone help me out with this? 2023-02-01 07:54:30.175+0000 [L: ERROR] [O: c.t.p.i.InfluxdbDataExceptionTranslator] [I: ] [U: SuperUser] [S: ] [P: ] [T: pool-63-thread-5] [2,002] No connection. Contact the administrator. 2023-02-01 07:54:30.375+0000 [L: WARN] [O: c.t.p.c.ValueStreamEngine] [I: ] [U: SuperUser] [S: ] [P: ] [T: pool-63-thread-5] Entries persisted successfully after retrying 1 time for 10203 milliseconds. Thingworx Version: 9.3.4 Database: Influx DB Thanks,
Hi All,I have recently installed Thingworx 9.3.7 on MSSQL 2019 with DB name as ThingworxHome as a persistence provider.Also I created 1 DB thing on same as ThingworxExt to test sql queries from platform. I am not able to establish connection.I am sharing details as below along with screenshots: JDBC Driver Class Name : com.microsoft.sqlserver.jdbc.SQLServerDriverJDBC Connection String : jdbc:sqlserver://127.0.0.1:1433;databaseName=ThingworxExtconnectionValidationString : SELECT NOW()Database User Name : TwadminPassword : 123xxxAny suggestion to track and trace how I can confirm all my settings are correct or not. Thank you in advance,Sid
Hi Team,I am working on POC for which I need to generate simulated values using kepware. Requirement is to simulate production volume in gallons per second for each batch in production plant. Kindly refer screenshot for reference.Tag1 : random number in range 0 and 1 per second Tag2 : Custom Name in word and linking together to generate (Tag should be in string format e.g. "20OZ ABC")Kindly, suggest how I can achieve this.Thanks,Sid
Hi PTC Developer team,I am looking for example code of how to connect to IFS Cloud where I need to use OAuth 2.0 Client from ThingWorx Platform. (I would like to find a way without using ThingWorx Flow) Steps I like to perform:1. Connect with OAuth 2.0 from the platform (looking for example code).2. Extract data using the REST enpoints (this we have already done in postman and will be able to use in TWX when the auth is configured). Link to IFS Cloud documentation: https://docs.ifs.com/techdocs/22r1/030_administration/010_security/005_security/030_authentication/#bearer_token_usage
Dear TW community We would like to connect a smart torque wrench, which can send and receive torque values, to thingworx.If you could can share know how for any of these issues, we would be very grateful:What are the options for connecting these tools (Kepware or direct to TW)Which products are available?Does someone have experience with connecting torque tools?Best wishes Alex
Hello Community, As I have started working more with permissions in Thingworx recently.I was wondering how other people in the community use permissions when setting visibility or disabling widgets in mashups. My current thought is to set some different session parameters when the master mashup loads like;Master loads -> SetGlobalSessionPermissions The service SetGlobalSessionPermissions could look something like this:const userGroups = Resources["CurrentSessionInfo"].GetCurrentUserGroups(); const isAdmin = userGroups.rows.toArray().find(e => e.name === 'Admin'); if(isAdmin) { Resources["CurrentSessionInfo"].SetGlobalSessionBooleanValue({ name: "IsAdmin", value: true, }); } const isViewer = userGroups.rows.toArray().find((e => e.name === "Viewer")); if (isViewer) { Resources["CurrentSessionInfo"].SetGlobalSessionBooleanValue({ name: "IsViewer", value: true, }); } Then in any mashup we could use these session parameters to set visibility or
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
Is TWX Apps - AMU (AMU 2.0.2 and MnfgCommon_Extension 4.1.0) compatible with TWX 9.3.5 in cluster mode (active - active)?
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
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.