FieldPrefix Element (View)
Applies to: SharePoint Foundation 2010
Obsolete. Returns the Microsoft Office namespace "urn:schemas-microsoft-com:office:office#", which is added to every field name for Office compatibility.
<FieldPrefix>
</FieldPrefix>
Attributes
Attribute |
Description |
---|---|
None |
N/A |
Child Elements
None |
Parent Elements
Numerous |
Occurrences
Minimum: 0 Maximum: Unbounded |
Example
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>