Closed andre-hohmann closed 3 years ago
Your restriction is wrong:
<permit key="ContributorPerson">
<permit id="RoleCode" maxOccurs="1" minOccurs="1"/>
<!-- ^^ problem here -->
</permit>
Correct: (key=
instead of id=
)
<permit key="ContributorPerson">
<permit key="RoleCode" maxOccurs="1" minOccurs="1"/>
</permit>
Your <editing>
config is also wrong. This is what you want:
<setting key="ContributorPerson">
<setting key="RoleCode" multiline="false"/>
</setting>
Side note: In your key configuration, minOccurs
and maxOccurs
are not evaluated (will be ignored, but you can remove it):
<label lang="de">Anzeigename</label>
</key>
<key id="RoleCode" maxOccurs="1" minOccurs="1">
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
<label>Relationship designation (code)</label>
Thanks a lot! It works now.
Problem
The role codes in the metadata group "ContributorPerson" are shown in an multiselect list, although only one value should be chosen. For other metadata, the following configuration enables the selection of only one value:
maxOccurs="1" minOccurs="1"
in the restriction for the division to enable the selection of one valuemultiline="false"
to show a drop down menuQuestion
Is it possible to configure a drop down menu for the metadata in metadata groups? In the section Examples, the current configuration can be found.
Configuration
configuration of the key in
<editing>
Click to show the configuration:
```xmlconfiguration of the key in
<restriction>
Click to show the configuration:
```xmlconfiguration of the key
ContributorPerson
Click to show the configuration:
```xmlExample
Multiselect option
Singleselect option