Hi All,
I am using below code to lists channel and Contents under currentChannel. I tried with system.name but its not working for me. Can you please help me to get Content & Chanel Name.
Code:
<h1 class="title"><b>Current Channel:</b>${currentChannel.system.name}</h1>
<h1><b>SubChannels:</b> ${currentChannel.subChannels}</h1>
<templating:contentLink var="cIs" channelId="${currentChannel.contentInstances}" oid="${currentChannel.contentInstances}" format="${param.vgnextfmt}"/>
<h2 class="title"><b>Content Instances:</b> ${currentChannel.contentInstances}</h2>
output:
Current Channel:News Room
SubChannels: [com.vignette.as.client.api.wrapper.ChannelBeanImpl@91ae9b97, com.vignette.as.client.api.wrapper.ChannelBeanImpl@ba9fc84b]
Content Instances:[com.qu.contentbean.Qu_press_releaseImpl@88b67996, com.qu.contentbean.Qu_press_releaseImpl@5d1e4cb8, com.qu.contentbean.Qu_press_releaseImpl@ae6e24f]
Thanks
Jayaram