Counter Element

Counter Element (View)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Provides a counter variable whose value increments each time the tag appears within a field or view definition.


<Counter
   Type = "View">
</Counter>

Attribute

Description

Type

Optional Text. If Type=”View” is specified, the counter returns a number that increases each time a view is created for the list. This counter can be used, for example, to give unique names to elements on a page, depending on the view definition.

Minimum: 0

Maximum: 1

Show:
© 2016 Microsoft