Script-Based Resource Provider
A resource provider can be created directly in the ThingWorx Composer using the following steps:
  1. Create a new thing template and select PTC.Resource.ResourceProviderTemplate as the base thing template.
  2. Override any of the following services on the thing template. At a minimum, the FindResources service should be overridden, as it is used to find the resources. Other non-CRUD services might be added as well:
    • CreateResources
    • UpdateResources
    • DeleteResources
    • FindResources
    • FindResource
  3. Create a new thing and select the thing template created in Step 1 as the thing template.
  4. Add any additional mappings in the Configuration table for the thing.