Skip to Content
Block ManualAutomatic Backlinks

Automatic Backlinks

Sometimes, you may want to create links in both directions using an inverse attribute. Blocks in this category are used to automatically create inverse links if a “normal” link exists. For normal linking, see Linking FAIR DOs.

Loading...

This block is used to automatically insert a link (e.g. using “isMetadataFor”) to all other FAIR DOs that linked to this FAIR DO using a specific attribute (e.g. “hasMetadata”).

Which attribute this is (e.g. “hasMetadata”) needs to be specified: On the right side, it expects the PID of the attribute. The attribute PID can be provided as text, but should be provided using the Attribute PID block.

The “Inverse link to attribute block then should be attached to the attribute where the link should be placed (e.g. “isMetadataFor”).

Example

Loading...

This example will automatically return a backlink, linking to any record which is linking to the current record using the digitalObjectType attribute.

When generating code, this will generate a marker, which will set this backlink in a post-processing step. It may look like this: BackwardLinkFor("21.T11148/1c699a5d1b4ad3ba4956")

Attribute PID

Loading...

Such blocks exist for every supported profile. They return the PID of the selected attribute. Each block lists the attributes of a fixed profile which is denoted by its name. The block shown above lists attribute PIDs for the Helmholtz Kernel Information Profile. Use the dropdown menu on the block to select the attribute you want to retrieve the PID for.

The block above returns the PID of “digitalObjectType”, in this case 21.T11148/1c699a5d1b4ad3ba4956:

Last updated on