Configuring localized static text to restrict types of objects in fields
You can configure localized static text to restrict content types that are able to be used in reference fields. This is helpful for editors who want to make changes to the Brightspot UI. This topic contains an example of how to restrict editors to adding only Attachment List modules to the Content field in the Page content type.
To configure localized static text to restrict types in fields:
- Follow steps 1–5a in Configuring localized static text.
- In the Name field, enter the fully qualified class name of the view you are localizing. For this example, enter
brightspot/genericpage/GenericPage
.NoteTo find fully-qualified class names in Brightspot, for the sake of making other restrictions in a similar manner, see Providing field data to developers. - Under Entries, click .
- In the Key field, enter the key for the static text you are localizing. For this example, enter
field.contents.groups
. - In the Value field, enter the localized text. For this example, enter the object type to which you want to restrict the field. For this example, enter
brightspot.module.list.attachment.inline.AttachmentListModulePlacementInline
. Your form should look similar to the following: - Click Save.
Brightspot then restricts the type of objects that can be added to the field you input.
Previous Topic
Configuring localized static text to change display names
Next Topic
Configuring date formats in localization bundles