Project Concept

The Custom Asset Viewer application is one of the sample applications that demonstrates how the Thingworx Manufacturing Apps suite can be extended to build custom apps.

In this example, we took the out-of-the-box asset performance mashup and modified it to add a grid table which shows the Maintenance Orders from an external database. We used Postgres as the database, because the Thingworx Manufacturing Apps installer supports it by default. The Maintenance Orders are stored in a table and a SQL query is used to extract the relevant data and display them in the context of an asset.

You can take this sample application and extend it to create Maintenance Orders when alerts are triggered in the system based on pre-determined criteria. In this example, you'll learn how to take advantage of existing mashups and repurpose them for similar use.

Project Info

Type Tutorial
Level Intermediate
Est. Time 30 Minutes
Published June 13, 2018
Author Christine Bahmer

You'll learn how to

    • Install Custom Asset Viewer as an extension
    • Configure Custom Asset Viewer
    • Import data for a sample application and scripts to create the Maintenance Table and associated data
    • Customize your configuration
Register to Start Project

Things used in this project

Environment:

Software components:
Previous knowledge:

CREATE A CUSTOM ASSET VIEWER

Outline
  • Step 1: Create User
  • Step 2: Add Model Tag
  • Step 3: Import Extensions
  • Step 4: Configure Database Connection Properties
  • Step 5: Access Console Page
  • Step 6: Set Up Database
  • Step 7: Connect Database to ThingWorx
  • Step 8: Open Custom Asset Viewer
  • Step 9: Next Steps