Siebel Advisor API Reference > Utility Functions for Siebel Advisor >
Use the GetJDPath function to return the file system path to the jd directory of the application.
Use this function instead of hard-coding a relative directory path (for example, ../jd/header.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
If the application is installed at
http://server.company.com/myapp, you could define
var jdpath = ISS.GetJDPath();
In this case, jdpath would be the string "/myapp/jd".