Querying File Template Metadata

File record templates are used as the content model for text files and tables.

With Data Catalog, you can create a file record template or query the metadata information of a created file record template.

Creating a file record template

You can create a file record template by taking the following steps:

  1. Log in to the EnOS Console and select Data Catalog from the left navigation bar.
  2. From the New drop-down menu on the left, select File Record Template.
  3. On the New File Record Template page, enter the ID, name, and description of the file record template.
  4. Click Add Column, enter the column name and description, and select the data type. Repeat this step to add more columns.
  5. Click Confirm to create the file record template.
../../_images/new_file_template.png

Querying file record templates

Data Catalog supports querying the metadata information of the metadata information of created file templates. You can search for file templates by taking the following steps:

  1. In the Type list on the left side of Data Catalog page, select File Record Template.
  2. In the search field, type keywords to search for file templates, as shown below:
../../_images/file_template_search_result.png

Note

The search keywords are case sensitive and can match the ID, name, and description of file record templates.

Viewing search results

In the file template search result list, click the View icon in the Operations column, open the page of file record template details, and view the following metadata of the template.

Basic information

Under the Basic tab, view the basic information of the file record template, including:

  • File template ID
  • Name and description of file template
  • API URL of service
  • People who created the template, and the time when the template was created and updated
  • Defined columns in the file template, including column name, data type, and description.

Click the Edit Template button to edit the name, description of the file record template, and add, delete, or edit columns.

../../_images/file_template_basic_info.png