Editing a link type can have application-breaking consequences that can disrupt user workflows. Read the section below on potential breaking changes before proceeding with any link type edits.
Changes that require Object Storage V1 (Phonograph) to unregister and reregister the backing datasource of a link type will make the links of that type unavailable in user applications during that reindex time; these changes are described below.
The following changes will unregister and reregister (or delete) the backing datasource of a link type when saved:
When you try to save any of these changes, you will be warned about the potential impact on user applications.
For example, if a link type is used in a search around in a Workshop application, that Workshop application will be broken until the reindex completes. You can track the progress of the reindex for a link type in the Phonograph pane of its Datasources page.
Learn more about Object Storage V1 (Phonograph).
If a link type has writeback enabled, extra precaution should be taken when making edits to that link type. The history of edits made to a link type are stored in Object Storage V1 (Phonograph). Every time a writeback dataset is built, the history of edits is reapplied to get the final state of edited links in the writeback dataset. When the backing datasource of a link type is unregistered from Object Storage V1 (Phonograph), the history of edits in Objects Storage V1 (Phonograph) is deleted and future builds of the writeback dataset will fail.
In addition to the changes that require unregistering that were listed in the previous section, unregistering is required for link types with writeback when schema changes are made to any column of a backing datasource to a link type that has ever received edits, even if does not currently receive edits. Schema changes include changes to the name and base type of the column.
Object Storage V1 (Phonograph) will not automatically unregister the backing datasource of a link type in response to one of these schema changes. Instead, the reindex will fail and will only succeed if the saved schema changes are undone, or if you manually unregister and reregister the backing datasource of a link type in the Phonograph pane of the link type’s Datasources page.
When you try to save any changes that risk erasing the edits history, you will be warned about the potential impact on edits.
Now that you understand the considerations in editing existing link types, you can safely make your changes.
You can always change the link type you are working on by selecting the link type page from the home page sidebar and selecting a different link type from the list. You can also always search for a new link type in the search bar in the application header. Read more about navigation.
You can delete an object type by selecting the (three dots) icon at the top right of the link type view sidebar (see image below) and then selecting the Delete option from the dropdown. A dialog will pop up to confirm you want to stage the link type for deletion.
active
status cannot be deleted. Read more about statuses.You can change a backing datasource:
Changing the backing datasource of a link type will remove any connection between columns in the old datasource and the keys that define your link type. Keys will be automatically remapped for you only if you change to a new datasource with the same schema as the old datasource. Otherwise, you will need to remap the keys to the new datasource.
deprecated
, experimental
, and active
statuses.
active
status.
prominent
link type will prompt applications to show this link type first to users. A hidden
link type will not appear in user applications.