A properties repository contains custom metadata for a code set. They can be defined for both regular code sets and hierarchical code sets for a taxonomy or hierarchy.
To create a properties repository for a code set:
- Log into the Classic UI as a user with administrative privileges.
-
Create a profile for the properties repository, using the following
settings:
- Type: CODE_SET_METADATA
- Create the following attributes:
- An automatically generated primary key. While it is possible to use the node name as the primary key, node names can be quite large and primary key attributes have a size restriction.
- A node control attribute:
- Name: Choose a name that identifies this as the node control attribute.
- Special Function Ind:Code Set Code
- If you are going to use this repository to manage properties for
multiple code sets, define an attribute to hold the code set
name.
- Name: Choose a name that identifies this as the code set name.
- Special Function Ind:Code Set Name
- Define the attributes to hold your custom properties.
- Clear the cache.
- Use the profile to create the properties repository.
-
Register the properties repository with the code set.
- Open the Feature bar, select Model, and select the type of code set, either Code Set, Taxonomy, or Hierarchy.
- Select the code set, open the Action dropdown, and select Edit.
- In the Properties Repository setting, use the dropdown to select the properties repository.
- Page to the end of the Code Set editor and select Finish.
- Clear the cache.
-
Verify that the properties repository has been properly configured:
- Open a repository that uses the code set, open the Hierarchy tab, and select the hierarchy.
- The Manage the Node Metadata i icon at the far right of the hierarchy's icon bar should now be available to use.
- Select a hierarchy node and click the Manage Node Metadata icon. An editor should open that will allow you to edit the node's metadata.