Building blocks of the user interface

  • Updated

Optimizely Content Management System (CMS) (SaaS) properties are the building blocks of CMS (SaaS) content types that make up an application's user interface (UI) content.

When modeling content, consider the level of control you want to give the user, the freedom to adjust the layout and structure of the content, and the reusability of the content. You can take the following approaches to model your content.

  • Top-down – Identify the main types of content first, like blogs, product pages, forms, search, galleries, and so on. Instead of the pages you want on your application, think about the types of pages, then work your way down to the details, one level at a time.
  • Bottom-up – Start with the finer details, and then group these individual elements together to form a larger content item. For example, think about the text in a call to action (CTA), then the CTA object itself, the title text, and the body text. Then you can group the elements as a promotion box or a card.
  • Hybrid – Balance between high-level thinking and granular detail design, providing flexibility to ensure everything is covered.
See an interactive demo on how to approach content modeling in CMS (SaaS) and Visual Builder.

CMS (SaaS) uses the following types of properties:

To create content with these building blocks, see the Visual Builder and Create content sections.

Property types

The following diagram shows the properties with their property types.

CMS SaaS property types

Each property group can have several property types that you can use to build named pieces of content for content types. See also Visual Builder concepts.

For example, the Number property has two types:

Number property has two types

  • Integer – You can create an Age or Street number field.

    CMS SaaS sample integer

  • Floating point number – You can create a Dollar amount or Interest rate field.

    CMS SaaS sample floating point

You can define the property type building blocks that suit your organization and application. Different content types can re-use a field, such as Age or Dollar amount, so you do not have to repeatedly define it.

Content types

A content type is a collection of properties for a specific use, such as a Call to action content type that has two named property types.

Build an element content type

The following diagram shows the Call To Action element content type, which contains a Home URL field and a Button Name field. The Home URL field is a link of the URL to page/external address type. The Button Name field is a Simple text box field with a String less than or equal to 255 characters.

CMS SaaS simple text box field

The following image shows what the Call To Action content type element may look like when you add it to an experience in Visual Builder.

CMS SaaS Content types in the UI

Build a block content type

You can build content types with many properties, such as an Office Location content type with eight simple text box strings with different names.

CMS SaaS Office location with simple text box strings

The following block, called Global HQ, uses the Office Location content type. Red asterisks (*) indicate that the field is required.

CMS SaaS GlobalHQ dialog box

The following image shows what it may look like when you place Global HQ on a page.

CMS SaaS GlobalHQ UI

Build a page content type

You can build more complex types and organize content into pages. For example, the following image combines a simple Text property (called Office Name), a Content Area (called Office Image), a Block with eight properties (called Office Location), and a Text property with extended rich-text editing features (called Description) to create a page content type (called Corporate Office).

CMS SaaS page content type

These content types are combined to create a page content type called Corporate Office.

CMS SaaS create office page type

After you create it, Corporate Office shows in the Content Types list as a Page content type.

CMS SaaS create office page type 1

When you create a new page, Corporate Office displays in the Page Types list.

CMS SaaS create office page type 2

Select it and fill in the required fields.

CMS SaaS create office page type 3

Configure blank experience

An experience type is an extension of the page type, enhanced for use with Visual Builder.

Go to Settings > Content Types and select Create New > Experience type.

CMS SaaS create experience type

Build an experience content type

An experience is a built-in definition of Experience content type managed from code, so you cannot adjust the Settings, but you can modify Permissions and add properties to the All Properties view of the experience.

The following images illustrate a Blank experience experience content type with added SEO settings content type to the All Properties view, made from a Block property of the Page SEO Settings property type.

CMS SaaS blank experience type 1

CMS SaaS blank experience type 2

The SEO Settings tab displays in the All Properties view with the Block type.

CMS SaaS blank experience type 3.png

Build a media content type

Media can have the following types: 

  • Image – jpg, png, webp, svg
  • Video – mp4, avi, mov, wmv, webm
  • Other media – pfd, doc, mp3, zip, iso

Go to Settings > Content Types and select Create New > Media type.

CMS SaaS create media type

The following images illustrate a Media content type, with a Hero image named media content type, made of a Text property for Alt text and a DateTime property for Copyright.

CMS SaaS media content type 1

CMS SaaS media content type 2