IfSubString element (View)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Allows for conditional rendering based on whether a first expression (Expr1) is contained within a second expression (Expr2).

<IfSubString>
  <Expr1></Expr1>
  <Expr2></Expr2>
    <Then></Then>
  <Else></Else>
</IfSubString>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

Parent elements

Numerous

Occurrences

  • Minimum: 0
  • Maximum: Unbounded