Content Unit Views

About Content Unit Views | Preview, create, import, edit, and remove content unit views.


Before applying content units in Page Builder presentations, ASP.NET views must be created for them. For some organizations, developers may need to extend legacy XSLT stylesheets for page type and content unit presentations. In most cases, the content unit views are similar to their schema type counterparts. Developers can use the views of the embedded schemas as a foundation when building content unit views.

Even though schema type views and their content unit counterparts have inherent similarities, it's a best practice not to use schema type views for the dual purpose of styling content units. A change to the schema type view may affect the styling of the content view, inadvertently. For this reason, even when the content unit view code is exactly the same as its schema type counterpart, the field name of the content unit should be different than the tag name of the embedded schema. If you follow this practice, the code for these respective views reside in separate files. See Page Builder Prerequisites for details.

Built-In Views

Developers maintain and store content unit views in [Drive]:[path-to-DSS-root-folder]\Views\Shared\Editable of the DSS project. Occasionally, CMS administrators may want to 1) create a basic view or 2) import content unit views from the DSS location to the Assets Manager in Ingeniux CMS. For example, administrators may employ this method of creating content unit views to model new content units and apply basic styling. Alternately, administrators may want to import content unit views to include additional styles.

Important: Views stored in the Assets Manager override comparable views in [Drive]:[path-to-DSS-root-folder]\Views\Shared\Editable. Administrators should communicate to developers which build-in views are in use. Developers or administrators can edit these built-in views as managed assets.

If a content unit has a built-in view, the tables in the content unit tabs display a checkmark () in the Built-in View column.

Built-In View Column

Similarly, in the content unit's Create/Edit view, the Has Built-in View icon displays next to the title.

Has Built-in View Icon

Ingeniux CMS saves these views in Assets > Assets Tree to the following filepath: Assets\Views\Shared\Editable.

Content Unit View Filepath

Previewing Content Unit Dialog

In the Previewing Content Unit dialog, you can complete the following tasks for content unit views:

Note: Access the dialog in Administration > Presentation Content Units or Site Tree > Design tab.

This section includes: