Add collection types (CTK)
About types of collections
Use this feature to leverage different UI presentations for the different types of collections in your organization. For example, if you have a set of domain collections, glossary collections, and source collections, you will most likely have different sets of information you need to present to the users for each of these types of collections. This is when you will use the feature to create the different types of collections and corresponding UI presentations for the collection types.
STEP 1: Create new collection type
On the Organization profile page, go to the Overview tab.
Click the New resource button and select Catalog resource.
On the Create a new resource page, in the Select type tab, select Collection type. Click the Continue to configure fields button.
The Create a new Collection type page opens.
In the Configure fields tab, set the following in the About section.
In the Title field, provide a name of the field you want to add. For example, let us add a field called Domain.
From the Collections dropdown, select the Metadata profile collection.
In the Configure fields tab, set the following in the More information section.
Plural: Provide a plural for the resource type. In this example, it is Domains.
Resource icon: Select a custom resource icon for the collection type. This is optional.
Click Continue to review collection type.
In the Review collection type tab, check the configuration details for any possible errors before saving it. If adjustments are needed, click Back to edit the configuration.
Click Create collection type. The creation page is closed and you are taken to your new Collection type page.
Publish the changes
See: Publishing changes.
View the results🎉
In the Sandbox Organization, on the Organization profile page, go to the Collections tab.
Click the New button.
In the Create new collection window, you will notice that the new collection type is available.
STEP 2: Enhance the collection type with custom fields and custom sections
Create a custom section.
Create a custom field.
Add the field to a custom section or to an out-of-the-box section.
Associate the field with the collection type by doing the following:
Go to collection type page and click Add a related resource and select the type of field you want to add.
In the Edit a related resource for this Collection type window select the field you want to add.
Publish the changes
See: Publishing changes.
View the results🎉
In the Sandbox Organization, on the Organization profile page, go to the Collections tab.
Either select an existing Domain collection or create a new collection of the type Domain. You will notice that the new field and new section are available for this collection type.