Siebel Advisor API Reference > Utility Functions for Siebel Advisor >

GetCustomPath


Usage

Use the GetCustomPath function to return the file system path to the custom directory of the application.

Use this function instead of hard-coding a relative directory path (for example, ../custom/app_config.js), 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

GetCustomPath()

Example

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

var custompath = ISS.GetCustomPath();

In this case, custompath would be the string "/myapp/custom/".

Siebel Advisor API Reference