CMS 10.6 Creating Content Unit Views


Prerequisites:
  • See Page Builder Prerequisites for details.
  • Ensure that no view inside or outside the CMS user interface associates with the content unit.

Page Builder designers can create views in the Preview Content Unit dialog directly in the CMS without developers and Visual Studio. Views associated with content units are separate from the content unit itself.

When the system saves content units, the CMS stores built-in views in Assets > Assets Tree with the following filepath:

Assets\Views\Shared\Editable

See MVC Views as Managed Assets for details.

Content Unit View Filepath

To create a content unit view via the Preview Content Unit dialog:
  1. Navigate to Administration > Presentation Content Units.
    The Management screen displays.
  2. Select a content unit either from the Field Content Units tab or the Component Content Units tab.
  3. Select Edit in the Actions menu.
    The Create/Edit view displays.

    Preview

  4. Select Preview in the Content Unit Actions menu.
    The Preview Content Unit dialog displays the XML source code and the Rough Preview tab, which displays a server error.

    Create View via Preview Content Unit Dialog Toolbar

  5. Select Create View in the dialog toolbar.
    The Design tab becomes active, and the view file contents displays in the tab.

    Design Tab in Preview Content Unit Dialog

  6. Choose one of the following steps.
  7. Select Save View in the dialog toolbar.
    The system saves the content unit view to Assets\Views\Shared\Editable in the Assets Manager, and the View Versioning and Remove View dialog toolbar buttons display.
    Note
    For the name of the content unit view asset, see the @Layout attribute via the XML source code in the Preview Content Unit dialog.

    Preview Content Unit Toolbar