You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only link types allowed in the link handler configuration are possible.
41
+
Set this property when not all configured link types should be displayed, but only those also
42
+
contained in this list.
43
+
-`namePrefix` (String) default: "./"\
44
+
Prefix for all property names in the link reference dialog.
45
+
Use this to store the link properties in another child resource e.g. to "./mySubNode/".
46
+
-`internalLinkFields` (Resources)\
47
+
Additional Granite UI components to be displayed for "internal" link type.
48
+
-`internalCrossContextLinkFields` (Resources)\
49
+
Additional Granite UI components to be displayed for "internalCrossContext" link type.
50
+
-`externalLinkFields` (Resources)\
51
+
Additional Granite UI components to be displayed for "external" link type.
52
+
-`mediaLinkFields` (Resources)\
53
+
Additional Granite UI components to be displayed for "media" link type.
54
+
-`allLinkTypeFields` (Resources)\
55
+
Additional Granite UI components to be displayed for all link types.
56
+
-`required` (Boolean), default: `false`\
57
+
It is required to select any link target and a link title (if a link title field is shown).
58
+
-`requiredLink` (Boolean), default: `false`\
59
+
It is required to select any link target.
60
+
-`requiredTitle` (Boolean), default: `false`\
61
+
If showLinkTitle is set to true, it is set to required.
62
+
35
63
### Internal Link Type Path Field
36
64
37
65
This is a customized Path Field that always sets the root path to the link root path as defined by the Link Handler configuration for internal links. By default, this is the site root path as defined by the URL Handler configuration.
@@ -48,6 +76,17 @@ This component extends the [wcm.io Granite UI components Path Field][wcmio-wcm-u
48
76
* Dynamically sets `rootPath` to the link root path as returned by the Link Handler configuration
49
77
* Dynamically sets `name` to the default property name for internal links
50
78
79
+
Properties:
80
+
-`name` (String), default: "./linkContentRef"\
81
+
Property name for internal link reference.
82
+
-`rootPath` (String)\
83
+
The root path for the pathfield. If not set, it's value is set automatically
84
+
to the root path for internal link type as returned by the current context's Link Handler configuration.
The root path that is used as fallback when no root path could be detected dynamically,
144
+
e.g. because outside any site or within experience fragments.
145
+
-`appendPath` (String)\
146
+
Appendix path added to the (usually auto-detected) root path.
147
+
-`mediaFormats` (String[])\
148
+
List of media formats for assets that can be linked upon.
149
+
If not set the property value is set to the list of all media formats with "download" flag.
150
+
151
+
### Media Link Type File Upload
152
+
153
+
This is a customized FileUpload field that always sets the root path to the media root path as defined by the Link Handler configuration for media links. By default, this is `/content/dam`.
0 commit comments