Navigating through the history thread

June 26th, 2007

Quick question: how do you go about navigating ‘back’ or ‘forward’ in a Siebel 7 application?

Quick answer: use the JavaScript history object.

In Siebel 6 there was the ‘GoBack’ method, but that never made the journey across the thin client chasm. I’ve come across a couple of different methods for Siebel 7, but the history object is by far the most robust and reliable. It’s browser script only, because you’re accessing the native JavaScript object, but that drawback is far outweighed by its simplicity.

To navigate back one step in the history, the code might be:

function Applet_PreInvokeMethod (name, inputPropSet)
{

if( “GoBack” == name )
{

history.go(-1);
return (“CancelOperation”);

}
return (“ContinueOperation”);

}

Entry Filed under: Scripting,Siebel

3 Comments Add your own

  • 1. Mike Lin  |  January 24th, 2008 at 5:28 am

    One caveat with this one: If you raise an error text from the Application.PreNavigate event when attempting to leave a view using history.go(-1), you will correctly be prevented from leaving that view, but the error text will not be displayed. It will be reduced to some nonsense like “”.

    But this is a nice solution for most purposes.

  • 2. naiffurdeni  |  January 22nd, 2009 at 12:55 pm

    Nothing seems to be easier than seeing someone whom you can help but not helping.
    I suggest we start giving it a try. Give love to the ones that need it.
    God will appreciate it.

  • 3. immilledo  |  March 15th, 2009 at 9:32 pm

    lost and found ledisi you and me mastermix classic cuts presents the rock box various artists radar love the ultimate collection michael jackson unbreakable stadium arcadium red hot chili peppers we believe cd pool dance january various artists enjoy yourself mp3′s download il hot remix volume 118 various artists whatever u like euro xclusive 07 35 various artists white lies jonas brothers jonas brothers games ultimate collection eurythmics miracle of love boy with a coin iron and wine boy with a coin

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

June 2007
M T W T F S S
« May   Jul »
 123
45678910
11121314151617
18192021222324
252627282930  

Most Recent Posts