How do I create a "calling page" Index Block?
This Index Block, usually called a calling page or current page Index Block, is one of the most used Blocks in Cascade CMS.
Creating the Index Block
- Select Add Content > Block > Index.
- Choose a system name, for example "calling-page".
- Index Type — Folder Index
- Rendering Behavior — Render normally, starting at the indexed folder
- Depth of Index — 0
- Indexed Asset Content — check Append Calling Page Data, Regular Content, and User Metadata
- Indexed Asset Types — check Pages
- Page XML — Render page XML inline
- Click Submit.
Previewing it
Because this type of Index Block needs a context page to render, previewing the Block itself shows:
XML
<page-required-to-render-this-index-block/>
To see the generated XML structure, use the Preview Format options when creating or editing a Format: select Block for the asset type, choose your new Index Block, then choose a context page. See How do I view sample XML when editing a Format?