Table of Contents:
Custom metadata fields
Switch to the documentation for Dataedo 7.x (current).
Custom fields are additional, user-defined metadata fields that can be attached to various data structure and documentation elements like tables, columns etc.
Custom field is a simple plain text field that you can add to better describe objects in your documentation.
They are defined on repository level, so a custom field in a given repository will apply to all of its documentations.
Custom field can be enabled for one or more of the following elements:
- primary/unique keys
- table relations
Defining custom fields
To define custom fields click Custom fields button in the ribbon.
This opens custom field administration panel where you can view and edit the list of custom fields defined in the repository.
Adding a field
To add a field click Add button or choose predefined field (see below).
Once you click Add, a form with field definition will show. Provide a unique name of the field, field scope and an optional description for future reference.
Confirm with OK and once you defined all the fields save changes with Save button.
Setting field scope
Field scope defines which data element the field will be added to.
Adding predefined fields
You can quickly add one of our predefined custom fields simply by clicking on the predefined fields on the bottom of the form:
Removing a field removes all data from it permanently.
To remove a field, select it and click Remove button.
Then, click the Save button to confirm the change.
You can change default field order using Move up and Move down buttons. It will impact display order in application and exports.
Editing custom fields
After you define custom fields you will notice that additional text fields will show up next to relevant objects.
Here are a few exaples of where you can find custom fields:
You can choose which custom fields should be exported on Choose custom fields screen:
In exported files, the custom field data are usually only visible when they are filled.
Custom fields in PDF export:
Custom fields in HTML export:
Custom fields in repository database
All custom fields are saved in relevant tables (e.g. in procedures or parameters tables) in columns named field1 to field40. To find which column holds value of a specific field check the second column of the query below:
select title as field_name, field_name as database_column_name from dbo.custom_fields
You can find out more about this in Dataedo repository documentation.
Importing/Exporting extended properties
Dataedo lets you import and export custom fields to and from SQL Server extended properties.