Share via


GetProgID Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the ProgID for the given URL of a particular document. This is an internal element that returns the ProgID for any HTML file, which identifies the application that the HTML file was created in (whether it was a Microsoft Word document that was saved as HTML or a Microsoft Excel worksheet saved as HTML, etc.).

<GetProgID>
</GetProgID>

Attributes

Attribute

Description

None

N/A

Child Elements

Numerous

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

Remarks

This element can be used within a view only if the HackLockWeb attribute of the View element is 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>