Partager via


ViewEmpty Element

When no items are present in a view, the ViewEmpty element contains the string to be displayed in the view.

Syntax

<ViewEmpty>
</ViewEmpty>

Element Relationships

Parent Elements Child Elements
View Fields

Example

If the view is empty, the following example returns a message indicating that the view has no items.

<ViewEmpty><![CDATA[<I>There are no items in this view.</I>]]></ViewEmpty>