Export (0) Print
Expand All

MapToText Element

Windows SharePoint Services 3

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 name of the application in which a document was created, based on the file name extension and ProgID.






Minimum: 0

Maximum: Unbounded

The MapToText element uses the following syntax, separating the ProgID from the file name extension with a pipe symbol ("|") in C# or with Or in Visual Basic:

<MapToText>ProgID|File_Extension </MapToText>

The following example uses the MapToText element to assign the name of the application to an App variable.

<SetVar Name="App" Scope="Request">
      <Column Name="HTML_x0020_File_x0020_Type" />
      <Column Name="File_x0020_Type" />
© 2014 Microsoft