Recently active
Hello Everyone, I have created a Thing with 3 properties each taking InfoTable as Base Type. I have a Datashape with fields Timefield and Valuefield. I am able to display the infotable values in the chart. What I want to achieve is, I need to display the infotable values in a GridTable below the chart widget as an explanation of what is depicted in chart. (Attaching the sample image with this) But when I am trying to bind the 'GetPropertyValues' service, I am getting a nested infotable with Grid entry as [object Object]. How can I add each individual entries into Grid widget from infotable? Please help me with a solution. Thank you. Regards, Airin
Description: We are using Thingworx 8.4.0 and Kepware 8.3.65. We have created and configured remote asset through "PTC.Factory.Console" mashup. These remote assets are connected to local things. Both Thingworx and Kepware are running on diffrent machines. Now we have a requirement where we have to install Thingworx and Kepware (same version) on diffrent machines and deploy all the entities from one Thingworx server to another so we don't have to do the Kepware and Thingworx binding again.Please suggest what could be the best possible way to achieve the aim.
The tabsequence property on widgets seems obvious, but for some reason, I have been unable to get the tabbing order correct. I also can find zero documentation that explains the syntax short of it indicating it's the sequence of tab order. I have taken widgets and numbered them sequentially, but the tab order ( tab key ) does not seem to work. Any suggestions would be appreciated.
I have a table table with a field called AcknowledgeTStamp. I need it to fill be filled with the current date/time on the click of a button and then set to null with the click of another button. I tried the code below for my acknowledge service on my thing. I can't seem to figure it out. Any thoughts? var createITParams = { infoTableName : "", dataShapeName : "" }; var properties = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(createITParams); // create a row with data var row = new Object(); row.name = "AcknowledgeTStamp"; // name of your property row.value = 5; // desired value row.time = new Date(); // you can set any timestamp you need - important when using ValueStreams to log properties.AddRow(row); Things[""].UpdatePropertyValues({ values: properties });
I have a grid and I need the selected row to be highlighted with the press of a button and then un-highlighted with the press of a button. Basically I need When an un-acknowledged item is selected, make the “Acknowledge” button enabled. When the “Acknowledge” button is pressed mark the selected item as acknowledged (highlighted) and then refresh the grid view. When an acknowledged item is selected, make the “Un-Acknowledge” button enabled. When the “Un-Acknowledge” button is pressed mark the selected item as un-acknowledged and then refresh the grid view. Below I have my mashup (snippet1) and my ack/unack service right below.
Hi , Can I set a localization token string with placeholder ? like: "The data is empty for the device {0}" , {0} is the placeholder of the device name . Then I can call the service of RuntimeLocalizationFunctions to get the complete string value. I didn't find where to set the placeholder and the resource entity RuntimeLocalizationFunctions seems doesn't has service to getting token with placeholder , either. Do I have to implement the feature by myself ? Regards, Sean
Please provide me the steps to view the menu in mashup when logged in by a user other than Administrator. As I am not able to see the menu options on mashup load when logged in through user.
Hi Guys, I have been trying to create a ValueStream through Edge Java SDK, couldn't find any solution how to create that. But i'm able to set the existing ValueStream to a particular thing using SetValueStream service. Is it like ValueStream need to created while creating a thing itself or do we have any particular service to create a ValueStream explicitly. Could someone please help it out. Thanks in advance.
We are having requirement of using windchill swagger connector (ptc-windchill-integration-connector).But we dont know how to invoke custom service in that connector for REST call,whether we need to write route or js service in that connector.We want output in the form of info-table. We tried as below but getting error : var params = {infoTableName : "InfoTable",dataShapeName : "DataInfo"}; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(DataInfo) var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);// result: INFOTABLE dataShape: "DataInfo"result = Things["CDConnector"].Objects_Get_FindObjects({$filter: 'state eq INWORK' /* STRING */,typeId: 'wt.part.WTPART' /* STRING */,navigationCriteria: undefined /* STRING */,$select: 'objNumber,objName,version' /* STRING */}); But getting error as Error executing service GetPobjects. Message :: Your route exchange has failed. HTTP oper
Thingworx Application is down frequently , It is taking very long time to respond. This my Thingworx Application Log File 2019-07-08 14:47:00.161+0530 [L: WARN] [O: c.m.v.c.i.NewPooledConnection] [I: ] [U: ] [S: ] [T: pool-24-thread-1] [c3p0] A PooledConnection that has already signalled a Connection error is still in use!2019-07-08 14:47:00.161+0530 [L: WARN] [O: c.m.v.c.i.NewPooledConnection] [I: ] [U: ] [S: ] [T: pool-24-thread-1] [c3p0] Another error has occurred [ org.postgresql.util.PSQLException: This connection has been closed. ] which will not be reported to listeners!2019-07-08 14:47:00.161+0530 [L: ERROR] [O: c.t.p.p.PostgresModelExceptionTranslator] [I: ] [U: ] [S: ] [T: pool-24-thread-1] [message: [2,002] No connection. Contact the administrator.]2019-07-08 14:47:00.161+0530 [L: WARN] [O: c.t.s.s.f.e.ReservationReclaimer] [I: ] [U: ] [S: ] [T: pool-24-thread-1] Failed to get any reservations2019-07-08 14:52:09.654+0530 [L: ERROR] [O: E.c.t.w.Things] [I: ] [U:
I want to send sensor value from a arduino mega to Thingworx.I have a thing and a service created however I got an Client got end of stream when I execute my processing program.When I am using HTTPIE (that I have found on REST API tutorial) to make a single post request it is working however when i use my processing program. I am not able to make it work.Is there conditions to make multiple post request each time I get my data ? Is there a way to see what happen on thingworx when I make a POST request ? Thanks in advance I have follow this tutorial.https://eacpds.com/thingworx-using-an-arduino-uno-and-serial-connection/My code : import http.requests.*; import processing.net.*; //librarie for post request to the server import processing.serial.*; //serial connexion to arduino //import java.net.SocketException; //add for client end of stream (socket) Client myClient; // Client object Serial myPort; // The serial port final int SENSORCOUNT = 12; // This value must match SENSORCOUNT in
Hi, I'm doing post request from Arduino GSM Shield 2 to Thingworx. Right now i want to remotely create a Thing. I've tried with POSTman, the Request is valid and from Postman I can create Thing. I've posted from shield another request to other page, and i know that shield is configured corectly. But when i do the same request from arduino i get 401 error. My POST (Works in POSTMAN): POST /Thingworx/Resources/EntityServices/Services/CreateThing?appKey=xxxx-xxx-xxxx-xxx-xxx&method=post&x-thingworx-session=true&name=NewThing&thingTemplateName=GenericThing HTTP/1.1Host: pp-xxxxxxxxxxxx.devportal.ptc.io Connection: close Accept: application/jsonContent-Type: application/json And Response: HTTP/1.1 401 X-Content-Type-Options: nosniffX-XSS-Protection: 1; mode=blockContent-Security-Policy: frame-ancestors 'self'X-Frame-Options: SAMEORIGINContent-Length: 0Date: Tue, 16 Jul 2019 07:05:21 GMTConnection: close Can someone tell me wats wrong?
Hello All, Wondering what are the integrations approaches recommended by PTC for connecting to other PLM systems. We are connecting Thingworx to Enovia PLM to get data using JSON files. We are exploring below two options. 1) Message Queue Service 2) Direct file Transfer in Thingworx Repository directory We need to know which message queue service is recommended for Thingworx. Is there any Thingworx Extension built for that? I saw that RabbitMQ extension is available in Market place however it is version 1.0. https://marketplace.ptc.com/apps/193960#!overview thanks and look forward for the feedback on this. Preeti
Hello! I had such error when filling in and then saving the configuration for the database: As I understand, ThingWorx swears at the "sun" in the JDBC Driver Class Name field: Does this mean that I can't use such driver? Or is the problem in the title, or in something else? Prompt if someone came across this, please.
Hello. Am trying to understand why QueryNamedPropertyHistory service brings new data every 6-10 instead of 1 second but I still can't succeed. So here is my architecture: 1) a thing client (stand alone java program) sends data to thingworx every second; 2) remote thing receives the data and I see that new data come here every second as well; 3) the data from the remote thing goes next to separate things; 4) next, a thing template brings the data via QueryNamedPropertyHistory service; 5) new data in a mashup is seen here every 6-10 unfortunately at the final step. Could anyone tell me what I do wrong? How to achieve the desired result -) Thank you.
I want to merge service result from different thing into one table, how it can be done?
I want to exclude data in a data grid based on a checkbox. What would be the best way to do this?
Hello! I'm trying to deal with the ThingWorx Edge ADO Service. I performed the configuration for the AdoThing.config file, specifying the address, port and Appkey - as well as the type of my database driver (Excel) and the ConnectionString. I also created an AdoThing Thing like a remote database. But there is no connection at the moment. I'm sure that I made some mistake and didn't take into account something, but I don't know what and where. Please, help.
Do we have solution for moving files from Thingworx to AWS(S3 for example). And which tools we can use for implement this one?
Good day All, I am having difficulties getting the latest version (3.0) of the PDF Extension on an Ubuntu 14.04 server, although I have also come across this error on a Windows 10 localhost deployment. I have run the command (sudo apt-get install libgtk2.0 libxtst6 libxslt1.1 fonts-freefont-ttf libwebkit2gtk-3.0-25) as desrcibed in the documentation for a Ubuntu 14.04 deployment. I get the error: "Element not found or does not exist. For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'localhost', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.40-elastic-test', java.version: '1.8.0_131' Driver info: driver.version: unknown" Has anyone come across this error before and have some advice on a fix? @VladimirRosu_116627 do you have some insight possi
Hi, on TW Foundation 8.4.3 i found this error, logged in "Application logs" several time per minute. Error occurred while validating HTTP header: cookie. HTTP header value: cookie: Invalid input. Please conform to regex ^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_|% ]*$ with a maximum length of 1000. i found also a possible answer here, but it doesn't help, since the error persists. Thanks in advance.
I need a Timestamp for some of my widgets but the expression does not work anymore in the updated version 8.4. How can i evaluate the datetime in a expression ? Or do i need a service now ?
I want to install two separate thingworx instances on a single Postgres server by creating different tablespaces, DB and User names. For these I will change the postgres scripts for creating tablespaces. My platformsettings.json will look like below: Is it possible or ThingWorx will throw errors. If it doesn't throw errors will it be OK as per TWX modelling, data structure. TWX1: PersistenceProviderPackageConfigs": {"PostgresPersistenceProviderPackage": {"ConnectionInformation": {"jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx1","password": "password","username": "twadmin1" TWX2: PersistenceProviderPackageConfigs": {"PostgresPersistenceProviderPackage": {"ConnectionInformation": {"jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx2","password": "password","username": "twadmin2"
Hi , I created a mashup with 20 layouts, each containing another mashup. All the mashup simultaneously calls a stored procedure from an external database (I know it's horrible but we're kinda testing here). So that's 20 stored proc calls each 10 seconds. Overall it works well, but sometimes 1, 2 or 3 out of the 20 mashups doesn't display data, and an error sign appears instead (see attached image). I'm not 100% sure but to me it seems obvious that the 20 simultaneous calls are the cause, but I haven't found any documentation on that red alert and I was wondering if anyone could confirm. Also, if this is caused by a timeout, is there any way to change the limit time ? Thanks for any help.
Using Advanced grid ,by passing as 'edited table; as input and saved data. Secondly, again i want to save some data but secondtime that grid is empty. Then the previous edited table is taken as input for the second one. So i have to refresh that edited table.while each step completion? How to fix it?? Thanks, Chitra
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.