# MTProductPageMap

This object reads the viewtoaspmapping.xml which resides under config\PresServer for every site and contains an enumeration collection of products with their linked asp pages. This information is particularly useful for the ASP developers who end up writing customized pages for the customers. The enumeration element type is MTSiteCollection.

## Program ID

COMKiosk.MTProductPageMap.1

## MTProductPageMap Methods

Initialize | This method initializes itself by reading the viewtoaspmapping.xml file that resides under the PresServer configuration directory. It creates the MTSiteCollection and MTProductCollection objects.

## Example

Example to be provided in a future release of this online help system.

# Method Detail

## Initialize

This method initializes itself by reading the viewtoaspmapping.xml file that resides under the PresServer configuration directory. It creates the MTSiteCollection and MTProductCollection objects.

### Visual Basic Syntax

Sub Initialize()

### C++ Syntax

STDMETHODIMP CMTProductPageMap::Initialize()

### Errors Raised

Bad Configuration Set.

Missing Site Set.

Missing Product View Set.

Unable to initialize Product Page Map.