Recently active
I created deux Sites in Manuf Apps, in t "default context". Now, I would like to move it in 2 differents contexts. So I created 2 contexts, but I m pretty stuck to do the context change. I had a look to the support doc "https://support.ptc.com/help/thingworx_apps/r8.5/en/#page/thingworx_apps%2FThingWorxAppsCust%2Fmanaging_context_and_equipment_permissions.html%23 I didn't find the way how to do?
Dear devs, I am currently developing a dashboard (mashups) with textboxed, bound to buttons that in turn call services. As for now, I show success/error message from another textbox. but I would like to beautify the design and therefore add some popup/snackbar to display messages. However, I could not find any widget to help me with this. Am I missing something? Thanks and best regards!
My Team have recently upgraded ThingWorx to 8.5 from 8.3. As a normal user, I am getting the above REST service failure: Unauthorised when I tried to create a new Thing using the Generic Thing Template. Is this a permission issue? If so, where and which permission do I need to get the admin to set? The error in logs is {Not authorized for ServiceInvoke on GetHandlerDefinitions in ConfiguredThing.} The admin have tried setting permissions for visibilities, run time and design time on the Generic Thing Template but it is not working.
Hello there, I need connect my EMS device (Raspberry Pi) to my Connection server (Also RPi). Is possible send data from EMS device throught CS to ThingWorx server? Is there also posibility to send REST? Thanks everyone
Hi, I have a service that outputs a JSON. The service is as simple as var result = { "ReturnCode": 0, "Message": ""}; However, when I called the service using POSTMAN, it returns { "ReturnCode": 0.0, "Message": "" } I tried parseInt("0") to output integer for ReturnCode yet it doesn't work. How to convert the JSON format from number to integer? Thanks.
Dear all, I want to send files which created on ThingWorx to another server. The flow is below and want to know how to do "2". 1. Create a file on ThingWorx. 2. Send it to another server. Kindly let us know.
Hi, I want to all of the service use a unified way of raise error message , so the the service will call the wrapped service like RaiseError service instead of javascript statement "throw new error" when raising error. The problem is that you can only find the line number of RaiseError service in the application log for any service while I need the original position where RaiseError is called . So can I get the call stack with information of line number so that I can log a more specified error info ? Regards, Sean
In this blog I will be testing the SAPODataConnector using the SAP Gateway - Demo Consumption System. Overview The SAPODataConnector enables the connection to the SAP Netweaver Gateway through the ODdata specification. It is a specialized implementation of the ODataConnector. See Integration Connectors for documentation. It relies on three components : Integration Runtime : microservice that runs outside of ThingWorx and has to be deployed separately, it uses Web Socket to communicate with the ThingWorx platform (similar to EMS). Integration Subsystem : available by default since 7.4 (not extension needed) Integration Connector : SAPODataConnector available by default in 8.0 (not extension needed) ThingWorx can use OAuth to access SAP, but in this blog I will just use basic authentication. SAP Netweaver Gateway Demo system registration 1. Create an account on the Gateway Demo system (credentials to be used on the connector are sent by email
Hello, While trying to connect my Raspberry 3 B+ to Platform, i get this error when doing : sudo ./luaScriptResource : [FORCE] 2020-09-26 14:10:45,205 ./luaScriptResource: Starting up .... [INFO ] 2020-09-26 14:10:45,208 luaScriptResource:main: Encryption is disabled on the RAP connection. [INFO ] 2020-09-26 14:10:45,208 luaScriptResource:main: FIPS is disabled. [INFO ] 2020-09-26 14:10:45,209 ./luaScriptResource: New path is /home/pi/Desktop/microserver/etc/thingworx/clibs:/home/pi/Desktop/microserver/etc/custom/clibs:/home/pi/Desktop/microserver/etc/community/clibs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [WARN ] 2020-09-26 14:10:45,210 ScriptResource::initialize: Encryption is disabled on HTTP Server. [ERROR] 2020-09-26 14:10:45,210 ScriptResource::initialize: Failed to get HTTP Server authenticate configuration. [ERROR] 2020-09-26 14:10:45,210 ./luaScriptResource: Error initiatizing script resource [ERROR] 2020-09-26 14:10
I have tried with login by organization URL but when I log in with any user it will show me a blank mashup I have one organization name as "rezone" which under there are sub-organization which shows I below image Each organization unit include it group which contained many users, SuperAdmin - super admin group Admin - admin group Trainer- trainer I want to give visibly permission to each group so that whenever I am login with any user it will show his related mashup after login. EX. If I log in with super admin user I want to show the super admin dashboard mashup after login same when admin login I want to show the admin dashboard mashup and, when trainer login I want to show the trainer dashboard mashup. How will I achieve this? please suggest( I'm using Thingworx 9.0)
Hello, i have one mashup which shows number of programs. now i want to show status of program which shows how many time is remaining to start the program, and to show ongoing program, through the service....Please refer the below attachments for better understand
Hi All If we have many devices in kewpare, how to batch import all device configuration ? Thanks
Hello, I want to give boarder to popup window ,it is possible to give boarder to popup window??Please refer the below attachment. Thanks in advance
All - I need some help making a Toggle widget larger to support mobile design. I'm wanting to make the size of the "rectangle" larger and it looks like CSS is the only option. My problem is that I do not know what to do in the CSS to make this happen. Any help would be appreciated. Toggle Size needing to make larger. Note, the "Partial" button at the top of the image is about the size of a finger tip on the mobile. I'd like the toggle to be the same size. Below is some CSS I'm trying. I know little about CSS, so any help is much appreciated. Also, it's important to note that this is all embedded in a Collection Widget. Thanks for the help.
Hi All, Is there any widget/way to implement rich text in Thingworx mashup. Previously it used to be there in HTML textarea widget, but I think they have removed this functionality in Thingworx 9 for HTML textarea. Expecting something similar to Below screenshot: TIA. Omkar
I have been trying to import entities that were made in the composer to the extension project that I am building in Eclipse, Now when I import them in Eclipse they do show up under the entities folder on the project. But when I create the extension from eclipse and I import the zip file in the composer everything goes well but the entities that were imported into the project are not created in the composer. Only the entities that are part of the java code in eclipse are created in the composer. Is there a way for me to import entities as XML in Eclipse and have the them be part of the extension so when ever the extension is imported into Composer the entities are created? Appreciate any pointers as I am stuck at a dead end here.
Hi team, Can someone help me with the creation of scheduler. I am able to create it but I need to know what needs to be put in "schedule" field. By default, what is the time interval for which the scheduler runs and how to configure it? Thanks and Regards,
Hello, I want to show how many time is remaining to start program for this How Do I add running status of program through service??please refer the below attachment Thanks in advance
Hi, I'm New to PTC and this kind of technologies. Is it possible to make connection between Trial version of Thingworx iot foundation and Trial Vuforia studio. The Thingworx iot foundation which i'm using is 30 day hosted(cloud) trial version from "https://developer.thingworx.com/en/profile/hosting" and where there is no any login option, and we can use it as a 30 day trial for a guest. The vuforia studio i'm using is a 30 day trial version locally downloaded("http://localhost:3000/" ),where i'm loginned with my PTC credentials. I think this is the exact reason why i cant get my ioT data in vuforia studio. So if any body have the idea about how to import my iot data from thingworx to vuforia studio please help........And i'm expecting a fast response because the days are counting..hehehe..(trial version)
I've noticed that I lose data when stream entries are added very rapidly. This occurs due to the entries being added simultaneously in different threads. The stream cannot have data with the same timestamp, so only one of them gets added if there are multiple entries being added simultaneously. To prevent this from occurring, I've added random milliseconds to the timestamp. However, when so many entries are being added simultaneously, I lose data since the simultaneous entries still seems to occur even with the random milliseconds. Is there a better way to add stream entries without losing data? var timestamp = new Date(); timestamp.setMilliseconds(Math.floor(Math.random() * 1000)); Things[StreamName].AddStreamEntry({ sourceType: undefined /* STRING */, values: values /* INFOTABLE */, location: undefined /* LOCATION */, source: me.name /* STRING */, timestamp: timstamp /* DATETIME */, tags: tags /* TAGS */ });
New Scenario Using Multi-Kepware for Asset Monitoring in Connected Factories A new scenario has been completed for Connected Factory implementations, furthering the IOT EDC's goal of providing a reference library of ThingWorx performance. This scenario builds upon the first, with additional tests being performed to demonstrate the capabilities of multiple Kepware Servers running side-by-side. Horizontal scaling is very common for multi-line factory implementations, so be sure to check out the new scenario in this ever-expanding benchmark document. Note that tests below 10,000 writes per second were not repeated with multiple Kepware Servers, since there is little reason to desire such a configuration in implementations that small. ThingWorx deployment sizing was also held constant throughout these tests to demonstrate the limits of a given configuration. Changes that may improve the results of a failed test (such as adding CPUs or Memory) will be mentioned but not valida
Hi, Where can I download the lastest protocal adapter toolkit(PAT) ? Which thingworx platfom version does it supports now ? I latest document I can find is 1.5.1 from here , but it seems the highest supported version is 8.5.0, my customer is current using 8.5.5. Where can I find the latest document of PAT ? The help center has link about it , but the page of the link doesn't has information of PAT Regards, Sean
Hi, Is there a way to set thing shape with rest api as we set thing template? I tired with "thingShapeName" in the Request body of create thing rest api but its not working.
Thingworx provides the capability to use JDBC to connect to Relational Databases.What would be the steps to take?1. Find the proper JDBC JAR file, this can be easily located by keeping in mind your database and its version and doing an online search.2. Download the JDBC Extension Creator from the Marketplace3. Follow the instructions to create the actual JDBC extension you will be using4. Create a Thing based on the ThingTemplate from the JDBC extension - This represents your actual connection to the database5. Set up the configuration: a. Connection String - Usually I use connectionstrings.com to find that b. Validation String - This has to be a VALID SQL statement within the context of the database you are connecting to (Like SELECT SYSDATE FROM DUAL for Oracle) c. Proper User Name and Password as defined in the database you are connecting to6. SAVE7. To check if you are properly connected, go back into Edit mode
Generating and Reviewing JMeter Results Overview The 4th in a series of articles on load testing with JMeter, this one covers pushing the limits of a test to see how much the application can handle, as well as generating and analyzing reports once the testing completes. This article rounds off the basics of JMeter, such that anyone should be able to perform enterprise-level load testing after reviewing the content here. Multiple criteria can be used to evaluate results, including: response time (as monitored both by JMeter, and by some other tool on the system side) throughput number of errors resource saturation CPU, Memory, disk, and network utilization Depending on use case, some of these may be considered more important than others. For instance, some customers don't care if users wait a while for results to appear on the page (response time), because they set their users' expectations and mitigate the experience with well-designed loading graphics. With response ti
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.