Kommentar
Å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
Specifies an alternative URL to which a mobile device is redirected when it can use an alternative viewer to open the files of the specified type.
<Override ... />
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| FilePath |
The website-relative path to the request handler for devices that are capable of opening documents of the specified type in some other viewer. |
| AppendSourceUrl |
True if a source query ID should be appended to the URL of the handler; otherwise, false. The source query value is the path to the document. |
| OueryID |
An alternative query for the one that is specified in the parent <MobileDocViewer> element. |
Child elements
None
Parent elements
| Element | Description |
|---|---|
| BrowserCondition |
Identifies a browser condition under which redirection to a page that hosts a viewer for a specified type of document is overridden because the browser can open documents of a specified type directly. |
Example
The following example shows this element in use.
<MobileDocViewers>
<MobileDocViewer Name="docx" FilePath="/_layouts/mobile/mWord.aspx" FeatureId="8DFAF93D-E23C-4471-9347-07368668DDAF" QueryId="doc" AppendSourceUrl="true" >
<BrowserCondition Id="overrideMobileDocViewerRedirection" Value="true">
<Override FilePath="/_layouts/MobileDocHandler.ashx" AppendSourceUrl="false" />
</BrowserCondition>
</MobileDocViewer>
</MobileDocViewers>