Recently active
I am using one infotable function, to json , in code snippet there we need to define infotable, am confusing where should I get this name of infotable.
Hi, I am trying to connect EMS to thingworx trail evaluation server but the web socket is not getting connected. Below are the jason.config file i am using: { "ws_servers": [{ "host": "pp-18102412130w.devportal.ptc.io", "port": 443 }], "appKey": "XXXXXXXXXXXXXXXXXXXXXXXX", "certificates": { "validate": false, "cert_chain": ["certificate.cer"] }, "logger": { "level":"INFO", "publish_directory":"logs", "publish_level":"INFO", "max_file_storage":2000000, "auto_flush":true, "flush_chunk_size": 16384, "buffer_size" : 4096 }, "file": { "virtual_dirs": [ {"logs": "logs"}, {"instruction":"instruction"} ], "staging_dir": "C:\\Projects\\PTCDocs\\PTC_Work\\EMS\\microserver\\staging" }} And the error i am getting: C:\Projects\PTCDocs\PTC_Work\EMS\microserver>wsems[INFO ] 2018-10-26 15:50:01,552 wsems: Using config file: C:\Projects\PTCDocs\PTC_Work\EMS\microserver\etc\config.json[FORCE] 2018-10-26 15:50:01,552 wsems: Starting up ....[
if I want to create some visualization which is not present in the ThingWorx platform, is there a way we can create an extension to connect with the external Visualizations?
Hi, I installed Thingworx using twxFoundationH2Trial-8.3.2-linux-x64-installer.run and I'm trying to make it use Postgresql as the model provider. I edited platform-settings.json to point to postgresql but it seems to have no effect. I have Postgresql installed and configured on a different machine and the storage folder is /ThingworxPostgresqlStorage. I can telnet port 5432 from Thingworx machine and I have run the scripts thingworxPostgresDBSetup.sh and thingworxPostgresSchemaSetup.sh and I can see the schema and all the tables created in Postgresql platform-settings.json { "PlatformSettingsConfig": { "BasicSettings": { "InternalAesCryptographicKeyLength": 128, "BackupStorage": "/opt/twxFoundationH2Trial-8.3.2/tomcat/apache-tomcat-8.5.23/ThingworxBackupStorage", "DatabaseLogRetentionPolicy": 7, "EnableBackup": true, "EnableHA": false, "EnableSystemLogging": true, "HTTPRequestHeaderMaxLength": 2000, "HTTPRequestParameterMaxLength": 2000, "Storag
Hi, Where can I download the Postgres persistence provider pacakge from? I found DSE but not Postgres
Hello Everyone, Can you suggest me how can i import my HTML Page to thingworx Composer?
i have an sql query service which returns me an infotable. the service is working fine. when I call the service in my mashup, there is no return data (expecting the result infotable)
Hi I'm trying to add an time series chart to my mashup in thingworx with values of type LONG from an OPC UA stream. The values for that chart are of type LONG and therefore they are not displayed in the chart. Is there a setting where a time series chart could display LONG values? Is there an elegant way to convert these values by a custom service before sending them to the time series chart? Thanks
Hi All, We are trying to create full responsive UI using Mashups, We are facing below issues with thingworx responsive widget. 1. Grid : As per PTC grid is responsive but when we test it with multiple resolution screen it will feel like responsive but always it last column lenght with changed other column lenght is always same. Take a look into attached screen shot. 2. List : If we place multiple lists on UI and test with different resolution then all list are not rearrange them self, it get shrink only.. 3. Is it really possible to create full responsive UI by using responsive widget (except UI custom widget).
What is the best way to connect to a ge historian? uses oledb. Thanks
Hello, I am using Gantt Chart extension from PTC Marketplace. When I configured and run the mashup it's giving error as "TypeError: Cannot read property 'ActualDataRows' of undefined at resize". (Please refer the below code and the attached image file) Could you please help me for the same as I am working on the custom widget and following the same code as Gantt Chart extension from PTC Marketplace. Thanks. (function () { TW.Runtime.Widgets.ganttChart = function () { var thisWidget = this; var currentlySelectedRow = undefined; this.runtimeProperties = function () { return { 'needsDataLoadingAndError': true, 'supportsAutoResize': true, 'propertyAttributes': { } }; }; this.renderHtml = function () { if (this.properties.ResponsiveLayout === true ) { widgetWidth = '100%'; widgetHeight = '100%'; } else { widgetWidth = this.getProperty("Width");
Hi, I installed ThingWorx 8.2 but I am not able to find the new composer. How can I resolve this? Thanks, Shalini V.
How can I pass an event from a mashup to another?If I have a master with a navigation button I want that, anytime I close the popup, the event "popup closed" triggers a service which is in the mashup.I know how to pass mashups parameters but not how to pass events
1. On service invoke complete of a service which lives in parent mashup how to invoke a. Evaluate event of Expression. b. ResetToDefaultValue for text box etc2. On True event of a validator within a contained mashup, how to invoke a service which lives in parent mashup.Note : Parent mashup does not mean Master Mashup. Its just a mashup which has a contained mashup.
Hi, An error at saving while I try to add an override service of a ThingShape at Thing level. Should it work? My Bests, Hung Tran
As per this Article, the Google maps API key has been inserted into Google Widgets Extension Package downloaded from the marketplace. Then,i re-zipped it and tried to import into the Hosted Server, but it says Validation: Not Acceptable and fails to import.Now, How shall i proceed to use the google maps widget in my Hosted Server?? Kindly respond.
Hi, I used to use a custom widget that takes a screenshot using html2canvas. it was working ok on chrome with Thingworx 8.0.4 , but once upgraded to 8.2 (or 8.0.10) I get exception: can someone support me?
Hi, I'm using the C SDK on an embedded linux platform serving as gateway to collect and push data into the Thingworx platform. The data is already floating into the cloud and I can see it in my dashboards. But I need to be able to call a service on the remote device as well as file transferring, and it seems the device is not reacting to any calls from the platform. How can I figure out, where the problem is located? I followed along the Developer Guide to setup my service and the FT on the device, without success. I cannot even use the Test button of the GetRemoteMetadata service inherited by the RemoteThing template...
Hi, I am using below code for creating service to call RestAPI in thingworx , while executing service it is not giving any error but at the same time it is not giving output also, please suggest what am i missing below is the code: var params = {url: "http://localhost:8080/greeting/"}; // result: JSONvar json = Resources["ContentLoaderFunctions"].GetText(params); var obj = JSON.parse(json);//var obj = JSON.parse('[{"id":69,"content":"Hello, World!"}, {"id":70,"content":"Hello, Bhau!"}]'); var paramsDS = {infoTableName : "InfoTable",dataShapeName : "RES_DS"}; var infoTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(paramsDS); //for (var elem in json)for (var i=0; i<obj.length; i++){var row = obj[i];//var userIdVal = row.id;var idVal = row.name;// var contentVal = row.content;// var titleVal = row.title;// var bodyVal = row.body;infoTable.AddRow({id:idVal});// infoTable.AddRow({ id:idVal, content:contentVal});} var result = infoTable;
Hi, I'm having a problem downloading files to a remote thing. The files appear to be downloading to the edge, but then get stuck in the staging directory and are not passed on to the intended final directory. From what I can see the process for downloading files is that they first get downloaded to a staging folder then upon completion they are renamed & moved to the intended destination folder. Everything suggests that the download to the staging folder is okay We use the ptc edge microserver (ems). In the example above the file's final destination should have been the "messages" folder. We are using the File Transfer Subsystem service 'Copy' to do the transfer. Transferring files from the edge to the cloud/server works fine. Has anyone come across this issue themselves, or can anyone suggest where I might start looking (logs) for a clue as to what the problem might be. Thanks, K
Hi All, I am trying to Read DataTable thing from Extension. It was returning null. My code : DataTableThing masterTable = (DataTableThing) ThingUtilities.findThing("BConfig_CM_ParametersMaster_DT");DataTableThing masterTable = (DataTableThing)EntityUtilities.findEntity("BConfig_CM_ParametersMaster_DT", ThingworxRelationshipTypes.DataTable); both codes are returning masterTable as "null". how to resolve this issue? Thanks.
I`m trying to use ValueStream chart to show property history of selected Thing from all Things that share same template. I can get QueryImplementingThingsWithDataHistory data for template that things are using but I need to be able to show data for only selected one. How can I do that?
Summary of Issue: While taking the Training Course: ThingWorx 8 Part 2: Connecting to External Data, I'm at the section: "SQL Queries and SQL Commands">"Verifying the Database Connection". When attempting to test the service, I receive the following error: "Error Executing Service, Unable to Invoke Service GetAllRecords on ACMESQLDatabase : null" Checking the Application logs reveals about the same information. Question: I've double and triple checked a lot of details but can't determine my error. Has anyone come across this? Additional Details: The ACMESQLDatabase thing has the following properties/configuration: JDBC Driver Class Name = com.mysql.jdbc.Driver JDBC Connection String = jdbc:mysql://127.0.0.1:3306/thingworxtrainingsample?allowMultiQueries=true connectionValidationString = SELECT NOW() Maximum Number of Connections = 5 Database UserName and Pass = root
I've loaded all the files to support an html help file in a File Repository. When I reference them via a link widget with the following path: https://<<localhost>>/Thingworx/FileRepositories/File_Repo/Help/index.html it downloads the index file and it doesn't seem to recognize all the other files in the folder to add images, content, formatting, etc. Any ideas?
Hi, I am trying to get STL file with REST API per this post. It was working with POSTMAN. But Not work with Thingworx. How can i resolve this issue? Already asked here. Anyone having answer for this.
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.