Recently active
I want to write a code to connect Android device to connect to connection server not directly to Web Socket. I would like data should pass through connection server not directly connect Web Socket.
Hi, allI saw some document and it said that EMS, C and .Net has persistent offline queuing feature, and Java doesn't.On the other hand, Java (and most of SDKs?) has in-memory offline queuing, it said.Is it implemented as a builtin feature, or should we implement own codes to to that?What is the best way to queue the value of properties while offline and send them at once after a re-connection?Regards,S.Yamabe
Hi all, I have two services named 'StartRecording' and 'StopRecording' that I define in my C SDK. Both services are tied to remote thing "Recorder" in Thingworx composer. In one of the use-cases, I want 'StartRecording' to trigger 'StopRecording' and another 'StartRecording' during the execution (it is coded in such a way that it won't make infinite loop). I code it this way: twInfoTable * result = NULL; twApi_InvokeService(TW_THING, "Recorder", "StopRecording", params, &result, -1, FALSE); result = NULL; twApi_InvokeService(TW_THING, "Recorder", "StartRecording", params, &result, -1, FALSE); 'params' is the input from the definition of 'StopRecording' and 'StartRecording' When I do this, however, the execution stops until time out. Afterwards, it continues but the input is not passed. My question: Do you know where I do things wrongly? And is there any more efficient way to call C SDK service from another C SDK service? Thank you in advance
Hi, I have a mashup with a dashboard and an edit-button. Now I will change the edit modus of the dashboard by clicking the button. With CSS a can hide the cog icon. Now I will enable and disable the drag&drop of the dashboardelements. I think I must do something with jquery but at this moment nothing works well.
When I tried to build the temperature-thing example project according to PTC IoT Academic Program tutorials, "mvn package" process was failed by dependencies resolving error. After download of junit-4.4.pom, build failure occurred. Message on terminal looks like this:Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.4/junit-4.4.pom (2 KB at 1.8 KB/sec)[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 34:45.046s[INFO] Finished at: Tue Jun 23 20:29:16 JST 2015[INFO] Final Memory: 5M/13M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal on project temperature-thing: Could not resolve dependencies for project com.ptcmanaged.thingworx:temperature-thing:jar:1.0-SNAPSHOT: Failed to collect dependencies for [com.fasterxml.jackson.core:jackson-databind:jar:2.3.1 (compile), j
Is there a way to force focus to a certain textbox?For example: if a reset button is pushed, the focused must be set to the cleared textbox and not remain on the button.Kind regards,Simon de Jager
How can I make up down buttons with a date picker widget ? Buttons has to go up or down by one day. I made a service to add remove days from a Initdate, but it is difficult to manage with mashup. I cannot get a fully and well working system ...
Hello ThingWorx developers community, I am using Java SDK to create a DataTable dynamically. The DataTable holds an info table and some meta data regarding that info table in each row. Something like this: I don't know at the Data-Table's creation time, the inner InfoTable's Data-Shape. I am creating multiple DataTables of that shape, but two different DataTables might have different DataShapes for their inner InfoTables. Is there a way to define the Inner InfoTables DataShape at the moment of creating the containing DataTable? Because it seems I can't add any rows to the DataTable without knowing the required DataShape.
Hi guys, I have a small problem today. I have a repeater with a submashup which shows a dropdown: If I click on a item of this dropdown, the item will selected (and shown up as the selected) but the dropdown will not disappears. It stays open. Its only a optical issus but it is annoying if you have many selections. I'm not quite sure but I thing this have something todo with the repeater. It there any workaround known to fix this problem?
I would like to know if the Thingworx version 5.3.4.2383 is compatible with Thingworx server 8.1. I have been trying to find the compatibility matrix document, but I have not access to the Edge System Requirements document: https://support.ptc.com/WCMS/files/172999/en/Thingworx_Edge_Requirements_andCompatibility_Matrix_Sep... Somebody can help me?
Hi Thingworx Community,Is there any way to have the "focus" automatically be on the textbox in an editable column within a selected row in a grid?For example, when the mashup is loaded, the first row in the grid is automatically selected. Since that row is selected, we want the curser to automatically be in the textbox of the editable column for that row so that the user is able to start typing right away. We don't want the user to have to click on the textbox in the editable column of a selected row before they can start typing.We are using version 8.0.3 and have made the grid widget editable.Thank you for your help!!
Hi All,I want to create a custom login page which redirects my user to a mashup on successful authentication. I want to handle the invalid credentials in the same custom page. (Should not redirect to form login page)Aanjan Ravi@Any idea.Thanks in Advance!Regards,Vishal Vaidya
Hi, During deployment Thingworx, am facing this issue in Tomcat. How to resolve this? Thanks.
I am getting "Failed to return license click check" error after logout. After clicking on logout link its redirected to the logout page and shows link to login again to Thingworx. On clicking on this link we are getting error mentioned above and it got stuck at this position only and never proceed further. Details are, Thingworx version: 8.1.3. SSO configured: Yes
Hello,I have to generate a report from Thingworx 7.3.Data are coming from multiple databases.I'm directly connected to these through jdbc.The report needs to be downloadable and in CSV format. I have managed this part.However, the report contains about 3 millions of lines and takes hours to be generated. What would be the best way to do this?Is there any possibility of background batching? Is there a lock mechanism that I can use (if a report is being generated, the user should not ask a new generation)?Or a simple property on a thing is enough?Thank you
I am developing an Thingworx Apps. To have them in Console page (Thingworx Utilities), we need an entry in a data table. I want to add an entry into the table programmatically when I import my extension. How do I do it? I have the code which can add an entry to the datatable. Not sure how to run it when I import the extension. Any thoughts?
I am trying to develop a print widget extension, allowing to print an HTML including a QR code or an image. For that, I need a service called "Print" in my custom widget.I tried to add the "widgetServices" function in the *.ide.js file: this.widgetServices = function () { return { 'Print': { 'warnIfNotBound': false } }; }In the *.runtime.js file, I added the function "serviceInvoked":this.serviceInvoked = function (serviceName) { if (serviceName === 'Print') { printJS('div-to-print', 'html'); thisWidget.jqElement.triggerHandler('PrintFinished'); } else { TW.log.error('Print widget, unexpected serv
I have got a LED Display Widget.When the value is less than 5, I change the color to red. How can I make the number blink?Thanks,Dan
Hi, I have a Mashup which has a form with fields. Now if the user has not Saved whatever he has filled in and goes away from this page(clicks some other link on the same page or closes this page), is there a way to understand this in a Thingworx Mashup? In plain HTML, there are "unload" events for the page, or "close" event for the window. Do we have something like in the Thingworx Mashup? Thanks and Regards, Jyothi
Can anyone suggest how to insert data to database from Thingworx? Through MS SQL extension, I am able to connect to database and read the data in the table. But I am not able to INSERT values into the table. The service showed some syntax error.
Dear Team, How many number of thing can create on Thingworx Platform?
How can set the same TitleBarText mashup property for a Gadget to be the same as the populated when adding a gadget to a group on a Dashboard.In the gadget mashup I am able to set the TitleBarText base on a service, but the "Add Gadget" pop up in the gadget title has "unknown".R Resources["DashboardFunctions"].RenameDashboardItem has the option to set a name but i should specify the dashboardID and the groupID, nevertheless, I want to be able to set it at run time for the selected and group.
Hello,I'm having an issue adding a subscription to my Thing Template. It won't allow me to select the "Other entity" option to pull in the correct entity and specify the event type:I've seen some other post similar to this. Wondering if I need to clean out some corrupted files or something. Any help on this would be great.Thanks,Reginald
Hello,I have completed the rasberry pi to Thingworx exercise. The mashup accurately displays the cpu voltage and temperature of the pi and updates those values in the mashup (i.e voltage stays the same, but I put a fan to the pi and can see the values for the temperature dropping in the mashup). I added an additional property which counts how many times a motion sensor detects movement. It's a simple python program that stores the value in a file. I use io.open to add the value to the property I create in my Lua script. However, this value does not get updated in my Mashup:The led to the left is the concern. The guage works and updates the value as it is changes. I only see an update to the left most guage when I save the properties listing in the new composer (i.e. without making any changes to the properties), close out the PiThing in the browsing panel, and reopen the properties for it.I was thinking I could update the config for the lua scr
For community members who did not see the announcement:Due to unforseen circumstances, the go-live on the new Lithium platform is delayed by 24 hours. The new target go-live is Tuesday, Feb. 13th at approximately 9am ET. The public forums in the ThingWorx Community on the Jive platform will remain read-only as of Sunday, Feb. 11, at 8:40pm ET. We apologize for the inconvenience. Thank you for your understanding as we work to move this community to a new software platform.
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.