cancel
Showing results for 
Search instead for 
Did you mean: 

what is the use of EPCM.getSAPTop()

Former Member
0 Kudos
99

hi,

can anybody give details about the usage of EPCM.getSAPTop().

Regards,

Shanthakumar.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

You can check the EPCM.getSAPTop javascript functions in js13_epcf.js file in your browser, then you log onto the portal.

Here is the function for your reference:

EPCM.getSAPTop=function(){
return (this._private.isDynamicTop) ? this._private.refDynamicTop : top;}

Regards,

Praveen Gudapati

Former Member
0 Kudos

hi,

I can't understood ur answer. can u give detailed explanation abt that.

regards,

Shanthakumar.

0 Kudos

Hi,

I just mean to say that you can find all this javascripts when your browser loads portal.

As most of this is undocumented, just dig into them to know more.

I always use it for some thing like this:

EPCM.getSAPTop().pageTitleBar

EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue()

EPCM.getSAPTop().portalTitle

So all the variables that you find on top of your portal page (Masthead, Toolbar) can be accessed from EPCM.getSAPTop().

So just dig into it.

Regards,

Praveen Gudapati