Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Returns TRUE if the item is considered new. Usually, this means that the item was created after midnight the day before. This element renders its contents if the item was created today; that is, after only one day has passed, the number of days being a registry setting for which the default value is 1.
<IfNew
Name = "Text">
</IfNew>
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
---|---|
Name |
Optional Text. Specifies the name of a field. The default value is Created. |
None
Numerous
The following example displays a particular logo if the display pattern of the field is new.
<DisplayPattern>
<IfNew>
<HTML>
<![CDATA[ <IMG SRC=" ]]>
</HTML>
<ImagesPath />
<HTML>
<![CDATA[ newlink.gif" alt=" ]]>
</HTML>
<HTML>
New
</HTML>
<HTML>
<![CDATA["> ]]>
</HTML>
</IfNew>
</DisplayPattern>
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn more