...
When putting a string in metadata sidecar that has the pattern #{...}
it will be evaluated using the Spring Expression Language. Inside an expression, you can reference the metadata using R(<Dotted key>)
or record(<Dotted key>)
for example R('Descriptive.Title')
or record('Descriptive.Title')
.
Info |
---|
The |
Merging
When the templated sidecar is evaluated against a record it will result for example in the following metadata sidecar
...
Level | Case | Effect | Example Expression | Example Output |
---|---|---|---|---|
Top | SimpleField | String |
|
|
Top | ListField | List of Strings |
|
|
Top | MapField | Map of Strings |
|
|
Top | MultiItemField | Map of List of Strings |
|
|
Top | Others | Not allowed | ||
Sub | Child of ListField | List of Strings |
|
|
Sub | Child of MultiItemField | List of Strings |
|
|
Sub | Child of MapField | String |
|
|
Sub | Other | Not allowed |
...
Output after evaluating the expression
...