IfShowTray, IfNotShowTray
Includes its body if the current iView’s Show Tray property is set to true. This property is set by a content administrator.

If you use these tags, make sure to include both an IfShowTray and IfNotShowTray tag. In addition, make sure to include the iViewContent tag in both the IfShowTray and IfNotShowTray tag, or outside either tag; otherwise, the iView’s content may not be displayed in all cases.
Coordinating Tags
The tag must be nested in the following tag:
Example
The following displays a custom iView tray if the current iView is set to be displayed in a tray.
Note that the IViewContent tag is outside both the IfShowTray and IfNotShowTray tags.
<lyt:containerWithTrayDesign id="column1">
<TABLE border=1 cellspacing=10 cellpadding=10 style='WIDTH=100%;HEIGHT:100%;font-size:8.5pt;font-family:Tahoma;border-collapse:collapse;border:none; '>
<TR>
<TD>
<lyt:IfShowTray>
<b><lyt:IViewTitle/></b><br>
<lyt:IViewExpand>Open in New Window</lyt:IViewExpand>
|
<lyt:IViewRefresh>Refresh</lyt:IViewRefresh>
|
<lyt:IViewToggleOpen>Open</lyt:IViewToggleOpen>
<lyt:IViewToggleClose>Close</lyt:IViewToggleClose>
|
<lyt:IViewAbout>About</lyt:IViewAbout> |
<lyt:IViewHelp>Help</lyt:IViewHelp> |
<lyt:IViewRemove>Remove</lyt:IViewRemove> |
<lyt:IViewPersonalize>Personalize</lyt:IViewPersonalize>
</lyt:IfShowTray>
<lyt:IfNotShowTray>
...
</lyt:IfNotShowTray>
<BR>
<lyt:IViewContent/>
</TD>
</TR>
</TABLE>
</lyt:containerWithTrayDesign>