Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
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>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Numerous
Parent elements
Numerous
Occurrences
- Minimum: 0
- Maximum: Unbounded
Remarks
The MapToControl element uses the following syntax, separating the ProgID from the file name extension with a pipe symbol ("|"):
<MapToControl>ProgID|File_Extension </MapToControl>
Example
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>