Siebel Advisor API Reference > Utility Functions for Siebel Advisor >

GetDSPath


Usage

Use the GetDSPath function to return the file system path to the ds directory of the application.

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

GetDSPath()

Example

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

var dspath = ISS.GetDSPath();

In this case, dspath would be the string "/myapp/ds".

Siebel Advisor API Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.