Skip to main content Skip to complementary content

Business metadata export and import

It can be a time-consuming and tedious process to update business metadata particularly when the sources contain hundreds or thousands of data elements but updates can also be managed outside of the product faster and with more efficiency. To update business metadata for sources, entities, and fields, users can first either export business metadata to a CSV file from a source (source, entity, and fields) in their environment and then import modified metadata (modified with a tool like Excel) back into Qlik Catalog for a round-trip metadata update or users can upload a CSV file for a one-time update.

If you are exporting the CSV file to modify, the structure is already defined. The CSV file should have columns detailing target Object Type (EXTERNAL for source objects, INTERNAL for discover objects), Source, Entity, and Fields along with metadata for Business Name, Business Description, Technical Description, Tag 1, Tag 2, Tag 3, Tag 4, and so on; there is no limit to the number of tags that can be applied at source, entity and field levels. (See also: Extended business metadata import support for XLS import of custom field values).

The following example demonstrates a round-trip metadata update where a user:

  1. Exports business metadata to a CSV file
  2. Makes changes to the metadata CSV file using a tool like Excel
  3. Imports the modified business metadata back into Qlik Catalog
Warning note

Business metadata values will be mapped to the specified object-level(s) in the spreadsheet. For example, if the source and entity names are provided in the spreadsheet in their respective columns, all of the metadata values for Business Name, Business Description, Technical Description, Tag 1, Tag 2,Tag 3, Tag 4, and so on, will be inserted at those levels. Business Name column MUST be filled in: null values are not allowed in this column.

Warning note

Users should be aware that business metadata import will overwrite values in place for Business Name, Business Description, and Technical Description fields even if those cells are blank in the spreadsheet. The tag fields are additive and will not overwrite tags that are in place.

Information note

Cell values in the Technical Description column behave and populate differently depending on whether they are applied at the source, entity, and field levels.
source: NOT IN USE. Cell values in a source row (a row with only a source name entry) in the Technical Description cell will be ignored.
entity: Short Name. Cell values in an entity row (a row with a source and entity name entry) in the Technical Description cell will be imported into the entity's Short Name field.
field: Technical Description. Cell values in a field row (a row with a source, entity, and field name entry) in the Technical Description cell will be imported into the field's Technical Description field.

All other business metadata is imported as expected.

Exporting business metadata

  1. Go to Admin>Import / Export Metadata tab.

  2. Select the Import / Export Metadata dropdown and select the Export button.

  3. Click on the Please Select dropdown and select Business Metadata.

  4. Select Next.

  5. Select the source(s) that you want to export the business metadata file from.

  6. Select Ok. This action downloads a business metadata file to your default downloads directory. Open the file.

  7. Image example: Exported business metadata spreadsheet. Note the Technical Description behavior per level. Technical Description for source is not in use and Technical Description value for entity populates the Short Name field.
    exported business metadata CSV file example

    External entity details before business metadata edits

    Details show business metadata for an entity before making changes and importing a CSV

Editing business metadata

  1. Edit the CSV to modify the business metadata for import. If you are doing a one-time import of business metadata it is still recommended to export from the source first so the correct structure is in place. Save the modified CSV locally. If the business metadata values are identical for internal (discover) and external (source) objects, one row with the Object Type column value ALL is applied to both (on import only).

  2. Image example: Modified business metadata spreadsheet

     business metadata CSV file example modified for import

Importing business metadata

  1. Go to Admin>Import / Export Metadata tab.

  2. Select the Import / Export Metadatadropdown and select the Import button.

  3. Click on the Please Select dropdown and select Business Metadata.

  4. Choose File: Navigate to and select the modified business metadata CSV file.

  5. Select Finish.

Information noteBusiness metadata import is a two-pass process. Two import jobs will be created and run each time import is initiated. One job imports INTERNAL (discover) and ALL (both) rows to create internal sources; the other job imports EXTERNAL (source) and ALL (both) rows. The delivery time is the same for the two IMPORT jobs.

External entity details after business metadata edits

Details show business metadata for an entity after making changes to a CSV that has been exported from Qlik Catalog and then imported

 

 

 

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!