HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

OptiAlloy property

Configure the OptiAlloy property type in Optimizely CMS. Set indexing, default values, display options, and language settings for complex content configurations.

The OptiAlloy property type is a composite property type native to Optimizely that combines multiple data concerns into a single, structured value. Use it for rich or complex content configurations. The following image shows an OptiAlloy property type example.

Screenshot of an OptiAlloy property type configuration example where defining the composite property settings

The OptiAlloy property renders a field in the All Properties edit view where you can enter an OptiAlloy value.

Screenshot of the OptiAlloy property field rendered in the All Properties edit view where entering an OptiAlloy value

Configure OptiAlloy property

The following attributes are available when you configure an OptiAlloy property.

  • Name – Enter the name of this OptiAlloy property type. This name is used for programming and language settings.

  • Type – Lets you change the content type to any other.

  • Value must be entered – Select to require the user to enter an OptiAlloy value. Required fields display a red asterisk (*).

  • Unique value per language – See Define language-specific properties.

  • List – Unavailable.

  • Min items – Enter a number for the least number of items.

  • Max items – Enter a number for the most number of items.

  • Property Indexing Type – Select one of the following to determine how the property is indexed for search. The correct setting depends on the nature of the data in the property and how you intend data to be searched or queried.

    • Default – Lets the system decide automatically how to index a property based on its type and context. For instance, string properties are indexed by default to permit full-text search, while date or number values are indexed differently to permit ranged queries.
    • Queryable – Indexes to be part of search queries. For example, this indexing type lets you run a search query such as Find all pages where PropertyName equals Value.
    • Searchable – Search data inside the property through the search function. For example, use it as part of a free text search where the system looks through searchable fields to find a match. This is useful when you want a content editor or end user to search a body of text, like a product description. It is beneficial to avoid undesired property values in the search index. By default, all properties are searchable.
    • Disabled – The property is not indexed for searching purposes. It is not used in search queries, and its content is not searched. This is often used for properties that contain data irrelevant to search results, and disabling indexing enhances system performance.
  • Default value – Select the options to define what value the OptiAlloy field displays.

    • No default value – The field is empty (no pre-populated content).
    • Inherits value – The field value is derived from another source. This is often used in hierarchical systems where child elements inherit values from their parent elements. For example, a sub-page inherits some property values from its parent page.
    • Custom – Enter the field's default value.
  • Display in edit view – Select to display this OptiAlloy element on your page. Clear it to hide the OptiAlloy element while keeping all the property information.

  • Display name – Enter the text you want to display above the OptiAlloy element on the page in All Properties view.

  • Help text – Enter text to display next to the Display Name. The following image shows how the help text displays.

    Help text example for OptiAlloy property

  • Sort index – Specify a value to determine the order in which data is displayed or processed.

  • Property Group – Select a property group (Categories, Content, Dynamic Blocks, Preview, Scheduling, SEO Settings, Shortcut) to organize your content on tabs in the All Properties edit view of the content type.

    Screenshot of the Property Group selection where organizing content on tabs in the All Properties edit view