Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MapToControl Element (View)

Published: May 2010

Returns the name of the application in which a document can be edited based on the file name extension and ProgID.


<MapToControl>
      ProgID|File_Extension
</MapToControl>

Attribute

Description

None

N/A

Minimum: 0

Maximum: Unbounded

The MapToControl element uses the following syntax, separating the ProgID from the file name extension with a pipe symbol ("|"):

<MapToControl>ProgID|File_Extension </MapToControl>

The following example uses the MapToControl element to assign the name of the application to an Editor variable.

<SetVar Name="Editor" Scope="Request">
   <MapToControl>
      <Column Name="HTML_x0020_File_x0020_Type" />
      <HTML>|</HTML>
      <Column Name="File_x0020_Type" />
   </MapToControl>
</SetVar>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.