Import assets

You can import assets with the import functionality. For example, this is useful if you have a list of business terms in Excel and you want to manage them in Collibra Data Intelligence Platform.

Tip 

If you want to edit a large amount of assets in one go, you can perform an export-import round trip:

  1. Create a view that contains all the assets and characteristics that you want to edit.
  2. Export the assets from that view.
  3. Edit the exported file.
  4. Import the assets back into the same view. Collibra automatically maps the characteristics during the import, implementing your changes.

Note 
  • Importing assets and complex relations is restricted by the file upload settings, which define the maximum file size, allowed file extensions, and maximum amount of uploads and downloads per day. Contact Collibra Support to change the file upload settings. The default maximum file size is 512 MB.
  • When importing Excel files, you may encounter an error with the file being too large. If this is the case, split the file into multiple smaller files or use CSV.
  • Importing data from a large Excel file can consume a lot of memory. We advise you to import from CSV instead of Excel, or to limit the Excel file to only contain the data you really need.

Prerequisites

  • You have a global role that has the Import global permission.
  • You have prepared an Excel or CSV file for upload:
    • Only the essential sheets, columns and rows remain.
    • Numbers that have to be interpreted as text are preceded by a single quotation mark.
    • Dates are formatted as yyyy-mm-dd.
    • If you want to import responsibilities, Asset responsibilities support is enabled in Collibra Console.

Import using the new wizard

Tip You can import responsibilities along with your assets.

  1. Open a view.
  2. Above the table, to the right, click Assets.
    The Import dialog box appears.
  3. Drag and drop the file or click Upload a file and choose the appropriate Excel or CSV file for upload.
  4. If you chose a CSV file:
    1. Enter the required information.
      FieldDescription
      Column SeparatorThe character used to delimit the columns in the CSV file.
      QuoteThe character before and after a string to capture the entire cell.
      Escape CharacterThe character that is used to use the column separator or quote character as plain text.
  5. Click Next.
  6. Manage the mapping of the fields of the import file and your Collibra resources:
    1. The Import mapping dialog box appears and Collibra tries to map the table headers in your import file to Collibra resources, based on the names of the fields and columns.
    2. Click Automap to let Collibra map all previously unmapped columns automatically.
    3. If required, manually map columns to another resource.
    4. Click Next.
      The Import options appear.
  7. Enter the required information.
    SettingResult
    Create new assets if they don't yet exist

    If assets do not exist, Collibra creates them when you provide the following information:

    • The full name.

      Tip The full name of the assets is a unique identifier in each community. If you map the full name, you don't need to map the name of the assets unless they are different. When you create new assets, their full names automatically become their names, unless you also map their names.

    • The asset type.

      Tip If you don't map the asset type, it defaults to Business Asset or a deducted value from a relation.

    • The domain.

      Tip If you don't map the domain, it defaults to the current domain.

    Collibra creates a new domain and top-level community when the following conditions are met:

    • You mapped the domain, domain type and community.
    • The new domain names are unique and the new community names are unique in each domain.
    How do you want to handle existing assets from the file?

    Choose to either:

    • Delete existing assets and recreate them again based on the file.
    • Update existing assets with any new values from the file.
    How do you want to handle existing attributes, relations and responsibilities that were mapped?

    Choose to either:

    • Replace all existing values with the ones provided in the file.
    • Only add new values.
    Delete existing assets from the domain that are not in the file.Collibra deletes existing assets from a domain if they are not in the import file. If an existing domain is referenced in the import file, then any assets from that domain not included in the file are also deleted. This applies to all domains defined for relations as well.
    Test importCollibra first simulates an import without affecting the data to give you an overview of how the actual import would affect the data. After the overview, you can proceed with the import, go back to change the options or cancel the import.
  8. Click the Test Import button.
    The test results appear.
  9. If the simulated results match your expectations, click Import.

    Tip If they don't, click Back to change the mapping or import options.

    The import results appear.

  10. Click Close.

Import using the old wizard

Important Starting with Collibra version 2023.08, version 2 of the import wizard is enabled by default, while version 1 is no longer available for general use.

Note For the original import wizard, the max file size is restricted to 100 MB.

  1. Open a view.
  2. Above the table, to the right, click Assets.
    The Import dialog box appears.
  3. Click Select File and choose the appropriate Excel or CSV file for upload.
  4. Click Next.
  5. If you chose a CSV file, do the following:
    1. Enter the required information.
      FieldDescription
      Column SeparatorThe character used to delimit the columns in the CSV file.
      QuoteThe character before and after a string to capture the entire cell.
      Escape CharacterThe character that is used to use the column separator or quote character as plain text.
    2. Click Next.
  6. Manage the mapping of the columns of the import file and the view's fields.
    1. The Import mapping dialog box appears and Collibra tries to map the columns from the import file with the Collibra resources, based on the names of the columns and resources.
    2. If required, choose another view in the view selector.
      Tip Choose All characteristics to show all characteristics. In most cases, this makes it easier to map all characteristics.
    3. Click Automap to let Collibra map all visible columns automatically.
    4. If required, manually map columns to another characteristic.
  7. Click Next.
    The Import options appear.
  8. Enter the required information.
    SettingResult
    Create new assets and domains if non-existent.

    If assets or domains do not exist, Collibra creates them when you provide the following information:

    • The full name.

      Tip The full name of the assets is a unique identifier in each community. If you map the full name, you don't need to map the name of the assets unless they are different. When you create new assets, their full names automatically become their names, unless you also map their names.

    • The asset type.
    • The domain.

    Collibra creates a new domain and top-level community when the following conditions are met:

    • You mapped the domain, domain type and community.
    • The new domain names are unique and the new community names are unique in each domain.
    How do you want to handle existing assets? 
    Replace them with the new assets. (=> delete + create)
    If assets exist, Collibra deletes them first and creates them again based on the import file.
    Update the name, properties and attributes.
    If assets exist, Collibra compares the attributes and updates them if necessary.
    How do you want to handle mapped attributes? 
    Replace them with new attributes. (=> delete + create)

    If attributes exist, Collibra deletes them and creates them again based on the import file.

    Select this option if you want to update existing, or add new attributes, such as a definition.

    Create as new attributes.

    If attributes exist, Collibra creates another instance of the attributes based on the import file.

    Select this option if you do not want to edit the existing attributes, but always want to create new attributes. This could result in multiple instances of the same attributes, such as a definition.

    Delete existing assets from the domain that are not in the file.Collibra deletes existing assets from a domain if they are not in the import file. If an existing domain is referenced in the import file, then any assets from that domain not included in the file are also deleted. This applies to all domains defined for relations as well.
    Test ImportCollibra first simulates an import without affecting the data to give you an overview of how the actual import would affect the data. After the overview, you can proceed with the import, go back to change the options or cancel the import.
  9. Click the Test Import button.
    The test results appear.
  10. If the simulated results match your expectations, click Import.

    Tip If they don't, close the dialog box to cancel the import or click Back to change the mapping or import options.

    The import results appear.

  11. Click Close.