MobileDocViewers (Mobile Document Viewer)
Applies to: SharePoint Foundation 2010
Specifies the document-viewing page for one or more types of documents.
MobileDocViewers (Mobile Document Viewer)
<MobileDocViewers>
<MobileDocViewer>
</ MobileDocViewer>
</MobileDocViewers >
Complex
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child Elements
Element |
Description |
---|---|
Configures redirection for a specific type of document. |
Parent Elements
None
Remarks
The MobileDocViewers element persists in a file named mdocview_*.xml, where the asterisk (*) is some string of valid file name characters. We recommend using your company name or some other string that is not likely to duplicate the name that is used by other document viewer providers. The page is deployed to %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\Config on all front-end web servers.
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>