Siebel Advisor API Reference > Pageset Functions for Siebel Advisor >

LoadFile


Usage

Use the LoadFile function to load a display page file into a specified frame. Use this call instead of standard JavaScript calls such as location.href= and location.replace.

Syntax

ISS.LoadFile(frameName,fileName[,path])

Argument
Description

frameName

Absolute path, in string form, to the frame where fileName should be loaded. Alternately, you can specify window (but not as a string) if loading into the current frame.

fileName

Name of the HTML file.

path

Optional. Full path to where fileName resides. Use one of the functions that returns directory paths (such as GetUIPath) to return the full path to the directory where the file resides. If no path is specified, path defaults to pg.

Examples

The following sample code uses LoadFile to load the file dogs.htm (which resides in the pg directory) into the current frame.

<A HREF="#" onClick="ISS.LoadFile(window,'dogs.htm');
return false;">Click here to see dogs</A>

The following sample code loads the file dogs.htm (which resides in the ui directory) into the current frame:

<A HREF="#" onClick="ISS.LoadFile(window,'dogs.htm',
ISS.GetUIPath());return false;">Click here to see dogs</A>

The following sample code loads the file dogs.htm (which resides in the ui directory) into a particular frame called descArea:

<A HREF="#" onClick="ISS.LoadFile(ISS.GetPagesetDisplayArea()+'.descArea','dogs.htm',ISS.GetUIPath());return false;">Click here to see dogs</A>

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