Поделиться через


FieldPrefix Element (View)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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>