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 Cloud.

Tip 
  • If you want to edit a lot of assets in one go, you can perform the so-called export/import roundtrip. First create a view that contains all the assets and characteristics that you want to edit, then export the assets from that view. You can then edit the exported file, and import the assets back into the same view. Collibra will automatically map 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 if you want to change the file upload settings. The default maximum file size is 512 MB.
  • When importing a very large Excel file, you may encounter an error with the file being too large. If this is the case you will need to 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 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.

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.

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

    • You mapped columns of the import file to the domain, domain type and community characteristics of the view.
    • The columns contain a domain and/ or community name that doesn't exist yet.
    How do you want to handle existing assets?

    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 everything looks okay, click Import.
    If it doesn't, click Back to change the mapping or import options.
    The import results appear.
  10. Click Close.

Import using the old wizard

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.

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

    • You mapped columns of the import file to the domain, domain type and community characteristics of the view.
    • The columns contain a domain and/or community name that doesn't exist yet.
    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 everything looks okay, click Import.
    If it doesn'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.