+

Search Tips   |   Advanced Search

Link examples for Web Content Viewers

Web Content Viewers can broadcast and receive links to communicate with other viewers. Depending on the link settings used with the viewers, the behavior of the viewers can be different. These examples demonstrate how different broadcast and receive settings can affect what a viewer renders.


Links for a single portlet

A Web Content Viewer is configured to show a dynamic component, such as a menu. The menu contains links to content in a site area. When we click a link, the viewer continues to render the component, but the component uses the target content to set the web content context. Based on the new context, the component generates appropriate markup. The menu component shows links to content of the site area where the target content resides.

Web Content Viewer content Broadcast links to Receive links from
Component None This Web Content Viewer

We can select an alternative presentation template in the content view of the content section. When a link is clicked in the component, the content that is then rendered uses the alternate presentation template.


Links for a menu and content

One viewer contains a WCM menu and another viewer contains WCM content. Links must be created between the two viewers to enable the rendered content to change when different links in the menu are selected.

Web Content Viewer content Broadcast links to Receive links from
Menu This page None
Content None Other Web Content Viewers and this viewer


Links for a navigator and content

One viewer contains an item views navigator and another viewer contains some WCM content. Links must be created between the two viewers to enable the rendered content to change when different links in the navigator are selected. The navigator also changes to reflect the current state of the content being rendered.

Web Content Viewer content Broadcast links to Receive links from
Navigator This page Other Web Content Viewers and this viewer
Content This page Other Web Content Viewers and this viewer


Dynamic links for a navigator and web content

One viewer contains a site views navigator, and several web content pages associated with different site areas. Each web content page contains a viewer and is configured to show the default content item of the site area associated with the page.

Instead of manually creating links between the different viewers, use dynamic link broadcasting with the viewer. Dynamic link broadcasting automatically determines which web content page is used as the target for the links to the site area in the navigator.

Web Content Viewer content Broadcast links to Receive links from
Navigator Dynamically select a web content page None
Content on web content page This page Other Web Content Viewers and this viewer


Parent Deliver content

Related concepts:

Web Content Viewers