Brightspot CMS User Guide

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.

Restricting object type example.png Restricting object type example.png

To configure localized static text to restrict types in fields:

  1. Follow steps 1–5a in Configuring localized static text.
  2. In the Name field, enter the fully qualified class name of the view you are localizing. For this example, enter brightspot/genericpage/GenericPage.
    Note
    To find fully-qualified class names in Brightspot, for the sake of making other restrictions in a similar manner, see Providing field data to developers.
  3. Under Entries, click add_circle_outline.
  4. In the Key field, enter the key for the static text you are localizing. For this example, enter field.contents.groups.
  5. 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:
    Localized static text to restrict object types.png Localized static text to restrict object types.png
  6. 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
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News