on 01-22-2013 6:18 AM
Hi,
I'd like to change the Log-off URL of the Ajax Framework Page.
I tried to change the method : closePortalPlace in afpmasthead.js and afpmasthead.js.org but the changes are not reflecting.
Please suggest possible pointers to change the log-off URL in Ajax Framework Page in Portal 7.0.
Thanks
Puneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It's 7.01 SP7
I changed the parameter
ume.logoff.redirect.url=http://<server>/<logoffpage>
but no change.
Thanks
Puneet
Hi Ivan,
I don't think that a custom masthead component is required here.
If you look at the standard masthead code -> HeaderiView.jsp file, there is a method:
private String GetLogoffURL(IPortalComponentRequest request)
{
IPortalComponentURI logoffURI = request.createPortalComponentURI();
String str = logoffURI.toString();
return str;
}
Here we can change the logic to change the log-off based on certain criteria. For me also, this is working fine.
Now, I'm trying to acheive the same in AjaxFramework Masthead.
I'm able to find a JSP file : Masthead.jsp which call as JS file aspmasthead.js, but not sure how can change the code there and how to add my logic there.
So any pointer in this regard will be highly appreciated.
Thanks
Puneet
Hi Puneet,
I hope this helps you:
http://help.sap.com/saphelp_nw70/helpdata/en/44/aada5230be5e77e10000000a155369/frameset.htm
BR,
Saar
Hi Puneet,
Within a custom AJAX framework, the logoff is triggered by javascript (LSAPI >
LSAPI_sessionPlugin.logoff(); | ). In the standard AJAX framework a lot of javascript files are loaded: |
/com.sap.portal.epcf.loader/script/optimize/js13_epcf.js
/com.sap.portal.pagebuilder/scripts/pagesupport.js
/com.sap.portal.navigation.afp.resources/scripts/optimize/core_navigation.js
/com.sap.portal.navigation.afp.widgets/scripts/optimize/afp_ui.js
/com.sap.portal.navigation.afp.layout/scripts/AFPLayoutFramework.js
/com.sap.portal.navigation.afp.masthead/scripts/afpmasthead.js
/com.sap.portal.navigation.afp.tln/scripts/optimize/afpui_tln.js
/com.sap.portal.navigation.afp.pagetoolbar/scripts/toolbar.js
/com.sap.portal.navigation.afp.dtn/scripts/dtn_functions.js
/com.sap.portal.navigation.afp.dynamicnavigation/scripts/dynamicnavigation.js
Opening the files and searching for logoff() resulted in a hit! com.sap.portal.navigation.afp.widgets/scripts/optimize/afp_ui.js has the logoff() function. But...
You better create your own framework and modify only one file (com.sap.portal.AFPpage/com.sap.portal.AFPResources). If you create a custom framework the only standard component you will need is the AFPResources. All necessary LSAPI functions are located in that component.
Cheers,
Noel
The important part here is the SAP Note: https://service.sap.com/sap/support/notes/1166135
"Ajax Framework Page in NetWeaver 7.0 Enhancement Package 1 is not customizable and aimed to be used "as is""
and
"Customers who use the portal for releases prior to SAP Business Suite 7 or who use the portal in non-application scenarios (e.g. Intranet/Extranet) may not use the "SAP Signature Design" at the moment since these scenarios typically require a highly customized Look&Feel that is not yet provided by the current Ajax framework page"
Or: AFP in 7.01 is intended to be used as SAP ships it. You should not customize it.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.