Channel Data Example

This example shows you how to retrieveĀ fields from a channel using channel.data(), which are not directly available as viper method on the channel viper class.

Smartsite SXML CopyCode image Copy Code
<p>
Is channel secure = {channel.data(secure,channel.defaultchannel())}<br />
Use server cache = {channel.data(UseServerCache,channel.defaultchannel())}<br />
Use friendly names = {channel.data(UseFriendlyNames,channel.defaultchannel())}<br />
Default locale = {channel.data(locale,channel.defaultchannel())}<br />
</p>
Example Result CopyCode image Copy Code
<p>
Is channel secure = false<br />
Use server cache = 3<br />
Use friendly names = true<br />
Default locale = 1033<br />
</p>