KB Version:

Page Navigation

Related Links

Learning Levels

Most Read

Announcements RSS Feed of Announcements

System View Tags

Digest

Cascade Server recognizes pseudo tags called system view tags that control when/where the wrapped content is displayed. System view tags are not XML elements but instead use a square bracket notation.

  1. [ system-view:internal] tags wrap content that will only be displayed when viewed from within Cascade
  2. [ system-view:external] tags wrap content that will only be displayed when viewed in the published content outside of Cascade.

Concept

System View Internal

This tag surrounds content to be displayed inside the system only. It can be used for paths or blocks of code that need to be present upon rendering within the system, but not necessarily when published out of Cascade Server.

Use Cases

  • Generating a message for users in Cascade Server displaying when the last published date occurred
  • Simulating an area of a page where some server-side scripting code will exist when the page is published

System View External

This tag surrounds content to be displayed outside the system only. It can be used for paths or blocks of code that need to be present upon publishing, but not necessarily when viewed within Cascade Server. 

Use Cases

  • Wrap around web analtyics JavaScript so it only tracks traffic on the published page
  • Wrap around server-side includes, since they'll only work outside of Cascade Server

Example

When the source of a page's content looks like this:

The source while viewing the rendered page inside of Cascade Server looks like this:

And the published source looks like this:

NOTE: An additional space is added to the [system-view] tags in this example to keep our own Cascade Server instance from interpreting them.

Related Links