This topic covers how an administrator can create new Registry Source Types
in the Bioregistry and edit the fields in the existing Registry Source Types, including all built in types and, in the Enterprise Edition, Media
The term Registry Source Type
applies to all of the following entities in the Biologics application. These are two of the categories of Data Class available in LabKey Server
. Within the Biologics application you cannot see or change the category, though if you access these structures outside the application you will be able to see the category.
- Registry Source Types: (Category=registry)
- Media Types: (Category=media)
- Raw Materials
Edit Existing Registry Source Types
The default set of Registry Source and Media Types in Biologics are designed to meet a common set of needs for properties and fields for the Bioregistry and Media sections.
If you want to customize these designs, you can edit them within the Biologics application as follows.
Open the desired type from the main menu. All entries under Registry
are editable. Select Manage > Edit [Registry Source Type] Design
. In this example, we'll edit the Molecules
You can edit the Name, Description, Naming Pattern
if desired. Note that such changes to the definition do not propagate into changing names of existing entities.
Click the Fields
section to open it. You'll be able to adjust the fields and their properties here.
Any field properties that cannot be edited are shown read only, but you may be able to adjust other properties of those fields. For example, you cannot change either the name or lookup definition for the "moleculeSetId" field shown below, but you could expand the field and change the label so that it had a different column heading in your grids.
When finished click Finish Editing Registry Source Type
in the lower right.
Create New Registry Source Type
From the main menu, click Registry
. Click Create Registry Source Type
Define the Registry Source Properties
- Name: (Required) Must be unique.
- Naming Pattern: Naming patterns are used to generate unique IDs for every member of this type.
- Learn more in this topic: Naming Patterns.
- It is best practice to use a naming pattern that will help identify the registry type. Our built in types use the initials of the type (like CL for Cell Lines, etc).
- For example, to use "DC-" followed by the date portion of the time the entity is added, plus an incrementing number you could use:
Click the Fields
section to open it, then import, infer or manually define the fields you need using the field editor
When finished, click Finish Creating Registry Source Type
. Your new class will now appear on the registry dashboard and can have sources added as for other types.
Delete Custom Registry Type
You cannot delete the built in Registry Source Types, but if you add a new custom one, you will have the ability to delete it.
- Select the custom type to delete from the Registry section of the main menu.
- Select Manage > Delete [Registry Source Type].
Deleting a registry source type cannot be undone and will delete all members of the type as well. You will be asked to confirm the action before it completes, and can enter a comment about the deletion for the audit log.