Table of contents built dynamically from page headings.
Last reviewed: May 10, 2021
This feature works comparably in both the Classic and Flex UI versions of the UBCMS. In the future, screenshots and language will be updated to reflect Flex UI.
On This Page automatically displays all title headings on a page as anchor links in a list. Clicking on an item in the list jumps you down to that content on the same page.
This component can be placed in the center well, in a Related Content Container, or a sidebar.
Add the component to the page. There is only one tab.
When the component is placed on a regular Web page in Author, and the page is refreshed, the index will show all matching headings on the page. On a shared content page, it will just state "There are no links to display in this On This Page component." but when that shared content is displayed on a regular webpage, the index will be populated normally.
Header: Enter a descriptive heading. The default is "On This Page:". Leave blank to hide the heading.
Heading level: Choose from 1 to 4; the default is 2.
Item Range: Specify if you wish to only show some of the page's titles (e.g. 1-3 or 4-6). This is especially useful in column mode.
On This Page is designed to display headings from the center column of a standard page. To work on a home page or a single column page, use the Custom Filters option: "#center-nocols h2". Read more about Custom Filters in the Advanced Use section.
Links to headings that are actually within Shared Content will not work correctly unless they are given an ID on each Title component in the Shared Content page.
When added to a shared content page, this component will just say "There are no links to display in this On This Page component," but the index will display normally when that content is on a regular webpage. > details
See the Advanced Use section on custom settings for a workaround.