Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FieldPrefix Element (View)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Obsolete. Returns the Microsoft Office namespace "urn:schemas-microsoft-com:office:office#", which is added to every field name for Office compatibility.


<FieldPrefix>
</FieldPrefix>

Attribute

Description

None

N/A

Minimum: 0

Maximum: Unbounded

The following excerpt from the FldTypes.xml file uses the FieldPrefix element to return the Microsoft Office namespace in defining the rendering pattern for new items of the Threading field type.

<RenderPattern Name="NewPattern" DisplayName="NewPattern">
   <HTML><![CDATA[ <INPUT TYPE=HIDDEN NAME=" ]]></HTML>
   <FieldPrefix />
   <Property Select="Name" />
   <HTML>" VALUE="</HTML>
   <Limit Len="504" StripWS="TRUE" HTMLEncode="TRUE">
      <GetVar Name="Threading" StripWS="TRUE" />
   </Limit>
   <HTML><![CDATA[ "> ]]></HTML>
</RenderPattern>
Show:
© 2015 Microsoft