Recently active
Hi, I am developing some App in Thingworx. My mate has developed a an API Rest which If I send some JSON, it returns me another JSON. I would like to work with this JSON and save info in order to create fields in Mashup and visualize, modify data, create new one, etc, but let's go step by step. Let's Start: The code I will send to the API is the following: { "paramh":"", "language":"EN", "materialfilter": { "Materialid": "XXX", "Materialdesc": "XXX", "Materialclass": "XXX", "Materialsustitutive": "XXX" }} I can introduce some data to the XXX just to filter and get an específic JSON result . For example, If I write 1106 on Materialid, I will recieve the following JSON: Ok, now, I would like to show th
Hello, I want to create get API in Thingworx from service with converting data table format into json format? for this I create one query for getting all data and use tojson() snippets ..... set output as json base type, but I'm getting output in info table. I also used getjson() snippets and getting blank headers output please refer below attachments and suggest : How to create get API in Thingworx with getting all data in Json format ? Thanks in Advance tojson()snippets output: getjson()snippets output:
after launching thingworx web application, the composer is showing sever error Updating Media
Hello all, As some of you may have noticed, we worked with the ThingWorx product managers to catchup with the product ideas. It is still a work in progress. On behalf of the team, I want to thank you all for your suggestions. Several of you suggested ideas that made it to the ThingWorx. Specials thanks to @wvangeem @vinesh @TomDecock @sniculescu @skrüger @Radu @Prem-IKEA @unknown @karthiks @JosephMeikle @JL_4677510 @Ilya @hbhalerao-5 @dps @DanZ @Constantine @Christian_S @berkob @BennyB @amittal1 @ahaw021rockwell @agondek
Hi Team, Suppose in one section of my mashup there is a chart displaying data (Chart can be of any type) and I want to put download button to down the image of latest appearing chart. How it can be achieved in ThingWorx 9.1. Is there any widget already present to download these type of images? Thanks in advance
When we tried to open Composer and runtime it didn't open. Error is displaying as "HTTP Status 404-Not Found"
While reading csv file, not able to store one by one rows in infotable during runtime. It is storing only in variable. why?
we need to have a filter that helps us select a row from an infotable, we attach the infotatable in the question
I have a thingworx instance where SSL certificate is not there. I want to connect that instance with a Kepware without SSL. I have set Trust self signed certificate to false but still the connectivity is not established.
Hi all, during importing SourceControlEntities I got following errors.This is only happening when I am importing complete .zip file, but when I unzip this and import entities as a single file, it works fine. Importing the same "project" to the version 8.4.x. is without errors. Is there any possible solution how to import SourceControlEntities from older version to the 9.x? Unable to Invoke Service ImportSourceControlledEntities on SourceControlFunctions : null ErrorCode(cdeb5a8e-1660-4035-97fd-12e3db90e19f), Cause(null), Reason(Access was attempted on a null reference variable.), Possible Resolutions(Remove the reference to the null variable within your extension code.)
Hi, when i create infotable from datashape with Primary key it is accepting duplicate key. below are some snaps..please suggest the correct solution. i want to store entries with primary key. when i enter duplicate key it should update automatically as datashape contains a Field (Primary key ). Thanks,
How can I get the list of all the alerts that are configured for each Thing.
Iam checking each row of datatable in for loop. So iam using code: resultDT.rows[i].XXXXX I stored the field definitions in array arr[] inside the same service. I want to pass them dynamically inside for loop to the code resultDT.rows[i].XXXXX . I dont want to hardcode them again. How to make this possible?
I have been following this guide(https://developer.thingworx.com/en/resources/guides/use-edge-microserver-ems-connect-thingworx/mlp-connect-ems) to establish a EMS connection with Thingworx. after executing the wsems in cmd am not seeing either error or success message. no result is shown in cmd. However am able to see EdgeThing (Example device name as mentioned in the guide) in Thingworx and able to create a remote thing. But when I tried to access the files using BrowseDirectory there is no data. I am attaching my config.json file, config.lua file and log file for reference. Somebody Please help me to resolve this
I was trying to Import a extension ConnectionServicesExtension-2.2.4 as per the instructions given in the following link: https://developer.thingworx.com/en/resources/guides/azure-connector-guide/import-extensionsThen I get the following error: [context: Extension Exception][message: Error parsing C:\ThingworxStorage\extensions\temp\ConnectionServicesExtension-2.2.4_8fa5c171-09fa-4acc-9cea-dbcdf80a2ecf\ConnectionServicesExtension-2.2.4\Entities\Things\ProtocolAdapterLeaderElectionTimer.xml: (20, 32): cvc-complex-type.3.2.2: Attribute 'inheritedValueStream' is not allowed to appear in element 'Thing'.] The Thingworx version is 8.4.5 So what will be solutions to avoid this.@paic @slangley @c_lowy Thanks !!Shashi
Hi krishnakomal123, I am also facing the same issue, if this is resolved Could you please share what is the resolution for this? Eagerly waiting for your valuable response. Thanks, HJo.
Hi Experts, I created a barcode reader and decoder in Thingworx. A product bag contains a paper with 3 barcodes. I read 3 different barcodes and split them. After the splitting I get 4 different strings. All of splitted strings stored in an infotable. var params = {infoTableName : "InfoTable",dataShapeName : "DS_BaleMgmt_Barcode"}; dataShapeName:STRING):INFOTABLE(DS_BaleMgmt_Barcode)var res = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); var newEntry = new Object();newEntry.IRMS = "splitted string"; // STRINGnewEntry.LOT = "splitted string";// STRINGnewEntry.SSCC = "splitted string";// STRINGnewEntry.QTY = "splitted string"; // STRING .......... res.AddRow(newEntry); If I scan the top barcode the service run without fail. But if I scan the other barcodes, the previously splitted strings deleted from infotable and textbox on mashup. How can I save all of barcodes/strings while I read all of them and write the strings to a dat
The display choice of OK and Cancel in the Edit Query Dialog of the composer should be put to discussion. Normally the OK option is to submit the changes and therefore should be green and get the check mark. Please have a look at this.
Hi, Any information how to add a route to the MPMLink OData Connector in Operator Advisor by code? Found the AddRouteDefinition but I don't understand how to use it. There is no GetRouteDefinition so I can't copy from there. Let's say I want to create a simple route for GetParts with the name: "GetParts" and Endpoint: "getParts".
I am using a collection widget to mimic a list function. The data i show in each of the cell is name of the item, state date and end date. Based on the number of selections from the collections im calling another service which will show sub items belonging to all of the items selected through the collection widget. Allow selection and Multi select are both checked. On the click over any cell, the value is being passed through the selected row. But as soon i click on the same cell to unselect the data from the selected row remains the same. Ideally it should go back showing no output since i have unselected the cell. I guess this is a bug with the widget. If there is any solutions kindly let me know. -Sachin
Is there any widget available in Thingworx like Planner? Following functionalities should be available : 1. It should look like a calendar. 2. On clicking the date Task add/delete, assign a task, etc. options should be there. I am attaching a snapshot of the Microsoft planner as a reference.
Does thingworx 8.5.4 supports in mobile also including all of its widgets?
Hello, I'm running into a strange issue in my mashup where if I select a short time range, I see data from my properties in the most recent timestamps but towards the beginning of the time range, values are missing. If I then select a longer time range, I will then see data populating at those timestamps that were once empty. See below. Both are at the same timestamps but different time range. LEFT: 7/23 22:30 to 7/24 3:00, values are showing at 2:45 RIGHT: 7/24 2:45 to 3:00, some values are missing at 2:45 Looks like data starts showing when the value changes. I assume I'm setting something up in my properties incorrectly or there's something I'm missing? This post is similar, but didn't see a solution. Thank you for the help!
I connected ems to twx and followed ems connectivity steps from connect EMS to Thingworx tutorial I am able to see the list of files from ems. I tried copying, moving files from ems to twx repo but not able to complete the process. Getting error in twx composer : Error executing service readFiles. Message :: Wrapped com.thingworx.common.exceptions.GenericHTTPException - See Script Error Log for more details. Getting error in ems: FileTransferService::execute: EdgeThing MoveFile unsuccessful. Return code : 0xA0
I'm having a heck of a time getting the thingworx foundation trial installed. I've tried both RHEL and server 2016 and the error happens during the 'waiting for thingworx' step for each install.The documentation is also very difficult with conflicting information everywhere. A few examples: self-signed certificate generation steps are different between the foundation installation documentation and the guide. - keytool -genkey -alias selfsigned -keyalg RSA -keystore keyStore.jks -keysize 2048 -storetype jks https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx%2FHelp%2FInstallation%2Fthingworxfoundationinstallerforlinux.html%23 - keytool -genkey -alias tomcat9 -keyalg RSA -keystore twkeystore.jks && - keytool -import -alias tomcat9 -file "twkeystore.jks" -keystore "..\jre\lib\security\cacerts" - https://developer.thingworx.com/en/resources/guides/foundation-linux-install-guide/foundation-linux
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.