Recently active
Create Your Application Guide UI Part 2Step 4: Bind Data to WidgetsImport an EntityRetrieve DataView Data ConnectionsCreate Your Application Guide UI Part 2 Step 4: Bind Data to Widgets Mashup Data Services allow you to access IoT data so you can push data to the platform's backend as well as pull data into the Mashup itself. In the table below, we describe some common Mashup Data Services that enable that functionality:Service NameDescriptionGetPropertiesPulls in a particular Thing's Properties, as well as the associated current values contained within those Properties. GetProperties has an option to automatically update the Mashup whenever a Property value changes.GetPropertyValuesPulls in a particular Thing's Properties and their associated current values. However, it does so in an All Data grouping, opening the possibility of assigning all Properties to the same Widget. This can be helpful with some Widgets, such as the List Widget
Create Your Application Guide UI Part 1OverviewStep 1: Create New MashupStep 2: Mashup Builder SectionsStep 3: Introducing WidgetsCreate Your Application Guide UI Part 1 Overview This project will introduce the ThingWorx Mashup Builder. Following the steps in this guide, you will learn how to use this tool to create a Graphical User Interface (GUI) for your IoT Application.We will teach you how to rapidly create and update a Mashup, which is a custom visualization built to display data from devices according to your application's business and technical requirements.NOTE: This guide's content aligns with ThingWorx 9.3. The estimated time to complete ALL 5 parts of this guide is 30 minutes. Step 1: Create New Mashup The Mashup Builder is a drag-and-drop environment with a What You See Is What You Get (WYSIWYG) interface. With the Mashup Builder you can quickly and easily create a visualization of your IoT data.In this step, we
Hello, how to dynamically create an InfluxDB database and a Persistence Provider from a Thing service? Best. Pietro
In Thingworx 9.1,how to format the list widget like dropdown?? Right now it is coming with list of values. The bdropdown should show the list of values only when the user clicks on the list widget. How to do this in twx 9.1.0-b10877.
Hello community, I am newbie to C SDK. I am using Linux odroid 4.9.277-122 aarch64 GNU/Linux I compile the C SDK program by using the following command. make PLATFORM=gcc-linux-x86-64 BUILD=release I got " unknown type " error in the twMessages.h, twMessaging.h, twApi.h header files. In file included from ../src/twMessages.h:13, from ../src/twMessaging.h:7, from ../src/twApi.h:21, from ../src/main.c:99: ../src/twInfoTable.h:88:2: error: unknown type name 'twList' 88 | twList * aspects; /**< A ::twList of the aspects associated with the entry. **/ | ^~~~~~ ../src/twInfoTable.h:186:2: error: unknown type name 'twList' 186 | twList * entries; /**< A list of the entries associated with the ::twDa taShape **/ | ^~~~~~ ../src/twInfoTable.h:303:2: error: unknown type name 'twList' 303 | twList * fieldEntries; /**< A ::twList of the entries associated with t he ::twInfoTableRow. **/ | ^~~~~~ ../src/twI
The error message I receive is: unable to convert from org.Mozilla.javascript,uniqueTag to info table.var json=me.jsondata_JS();//result = JSON;for (let i=0;i<json.lenght;i++){var con=me.jstsql({id: json[i].id /* INTEGER */,email: json[i].email /* STRING */,first_name: json[i].first_name /* STRING */,last_name: json[i].last_name /* STRING */,avatar: json[i].avatar /* STRING */});result = con;}
Hi Developers, I have created a mashup with all the user input selection widgets. The user selections are put together as an infotable and set into the mashup parameter(which is a bi directional one) of that mashup. Now I'm using the Input mashup inside another mashup through the contained mashup widget. My only problem here is that the mashup parameter from the contained mashup doesn't have the changed event which i need to trigger the data service which consumes the infotable mashup parameter. How do i overcome this? Also i cannot use sesion variables. Regards,Saran
Operationalize an Analytics Model Guide Part 1OverviewStep 1: Analytics ArchitectureStep 2: Simulate Data SourceStep 3: Configure ProviderStep 4: Publish Analysis Model Operationalize an Analytics Model Guide Part 1 Overview This project will introduce ThingWorx Analytics Manager. Following the steps in this guide, you will learn how to deploy the model which you created in the earlier Builder guide. We will teach you how to utilize this deployed model to investigate whether or not live data indicates a potential engine failure. NOTE: This guide’s content aligns with ThingWorx 9.3. The estimated time to complete ALL 2 parts of this guide is 60 minutes. Step 1: Analytics Architecture You can leverage product-based analysis Models developed using PTC and third-party tools while building solutions on the ThingWorx platform.Use simulation as historical basis for predictive ModelsCreate a virtual sensor from simulationDesign-time versus operational-time i
Step 5: Create ServicesStep 6: Create SubscriptionsStep 7: Next Steps Step 5: Create Services Below shows how we can create the GetCustomerPackages Service for the PTCDeliversBusinessLogic Thing. Create Service Definition On the home page, filter and select the PTCDeliversBusinessLogic Thing.Switch to the Services tab.Click + Add. Enter the name of the Service, GetCustomerPackages.Switch to the Output tab of the Service.Select InfoTable from the list as the Base Type. When prompted for the DataShape, select CustomerDataShape.Switch to the Inputs tab of the Service.Click the + Add button. Enter the name CustomerId.Check the Required checkbox.Click Done. Add Service Functionality Switch to the Me/Entities tab.Switch the radio option to Other Entity.Filter and select PackageDataTable as the Entity. A list o
Data Model Implementation Guide Part 3Step 7: Unique Components Thing TemplatesStep 8: Data Tables and Data ShapesStep 9: SystemConnections ImplementationStep 10: Next Steps Data Model Implementation Guide Part 3 Step 7: Unique Components Thing Templates All of the shared component groups have been created. The next stage is creating the unique component group of ThingTemplates. Each of the below sections will cover one ThingTemplate, how the final property configuration should look, and any other aspects that should be added. The breakdown for the unique component group ThingTemplates is as follows: Robotic Arm Properties The properties for the RoboticArm ThingTemplate are as follows:NameBase TypeAspectsData Change TypeTimeSincePickupNUMBER, Min Value: 0Persistent and LoggedALWAYSAxis1StringPersistent and LoggedVALUEAxis2StringPersistent and LoggedVALUEAxis3StringPersistent and LoggedVALUEClampPressureNUMBER, Min Value: 0Persistent and LoggedALWAYSClampSt
Data Model Implementation Guide Part 2Step 4: SystemConnector Thing TemplateStep 5: HazardousAsset Thing TemplateStep 6: InventoryManager Thing ShapeData Model Implementation Guide Part 2 Step 4: SystemConnector Thing Template After grouping our second set of common functionality and information, we came up with the list below for the second Thing Template to create, SystemConnector with 3 Properties. The breakdown for the SystemConnector Thing Template is as follows: Follow the below instruction to create this Entity and get the implementation phase of your development cycle going. System Connector Properties Let's jump right in.In the ThingWorx Composer, click the + New at the top of the screen. 2. Select Thing Template in the dropdown.3. In the name field, enter SystemConnector and select a Project (ie, PTCDefaultProject).4. For the Base Thing Template field, select Gen
Data Model Implementation Guide Part 1OverviewStep 1: Completed ExampleStep 2: Data Model ScenarioStep 3: LineAsset Thing TemplateData Model Implementation Guide Part 1 Overview This project will introduce you to methods for creating the data model that you have designed and are ready to implement. Following the steps in this guide, you will implement the Data Model you've already designed. After having insight into your desired Data Model, this guide will provide instructions and examples on how to build out your application using the ThingWorx platform.We will teach you how to utilize the ThingWorx platform to implement your fully functional IoT application. NOTE: This guide’s content aligns with ThingWorx 9.3. The estimated time to complete ALL 3 parts of this guide is 60 minutes. All content is relevant but there are additional tools and design patterns you should be aware. Please go to this link for more details. Step 1: Completed Example Download th
Design Your Data Model Guide Part 3Step 7: PrioritizeStep 8: Largest GroupStep 9: IterateStep 10: ValidateStep 11: Next Steps Design Your Data Model Guide Part 3 Step 7: Prioritize The first step in the design process is to use the Thing-Component Matrix to identify and prioritize groups of Components that are shared across multiple Things. These groups will be prioritized by number of shared Components, from highest to lowest, enabling is to break out the most commonly used groups of Components and package them into reusable pieces.Let’s examine our example Thing-Component Matrix to identify and prioritize groups.In the table below, we have done this and recognized that there are FOUR groups. NOTE: Each item in our unique Thing-Component Matrix would also count as a group on its own. This can be dealt with almost separately from our process, though, because there is no overlap between different Things. The "Templates for Uni
Design Your Data Model Guide Part 2Step 4: Data Sources – Component BreakoutStep 5: Data Sources – Thing-Component MatrixStep 6: Model BreakdownDesign Your Data Model Guide Part 2 Step 4: Data Sources – Component Breakout Component Breakout Once you have a full list of Things in your system (as well as requirements for each user), the next step is to identify the information needed from each Thing (based on the user's requirements).This involves evaluating the available data and functionality for each Thing. You then align the data and functionality with the user's requirements to determine exactly what you need, while eliminating that which you do not. This is important, as there can be cost and security benefits to only collecting data you need, and leaving what you don't.NOTE: Remember from the Data Model Introduction that a Thing's Components include Properties, Services, Events, and Subscriptions. Factory Example Using the Smart Factory example,
Design Your Data Model Guide Part 1OverviewStep 1: Data Model MethodologyStep 2: User StoriesStep 3: Data Sources – Thing ListDesign Your Data Model Guide Part 1 Overview This project will introduce the process of taking your IoT solution from concept to design.Following the steps in this guide, you will create a solution that doesn’t need to be constantly revamped, by creating a comprehensive Data Model before starting to build and test your solution.We will teach you how to utilize a few proposed best practices for designing the ThingWorx Data Model and provide some prescriptive methods to help you generate a high-quality framework that meets your business needs. NOTE: This guide’s content aligns with ThingWorx 9.3. The estimated time to complete ALL 3 parts of this guide is 60 minutes. All content is relevant but there are additional tools and design patterns you should be aware of. Please go to this link for more details. Step 1: Data Model Methodology&nbs
Hello, community, I am trying to back up my project on ThingWorx. I have created a subscription that listens to a scheduled event.I also made a user and password property on my "helper thing" that I use in my subscription.I followed this article: https://www.ptc.com/en/support/article/CS210224However, no exports are being created in the ThingWorx storage folder. What might be the reason for this? Regards,Jay_nisa.
Hi community team,I want to set the limitation of selecting dates on the TWX datepickers within the range of 30 days only. If the selected date’s duration is more than 30 days then the data should not be accessed.Like, There are two date pickers, In the first date picker (StartDate) I want that the user can select any date (For example user selects the date of 7th June 2022 ) then I want that in the second date picker (EndDate), Only those dates are visible which are next to the 30 days from the start date (For eg: till 5th July 2022) and all the other dates and the year dropdown will be disabled.OrIn the second date picker, it should show only dates till 30 days from the first date picker (Start Date).Is it possible in ThingWorx Date Picker widget to set it for the specified dates only? ThingWorx Version 9.3.2 @PEHOWE @PaiChung @slangley @
Using the Solution Central APIPitfalls to Avoidby Victoria Firewind, IoT EDC IntroductionThe Solution Central API provides a new process for publishing ThingWorx solutions that are developed or modified outside of the ThingWorx Platform. For those building extensions, using third party libraries, or who just are more comfortable developing in an IDE external to ThingWorx, the SC API makes it simple to still utilize Solution Central for all solution management and deployment needs, according to ThingWorx dev ops best practices. This article hones in one some pitfalls that may arise while setting up the infrastructure to use the SC API and assumes that there is already AD integration and an oauth token fetcher application configured for these requests. CURLOne of the easiest ways to interface with the SC API is via cURL. In this way, publishing solutions to Solution Central really involves a series of cURL requests which can be scripted and automated as part of a mature de
Build a Predictive Analytics Model Guide Part 2Step 5: ProfilesStep 6: Create ModelStep 7: Refine ModelStep 8: Next StepsBuild a Predictive Analytics Model Guide Part 2 Step 5: Profiles The Profiles section of ThingWorx Analytics looks for combinations of data which are highly correlated with your desired goal.On the left, click ANALYTICS BUILDER > Profiles.Click New....The New Profile pop-up will open. NOTE: Notice the Text Data Only section which is new in ThingWorx 9.3. 3. In the Profile Name field, enter vibration_profile.4. In the Dataset field, select vibration_dataset.5. Leave the Goal field set to the default of low_grease.6. Leave the Filter field set to the default of all_data.7. Leave the Excluded Fields from Profile field set to the default of empty.8. Click Submit.9. After ~30 seconds, the Signal State will change to 
Build a Predictive Analytics Model Guide Part 1OverviewStep 1: ScenarioStep 2: SettingsStep 3: Upload DataStep 4: SignalsBuild a Predictive Analytics Model Guide Part 1 Overview This project will introduce ThingWorx Analytics Builder. Following the steps in this guide, you will create an analytical model, and then refine it based on further information from the Analytics platform. We will teach you how to determine whether or not a model is accurate and how you can optimize both your data inputs and the model itself. NOTE: This guide's content aligns with ThingWorx 9.3. The estimated time to complete ALL 2 parts of this guide is 60 minutes. Step 1: Scenario MotorCo manufactures, sells, and services commercial motors. Recently, MotorCo has been developing a new motor, and they already have a working prototype. However, they've noticed that the motor has a chance to FAIL CATASTROPHICALLY if it's not properly serviced to replace los
Manufacturing Apps Extension Comes with this Project This Project Usually helps the user to create the tables based on DataShape, and do some operations like insert as shown below var result = Things["PTC.SCA.SCO.PostgresDatabase"].Insert({ infoTable: MaterialClasses, dataShapeName: "PTC.SCA.SCO.MaterialClass" }); Similar way for the query, update Code Snippets can be used. This is the very Optimized way to avoid the Performance issue of DataTables (if there are more than 20,000 or 100,000 Records ).But this Project comes with Manufacturing Apps only1. How this can be achieved in Thingworx where there is no Manufacturing Apps ? 2. Is there a way to use PTC.SCA.SCO.DataConnection in Thingworx without Manufacturing Apps ?
Hi ,Creating/Working on the Custom Widgets, is there any already made widgets available for PTC side or through any Github, where team can explore and experiment the custom widgets for Thingworx 9.3 version. @slangley @c_lowy @CarlesColl @paic Thanks,Shashi.
Hi,Trying to develop an Google Chart widget extension, when imported the Extension in to the TWX shows following error: Attached the Extension Zip File for reference@slangley @c_lowy @PaiChung @CarlesColl @VladimirRosu_116627 @VladimirN @Rajkumar_20673 Thanks,Shashi.
Hello Guys,Is it possible to do a State Formatting not by fixed values for a label chart? For example the main value is 24 581 and I want that the bar is red when it hits below 25 percentage of that value.
Hello, Thingworx version 9.3. our customer has two Thingworx environments, Test and Production, respectively.Application development and tests are performed in Test environment,Final deployment in Production environment is done by importing the project from the Test environment. Since data and property values differ between the two, the import is done without overwriting property values (i.e., the "Overwrite property values" option is deselected in the Import panel). Now, let's suppose we change an existing Thing in Test enviroment by adding some new Services and Properties.We need to import such changes in Production, without overwriting property values.However, after the import process, the new Properties and Services of the Thing are not present in Production. They are correctly exported in the generated xml.. Can anybody confirm this behavior?How to import new added Services/Properties of a Thing without overwriting Property values? Best,Pietro&n
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.