Building a ThingWorx Solution
The recommended workflow for building an IoT solution on ThingWorx platform is as follows:
3. Create
Thing Shapes to implement common or shared properties and services.
|
PTC recommends that you use Thing Shapes to define the properties and services. If you define properties and services on a Thing Template, it is difficult to move their definitions to a Thing Shape.
|
6. If general services for business logic are required, consider creating manager or helper things to consolidate the services.
7. If
Thing Subscriptions logic is required, consider using a multi-events subscription in case the same logic is relevant to several events. If an order needs to be kept between subscription executions, use the
Execute Events Sequentially capability, and use the dedicated JSON Object to store previous values between subscription executions.
10. Package your solution.
◦ Path A: If you want to deploy your solution to other ThingWorx instances, package and publish it using Solution Central. Solution Central is a cloud-based portal that provides enterprise deployment assistance for your ThingWorx solutions. The
Solution Central Help Center provides detailed instructions on packaging, publishing, and deploying a solution using Solution Central.
◦ Path B: If you want to deploy your solution outside of ThingWorx, package it as an
extension. If you have dependencies on other extensions, define them in the metadata of the extension. See the section
Installing a ThingWorx Solutionto install the extension.