Siebel Interactive Designer API Reference > Utility Functions >

GetPGPath


Usage

Use the GetPGPath function to return the file system path to the pg directory of the application.

Use this function instead of hard-coding a relative directory path (for example, ../pg/dog_1.htm), because the relative path can change depending on:

Syntax

GetPGPath()

Example

If the application is installed at
http://server.company.com/myapp, you could define

var pgpath = ISS.GetPGPath();

In this case, pgpath would be the string "/myapp/pg".


 Siebel Interactive Designer API Reference 
 Published: 18 April 2003