Export (0) Print
Expand All

ViewEmpty Element (List)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Contains the string to be displayed in a view when no items are present.

Note Note

Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more information, see XMLDefinition and CAML View Schema.


<ViewEmpty>
</ViewEmpty>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

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>
Show:
© 2014 Microsoft