Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Utility Functions >
GetTopPath
Usage
Use the GetTopPath function to return the file system path to the top-level application directory.
Use this function instead of hard-coding a relative directory path (for example, ../home.htm), because the relative path can change depending on:
- The location from which the function is called
- The browser in which the application is running
Syntax
GetTopPath()
Example
If the application is installed at
http://server.company.com/myapp
, you could definevar toppath = ISS.GetTopPath();
In this case, toppath would be the string "/myapp/".
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |