Recently active
Hello everyone, Can you guys help me with a question on google map extension, does it support zip code? I want to define region on the basis of zip code data and not on longitude, latitude as i don't have those data points. If zip code does not support with google map extension then is there a way to get longitude, latitude using zip? If you have any clue please share your thoughts or example. Thanks. Pravin P
Suppose, I want to make some services of any ThingShape/ThingTemplate/Thing only executable(i.e. without viewing of code and editable) for some users and rest can be editable to those users. (All should be done at ThingWorx Composer level) In some entity I want all the services editable, in some partial editable and in some only executable. How can we achieve this at any ThingWorx entity level. Thanks in advance.
Hi, I created a custom extension to get data from Excel files in Thingworx. I basically coded it in Java ( using eclipse by following the extension developer guide ). The extension uses Apache Poi and works fine on my local machine, where excel files are get the data. Extension only reads Excel file and puts data into postgresql from thingworx service. And I'm currently using vpn to connect to thingworx, and every time I upload excel file, vpn is disconnected. Is that a Tomcat heap-size problem? Then let me know how to check it.
Hi, I had queries about the thingstart event. The query is when does this event get triggered? I have a main template from which I am having 2-3 templates and I am having 2 things with each on these 2-3 templates. I am having a subscription which is using the thing start input in the super template or the main template from which the other templates are derived. I wanted to know that if I create a thing under an one of the template will this subscription go into action for all the things under the main template as in directly all the things are under this template and the subscription is written on it. The structure is : 'A' is the main template (subscription with thing start input is here) 'B' template under A 'C' template under A 'ThingB1' thing under template B 'ThingC1' thing under template C Now if i make 'ThingB2' thing under template B will this subscription go into action for all the three things ('ThingB2', 'ThingB1', 'ThingC1') or
Hi Folks, I'm trying to delete a Thing which is not a system object actually but whenever I try to delete it using "DeleteThing" service, getting error "cannot delete a system object" Its XML configuration has tags as follows: <aspect.isSystemObject="false" aspect.isExtension="true"> Any suggestions?
Hi Everyone, We were trying to create Extension for Thingworx Using Angular. we following below steps and stuck for packaging extension: 1. we following this URL : http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation 2. we have created basic app on angular which contains np-prime and file like .js, .css, .html, .ts. 3. we have install NodeJS, npm, Aurelia, gulp.js using node prompt. 4. download Thingworx sdk extension from PTC download page as mention in http://support.ptc.com/help/thingworx_hc/visual_sdk/#download-and-installation. 5. while running sdk it asking GitHub credentials, which we don't have access. npm install twx-wc-sdk/ptcs-library 6. Below command throwing error as "non-recognized" or internal external command: Open a command prompt, and then change your directory to your working folder. Run the following command to create the extension: mub we have tried to create sample extension and following this guide&nbs
GetGlobalSessionValues snippets giving the entire session. From this How can i retrieve particular infotable from session using code.
Hi, I'm using Thingworx 9.0 version ,I want to add link in grid advanced (in each column rows). How to add link in grid advanced?? Thanks in advanced
Hi everyone, 1. I want to add a checkbox into the grid to select multiple rows from the grid to pass this data to the service which has one info table input parameter. How can I do that? 2. Also, I want to add a link to the grid column, so that when I click on a particular row link it will open a popup or replace the window of another mashup using this row id. I am using the Thingworx 9.0 version, Please suggest me.
Dear devs, I have just noticed that, by creating a Thing from a Template defined in the Composer using: EntityServices.CreateThing(ThingName, null, null, TemplateName); The Thing in created correctly, but there is a DataTable Property that has no DataShape associated with it: But this doesn't happen if the Thing is created via Composer. What am I doing wrong? Thanks
Hi, If login using Administrator, I can see lots functions under "Script Functions", but if I login using another user who has full permission on all of entities, I cannot see any script functions in the code snippets although the function still work if call it . ===============Login with Administrator============ ===============Login with another user============ Regards, Sean
Hello, I am looking for a solution where I need to display the Data from a SQL Table(with only 3 columns) on a Label Chart, only top 5 rows(with dynamic data) needs to displayed and this table keeps on updating at every 10 minutes. I am able to display that on a Grid Widget but can't find a solution for Label Chart Widget. Have already referred the guide from Developer Portal with this link but couldn't find the solution,as it mentions only static data from InfoTables. https://developer.thingworx.com/en/resources/guides/display-data-charts . Any inputs would be highly appreciated. Mashup with Grid Widget & Label Chart Widget Regards, aNagdev
Hi Everyone, I am facing one critical issue and because of that thingworx is not responding. In application logs I am getting below error message continuously [L: ERROR] [O: c.t.s.s.e.EventRouter] [I: ] [U: ] [S: ] [T: Timer-78679613] CRITICAL ERROR: EventRouter is over capacity - events being rejected Task com.thingworx.system.subsystems.eventprocessing.EventInstance@5155ec2a rejected from com.thingworx.common.utils.MonitoredThreadPoolExecutor@389a60d6[Running, pool size = 500, active threads = 10, queued tasks = 200000, completed tasks = 84625960] When I look for the same on Community I find below link :- https://www.ptc.com/en/support/article/CS274258 As per my understanding faced issue is related to performance, Is There any way to find out overall health check of thingworx server. which indicate certain process / subscription / event causing above error ? Also one more doubt i have over here is generally how frequentl
Hi , The JSON array behaves very strange: ------------------test code of TestInputAsJson-------------------------------------------- logger.debug("jsonParam1 " + JSON.stringify(jsonParam1));logger.debug("jsonParam1.World.length " + jsonParam1.World.length);logger.debug("jsonParam1.World[0] " + jsonParam1.World[0]); logger.debug("jsonParam2 " + JSON.stringify(jsonParam2));logger.debug("jsonParam2.length " + jsonParam2.length); --------------------call service TestInputAsJson----------------------------------------------- me.InputAsJson({jsonParam1: { Hello: "bbb", World:[1 ,2,3] } /* JSON */,jsonParam2: [1,2,3] /* JSON */}); ---------------------log result------------------------------------------------------ jsonParam1 {"Hello":"bbb","World":{}} ==>The JSON array is not serializedjsonParam1.World.length 3 ==>The JSON array is actual existing although its n
Hi, I want to pass the table name dynamically to SQL query in thingworx version 8.5.5 Is it possible ? Thanks, Chahat
Dear all developers,I would like to know how to create xml files on local directory like my desktop and I created test code below but it doesn't work. Could you kindly let me know how to achieve? ================my test code is below.(hide username due to privacy) ==================== var languages = new XML( '<languages type="dynamic"><lang>JavaScript</lang> <lang>Python</lang></languages>'); var params = { path: "C:\Users\username\Desktop\newXMLFoloder\test.xml", content: languages }; // no return me.SaveXML(params);
Hello, I have a technical question. Here is the summary of what I am doing: I have an ANSYS Twin Model Connected to PTC on ANSYS Twin Builder using PTC Connector. The twin model has 1 input and 3 outputs. I was approaching the problem on 2 phases: 1- Using PTC "Thing" I can change the input, and the output change and I can see the update on the Mashup working fine (not continous update ofcurse) 2- Now, to make the work more realistic, I need to connect the physical model, to the twinbuilder to PTC. I origionally can run my physical twin using a Python code, and I can see the changes on the twin model. I updated the Python code, so it connect to PTC and run the work. which seems to work. However, the issue here is the updates I see on the twin builder and on the python code, I do not see on the mash up. I am connecting the gagues in the Mashup using the getproperties and setproperties. Am I missing somethig here that is needed as I am attachimg the physical model? P
Hello, We have a C-SDK based application and it was sending data to the thingworx platform. I have cloned the application into new instance and tried connecting the agent, but agent is not connecting and throwing below error: 2020-09-05 18:59:25,908 TW_SDK--ERROR TW_VALIDATE_CERT: Certificate rejected. Code: 10, Reason = certificate has expired I'm using the ThingWorx SDK version: 2.1.2 Can someone please provide inputs to overcome this issue. -thanks,Abhiram
Hello guys, I'm having issues when trying to start the Thingworx Azure IoT hub connector, after following the entire guide (Getting an Azure IoT Hub Connector Up and Running) I having the following error: 2020-09-04 19:26:57.478 ERROR Error refilling connections on [channel: null, endpoint ws://localhost:8080/Thingworx/WS, uri: ws://localhost:8080/Thingworx/WS] failed : com.thingworx.sdk.api.exception.AuthenticationException: Connection authentication/registration FAILED [channel: NettyBytesChannel [id=ws://localhost:8080/Thingworx/WS-2, closed=false], code: STATUS_UNAUTHORIZED, reason: Error [context: authenticating connection][cause: Missing application key!]] The current setup I am using is the following: Thingworx version: ThingWorx 8.5.5-b103 Thingworx Azure IoT Hub connector version: Thingworx-Azure-IoT-Hub-Connector-3.0.0.20 Java version: 1.8.0_251 I'm installing the connector in t
Hello EveryBody I have a thing wich contains many properties, and especially a data property of 1000 row, I wan't to know if there is any way to modify titles (Index,Pressure1,Pressure2,Temperature1,Temperature2) and also the data inside I also have a csv and excel files in my computers with data that I need but I don't know how to upload this data in my thing like in the picture especially because the infotable doesn't have a datashape.
Hello Everybody Yesterday I was working on my projects using my personal laptop because I have the free version of 3 months. and then I had some problems of "rest api failure". I didn't found any file in my (Things, datashape,thingshapes....) so I decided to restart my computer and after thingworx started to work again normally. Today I tried to connect but I have this page and I really don't know what is the problem, the only thing I get is this page. Could any one help me please ? I had all my projects on it and it's verry disturbing.
Hi, Every time when I fixed a bug in the local dev system and then import the thing's entity xml file to the testing/production system, the value of persistent property get reset in the target system. I have to manually input them again. Why is the behavior designed like this ? or it's a bug ? I'm currently using ThingWorx 8.5.5 , but the problem has existed since 8.4 at least. Regards, Sean
i am using ThingWorx 9.0, when I try to import any extension, it gives me error in the validation and importing
Hi, I Have Created the two style theme for dropdown widget. In the dropdown list the color theme is applying, but I was unable to change dropdown style in the style theme. Kindly Let me know what are the steps next to do. Thanks & Regards, Mervin
Hello everybody I'm trying to upload images that figures in my repository in order to visualise them in a mashup, First I created a simple service for this that return image link based on selected items in a list which are Strings (E1,E2,E3,....) but I figured out that it's not that simple because I can not bind the image doesn't change in my mashup. Actually I need to visualise images that exists in my repository but I don't find the file. Now I don't understand why I don't get the image from my file
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.