Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Then Element (View)

Windows SharePoint Services 3

Contains what is rendered in an IfEqual or IfNew element, based on whether the contents of the Expr1 and Expr2 elements are equal or new, respectively.


<Then>
</Then>
Attribute Description

None

N/A

Numerous

Minimum: 0

Maximum: 1

The following example uses the IfEqual element to render either the Then element or the Else element, based on whether the contents of the Expr1 and Expr2 elements are equal.

<IfEqual>
  <Expr1><Today/></Expr1>
  <Expr2>10/31/2000</Expr2>
  <Then>Happy Halloween!</Then>
  <Else>Just another day</Else>
</IfEqual>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.