Keeping CultureKeeping CultureKeeping CultureKeeping Culture
  • Home
  • Features
  • In depth
    • Browsing Keeping Culture
    • Recording and imparting knowledge
    • Administering Keeping Culture
  • FAQs
  • Pricing
  • Support
    • Knowledge Base
    • Submit a support request
    • Development Roadmap
  • Contact
  1. Home
  2. Knowledge Base
  3. Importing & Exporting records
  4. Updating records with file metadata

Updating records with file metadata

Introduction

The Update via file wizard enables Super Administrators to import metadata from a file and use its values to overwrite the metadata of existing records. This tool is especially useful for users who prefer managing metadata with spreadsheet applications such as Excel, or for those updating data exported from another database.

Alternatively, the Merge from File wizard offers comparable functionality, but provides enhanced control over the manner in which metadata is integrated with existing records.

The Update via file wizard will import the following file formats:

  • Comma Separated Values (CSV) or Tab Separated Values (TAB or TSV) spreadsheets, with either ‘.csv’, ‘.tsv’ or ‘.tab’ file extensions.
    The file must contain a column that identifies the record in Keeping Culture. This column can be a record ID, UUID, Archive Number, Archive View Number, or a unique record name/title.
    See Creating CSV metadata files for importing and updating records.
  • KC Structured Data format, which is a special format that only Keeping Culture archives can process and is created when exporting records from a Keeping Culture archive. These files must have a ‘.csj’ file extension.
    If metadata includes audio or video annotations, you must also provide the corresponding media files. Be sure to include annotation media in the export and supply both the ‘media’ folder and metadata file when using the Update via file wizard.
    See Using ‘KC Structured Data’ metadata import and export format.

Your prepared media and import file need to be uploaded to the Archive Files directory before commencing the update process.

The update operation does not replace media files for Archive Item classes. If you wish to replace media files in the archive, refer to Replacing media and/or thumbnails.

A record is only updated if it is correctly identified. If the record is not found, it will be skipped.

You will be required to login using a Super Administrator account to access the Update via file wizard.


A careful approach is required

When conducting an Update via file operation, please be aware of the following:

  • Record edit locks are forcibly removed on records being edited by another user, which could result in the loss of another user’s changes.
  • If you make a mistake with your update, the magnitude of the error could lead to thousands of records being changed, and the only course of action to correct this mistake is to restore the database from the overnight backup.

For these reasons, it’s recommended that you only perform an update operation when you’re certain no one else is using the system and as early as possible in the morning. Why the morning? The less time that elapses between the backup and the mistake, the less likely it is that other changes will be lost when rolling the database back to the last backup.


How to update records

Steps for CSV & TAB formatted update file

  1. To access the Update via file wizard, do one of the following:
    • For Archive Item and Knowledge classes: go to the Main Menu → Administration tab, then in the ‘cog’ button menu next to the name of the record class you’re updating, select Update via file.
    • For List classes: go to the Main Menu → Administration tab → Lists hyperlink. Locate the class of the records you’re updating and click the Update via file hyperlink in the row actions.
  2. In the wizard, click Choose file.
  3. In the Choose file window, navigate to, and select the CSV or TAB file that you’ve previously uploaded to the Archive Files directory. Click Select.
  4. Select ‘CSV & TAB File Importer’ from the Format list. Click Continue.
  5. Click Continue again.
  6. In the ‘Identification’ wizard step, you will need to do the following:

    In Column, select the column in the CSV file that contains the value to use to identify the record in the archive. This could be the record’s ID, UUID, Archive Number, Archive View Number, or a unique record name/title depending on the record class.

    In Format, select the type of the value in the column you’ve selected above. This tells the wizard how to interpret the value you’ve selected in Column.

    When processing Archive Items, the wizard will display options for identifying both the Archive Item and Archive View records. You must identify at least one of these record classes.
  7. Click Continue. The wizard will now check that the import file contains at least one record that can be identified. If records are not identifiable, then you’ll be redirected back to the previous step.
  8. In the Assignment wizard step, systematically work through the list of class attributes (fields) assigning a column that contains the value for the attributes. It is not necessary to assign a column to every attribute.

    For attributes that accept multiple values, the column’s value can be separated into multiple values using a delimiter, usually a comma. For example, a column value of ‘Matt Smith, Jill Green, Ken Bell’ can be broken into three separate people using a comma ‘,’ delimiter.

    For attributes that reference their values from multiple classes, you must specify the class that the column’s value will be imported into.

    Once you have finished making your column assignments, click Continue.
  9. Review your proposed update changes. If you’re happy to proceed, click Continue. Otherwise click Back to refine your selection.
  10. The update process will begin, once complete you will receive statistic and possibly error information on the outcome of the update. Click Done.

Steps for KC Structured Data formatted update file

  1. To access the Update via file wizard, do one of the following:
    • For Archive Item and Knowledge classes: go to the Main Menu → Administration tab, then in the ‘cog’ button menu next to the name of the record class you’re updating, select Update via file.
    • For List classes: go to the Main Menu → Administration tab → Lists hyperlink. Locate the class of the records you’re updating and click the Update via file hyperlink in the row actions.
  2. In the wizard, click Choose file.
  3. In the Choose file window, navigate to, and select the KC Structured Data (.csj) file that you’ve previously uploaded to the Archive Files directory. Click Select.
  4. Select ‘KC Structured Data Importer’ from the Format list. Click Continue.
  5. In step two of the wizard, under the File Reader configuration heading, pair any comparable content restrictions from this archive with those from the source archive. Any unassigned restrictions will be ignored during the update.

    Review the content restrictions applied to the classes and attributes of the source archive. You will need to carefully consider whether similar restrictions should be applied to the classes and attributes of this archive.

    Click Continue.
  6. In the Identification wizard step, you will need to do the following:

    In Column, select the file property that contains the UUID value to use, to identify the record in the archive. This could be the ‘Item Record UUID’, ‘View Record UUID’ or ‘Record UUID ‘depending on the record class.

    In Format, select ‘Universally Unique ID (UUID)’ option if it’s not already selected.

    When processing Archive Items, the wizard will display options for identifying both the Archive Item and Archive View records. You must identify at least one of these record classes.
  7. Click Continue. The wizard will now check that the import file contains at least one record that can be identified. If records are not identifiable, then you’ll be redirected back to the previous step.
  8. In the Assignment wizard step, systematically work through the list of attributes (fields) assigning a property from the import file to each attribute in the archive.

    Only compatible properties will be displayed for each attribute. The system will attempt to recommend a ‘Good Match’ based on the properties of the source archive attributes.

    Any attributes that are unassigned a property for the import file will be skipped.

    For an explanation of why some attributes have ‘Unknown Reference!’, please refer to Using ‘KC Structured Data’ metadata import and export format for more information.

    Once you have finished making your attribute assignments, click Continue.
  9. Review your proposed update changes. If you’re happy to proceed, click Continue. Otherwise click Back to refine your selection.
  10. The update process will begin, once complete you will receive statistic and possibly error information on the outcome of the update. Click Done.
Was this article helpful?
Yes No

Related Articles

  • Exporting records
  • Merging file metadata with records
  • Using ‘KC Structured Data’ metadata import and export format
  • Creating CSV metadata files for importing and updating records
  • Importing records from file metadata
  • Import media with metadata

Contents

  1. Introduction
  2. A careful approach is required
  3. How to update records
    1. Steps for CSV & TAB formatted update file
    2. Steps for KC Structured Data formatted update file

Need Support?

Can't find the answer you're looking for?
Contact Support
Copyright 2023 Keeping Culture Pty Ltd | Terms of use | Privacy policy | Contact us
  • Home
  • Features
  • In depth
    • Browsing Keeping Culture
    • Recording and imparting knowledge
    • Administering Keeping Culture
  • FAQs
  • Pricing
  • Support
    • Knowledge Base
    • Submit a support request
    • Development Roadmap
  • Contact
Keeping Culture