Hierarchy Builder

The Hierarchy Builder creates classification folders in which the imported assets are stored (if the folders do not already exist). Both 'File Name Hierarchy Builder' and 'Metadata Hierarchy Builder' are the configuration options available for the Hierarchy Builder. The 'File Name Hierarchy Builder' configuration option uses the names of the assets being loaded to generate a multi-level hierarchy in STEP, while the 'Metadata Hierarchy Builder' configuration option creates folders in STEP from a metadata file containing the desired file structure for each asset.

This topic will cover both configuration options (including their similarities and differences) available in the Hierarchy Builder.

File Name Hierarchy Builder

Both 'File Name Hierarchy Builder' and 'Metadata Hierarchy Builder' configurations include an 'Asset Hierarchy Root' and 'Use Selected Classification for Manual Imports' field, and function in the same manner regardless of the hierarchy builder chosen by the user.

Note: The 'File Name Hierarchy Builder' includes an additional option, 'Number of Folder Levels to Be Created', while the 'Metadata Hierarchy Builder' includes a 'Hierarchy Metadata Field' option.

For more information regarding manually importing assets in the Web UI, see the Asset Importer in Web UI topic in the Importing Assets documentation here.

As an example, in the screenshot below, the 'Number of Folder Levels to be Created' field has been populated with with the number '2':

The folders are created and placed in the Asset Hierarchy Root, in this case, 'Tools', and named based on the asset name. The 'clawhammer' image asset in this example would be placed in a folder named 'CL' (second level) while that folder would be placed in a folder named 'C' (first level).

Folder Identification and Creation

Prior to importing assets, a classification structure of repeating asset sub-folders should be set-up via the object type setup in System Settings. Doing so will allow for the creation of sub-classification folders during import. These asset hierarchy classification object types should use auto-generated IDs to avoid potential errors.

For more information regarding classification structure, see the Classification Hierarchy Structure topic in the Object Types and Structures documentation here.

When creating the classification structures, the system searches for a classification in STEP that matches the classification name selected in the Asset Hierarchy Root field.

Metadata Hierarchy Builder

The Metadata Hierarchy Builder option creates folders in STEP from a metadata file containing the desired file structure for each asset. To use this option, the 'Metafile Receiver or ZIP' with 'Metafile Receiver' option must also have been selected as the Receiver.

For more information regarding selecting options within the receiver, see the IIEP - Configure Asset Importer Processing Engine topic in the Creating an Inbound Integration documentation here.

The image below shows a basic example of a metafile that contains a simple file structure.

Note that the Hierarchy Metadata Field file name (in this case, 'ToolImages') matches the Filename in the metafile shown above. This allows STEP to read the metafile and create folders based on the information within the metafile.

In this example, based on the metafile above, the assets (in this case, clawhammer.jpg and drill.jpg) are placed in hierarchical folders within the Asset Hierarchy Root.

If a folder listed in the metafile already exists within the chosen Asset Hierarchy Root, that folder will not be re-created and the asset assigned to the folder within the metafile will be placed in the existing folder.

Considerations