GetProgID Element

The GetProgID element returns the ProgID for the given URL of a particular document. This is an internal element that returns the ProgID value for any HTML file, which identifies what application the HTML file was created in, in other words, whether it was a Microsoft Word document that was saved as HTML, or a Microsoft Excel spreadsheet saved as HTML, and so forth.

Syntax

<GetProgID>
</GetProgID>
Parent Elements Child Elements
MapToIcon LookupColumn

Remarks

This element can only be used in a view that has the HackLockWeb attribute of the View element set to TRUE.

Example

The following example maps the ProgID and file extension for the Template lookup column, separated by a pipe symbol ("|"), to an icon.

<MapToIcon>
  <GetProgID>
    <LookupColumn Name="Template"/>
  </GetProgID>
  <HTML>|</HTML>
  <GetFileExtension>
    <LookupColumn Name="Template"/>
  </GetFileExtension>
</MapToIcon>