Recently active
Hello, I would like to create a composite query (single query) which has types of both AND and OR. For better explanation consider that datatable (say DT_A) has four columns (say 'name' [type: STRING], 'description' [type: STRING], 'remarks' [type: STRING] and 'date' [type: DATETIME]). Now I would like to create a single query which can give me results for - "GET datatable entries when 'name' or 'description' or 'remarks' is LIKE '*asd*' and 'date' equals (EQ) '1543881600'" I referred couple of links as mentioned below, but I am not able to create a single query for above statement https://support.ptc.com/cs/help/thingworx_hc/thingworx_7.0_hc/index.jspx?id=QueryParameterforQueryServices&action=show https://community.ptc.com/t5/ThingWorx-Developers/How-to-query-form-infotable-using-query-function/td-p/505431 Please let me know in case some more information is required to address this problem. Thanks in advance. Regards Aditya Mittal
Hi, I am currently using ThingWorx 8.3.1. ThingWorx was working perfectly fine in my local system as well as the AWS instance that I have. All of a sudden both of them failed and the license in ThingworxPlatform changed from "successful_license_capability_response" to "ignored_license_capability_response" and "unprocessed_license_capability_response". This happened in both the AWS instance as well as my local system. The tomcat server closes after the last line of in the attached screenshot I also tried downloading a new license with the device id obtained from the "licenseRequestFile.txt" file. However, same error occurs. This is the application log - 2018-12-04 14:21:41.083+0530 [L: INFO] [O: c.t.s.s.Subsystem] [I: ] [U: SuperUser] [S: ] [T: main] Starting Subsystem [LicensingSubsystem]2018-12-04 14:22:17.465+0530 [L: ERROR] [O: c.t.s.s.l.LicenseFetcher] [I: ] [U: SuperUser] [S: ] [T: main] License capability response returned a license with no features2018-12-04 14:23:
Hello, I am using ThingWorx 8.3.1. ThingWorx was working fine on my windows 10 system as well as a cloud based windows server, while suddenly the license in the "ThingworxPlatform" folder changed from "successful_license_capability_response" to "ignored_license_capability_response" on both these windows systems. Below is my application log. 2018-12-05 16:06:04.507+0530 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: main] Subsystem LicensingSubsystem is starting2018-12-05 16:06:04.507+0530 [L: INFO] [O: c.t.s.s.Subsystem] [I: ] [U: SuperUser] [S: ] [T: main] Starting Subsystem [LicensingSubsystem]2018-12-05 16:06:40.132+0530 [L: ERROR] [O: c.t.s.s.l.LicenseFetcher] [I: ] [U: SuperUser] [S: ] [T: main] Unable to process capability response because Storage anchor break found.2018-12-05 16:07:12.311+0530 [L: ERROR] [O: c.t.s.s.l.LicenseFetcher] [I: ] [U: SuperUser] [S: ] [T: main] Unable to process capability response because Storage anchor break found.20
I have a requirement to notify the gateway (remote) thing of the asset whenever there is a new dispatch schedule available. The easiest way to achieve this I think is to add a subscription on the gateway (remote) thing that listens to the Modify event of the dispatch schedule data table. The issue I have is that I want to add the subscription to the gateway (remote) ThingTemplate and therefore make it generic – but when making a subscription we need to define the source thing – in this case the dispatch schedule data table…but this changes depending on the asset. Example shown in attached media. The source in this example is 7bec84e9-93d8-482e-9910-186b67ebd81bDispatchSchedulePhysical and all I’m doing in the script is telling the gateway that there is a new schedule available to be retrieved. I’ve had a look at adding the subscription dynamically, but I’m not sure this is the solution. Any advice appreciated.
Hi, I wanted the gauge that I have attached as pictures. Will I be able to get it from marketplace? I already have used progress gauge and normal gauge widget in my Mashup but it doesnt meet my requirement. I am not getting the half gauge. By any chance can i modify the existing gauge that I have into this kind or any extensions available? Please provide some help. Thanks & Regards, Shalini V .Half gaugeMultiple gauge inside one anotherdynamic progress gauge
Hello, I have a question: is it possible to get via frontend the name of the current mashup? If I have a mashup called "Test" can I bind it to a service which returns me "Hello, you are in Test mashup" on the mashup itself? Thank you
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;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.