Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HtmlTrInfo Element

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements

Used in HtmlTransInfo.xml file (\Program Files\Common Files\Microsoft Shared\web server extensions\12TEMPLATE\XML) to contain mapping instructions for directing a request to the URL for handling a request when the client computer does not have the 2007 Microsoft Office system installed.


<HtmlTrInfo>
  <Mapping
    AcceptHeader = "Text"
    Extension = "Text"
    HandlerUrl = "Text"
    ProgId = "Text" />
  ...
</HtmlTrInfo>

Attribute

Description

None

N/A

When the client computer does not have the Office application installed, Microsoft SharePoint Foundation creates an HTML rendition of the page by using a converter program on the server.

The following example shows the instructions used in the HtmlTransInfo.xml file.

<HtmlTrInfo>
   <Mapping Extension="xls" AcceptHeader="application/vnd.ms-excel" 
      HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="doc" AcceptHeader="application/msword" 
      HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="ppt" AcceptHeader="application/
      vnd.ms-powerpoint" HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="pps" AcceptHeader="application/
      vnd.ms-powerpoint" HandlerUrl="HtmlTranslate.aspx" />
</HtmlTrInfo>
Show:
© 2015 Microsoft