Create a New Document Type

Use Oracle Intelligent Track and Trace extension to create new document type from scratch in an offline mode.

  1. In the DOCUMENT TYPES panel, click OITT: Add New Document Type ().

  2. Enter the unique New Document Type name and ID, and then press ENTER.

    A new document type created message is displayed in the notification area.

  3. In the DOCUMENT TYPES panel, click User Defined.
    Oracle Intelligent Track and Trace generates a new document type with all the template files.
  4. For the new document type, define:
    • JSON Schema: You can either define the JSON schema from scratch or copy and paste from an existing document type.
    • Metadata Template structure. You can:
      • Define metadata from scratch. The VS Code editor features, such as auto-complete filtering, in-line syntax validation and so on helps you select the required handlebar helpers and associated properties and functions.
      • Type {{#md:metadataDocument}} and press ENTER. A template is added in to the editor window. You can modify the template based on your requirement.
    • Either define the Simulation Templates details for the document from scratch or right-click Simulation Template and click Generate.

      An empty simulation template will be generated with all the details that you can modify as per requirement.

    • Define the Presentation Template.
  5. After you define the structure, right-click and select OITT: Upload Document Type to upload it to the Oracle Intelligent Track and Trace instance.
  6. Select Keep if the document is new or you do not want to overwrite an existing document.
  7. Select Overwrite to save changes over existing document.
  8. You can upload all variants or only the document type by selecting Upload All Variants or Do not upload variants option.
  9. To verify if the new document type is successfully uploaded, you can:
    • Login to the Oracle Intelligent Track and Trace instance.
    • Click Menu () and then click Configuration.
    • Click Document Types ().
    • On the Configuration : Document Types dashboard, from the left panel, view the newly created document added to the list.
    • You can also modify the document definitions on the server and download the updated version. Right-click the newly added document type and select OITT: Download Document Type to download the newly added or updated documents and variants.
  10. Right-click the newly added document type and select OITT: Remove Document Type to delete it from the document list.
  11. Click Yes and then Confirm to delete the selected document type.

Results:

The following animation shows the steps to create new document type: