...
The central property when defining a link field is appName
- the name of the Magnolia app to choose the item from. The target app is responsible for providing a view that is suitable for selecting the item. When the target app is a content app, the workbench in the browser subapp is a suitable view and it is used by default. For more complex apps like the Assets app - 5 UI, a choose dialog is configured in the app to browse the contents.
...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
| form:
tabs:
- name: tabImage
label: Image
fields:
- name: image
fieldType: link
targetWorkspace: dam
appName: assets
label: Select image
identifierToPathConverter:
class: info.magnolia.dam.app.assets.field.translator.AssetCompositeIdKeyTranslator
contentPreviewDefinition:
contentPreviewClass: info.magnolia.dam.app.ui.field.DamFilePreviewComponent
|
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
heading | 0 |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
|
| |
| |
| |
| |
| identifierToPathConverter |
| | info.magnolia.dam.app.assets.field.translator.AssetCompositeIdKeyTranslator | |
| | info.magnolia.dam.app.ui.field.DamFilePreviewComponent | | contacts | | link | | dam | | Select image | | Image |
|
| |
|
|
Include Page |
---|
| _referencing Referencing fields shortcut info - 5 UI |
---|
| _referencing Referencing fields shortcut info - 5 UI |
---|
|
Field-specific properties:
...
Include Page |
---|
| _Common field properties - 5 UI |
---|
| _Common field properties - 5 UI |
---|
|
Anchor |
---|
| link-to-non-jcr |
---|
| link-to-non-jcr |
---|
|
Using link fields with JCR-agnostic target apps
...