The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

MaxOccurs Property

Sets a value that indicates the maximum number of times an element can occur.

Applies To


Property Value

SourceType Default
Table Unbounded
Text Unbounded
Field Once


The default value of the MaxOccurs property varies depending on what you have selected as the SourceType Property of this element.

The minimum number of times an element can appear is determined by the value of the MinOccurs Property.

The MinOccurs and MaxOccurs properties conform to the standard occurrence constraints that are used when defining XML schemas.

The minimum number can be either 1 or 0.

The maximum number can be either 1 or infinite.

See Also