on 03-11-2006 4:05 AM
Hi,
I am trying to configure a portal application by using SSO to get access to a deployed J2ee application. I have created the iView and mapped the user to the J2EE application. The Iview is working fine and i got the main page of the application.
But i have found a problem here.
I am using a javascript menu to invoke different pages in the j2ee application from the main page. When i invoke a menu item, I am getting a javascript error as "Access Denied" and the action gets cancelled...
Can you please share your knowledge on the possiblities of this error?
Is it because the application is working under porta frame work scope? If so how can i change it?
Best regards,
Sudheesh
Sounds like an issue that has to do with JavaScript Origin policy. You'll have to use Domain Relaxing for this. Read all about it here:
http://help.sap.com/saphelp_nw04/helpdata/en/59/87b54064c2742ae10000000a155106/frameset.htm
here:
http://help.sap.com/saphelp_nw04/helpdata/en/5e/473d4124b08739e10000000a1550b0/frameset.htm
and here:
http://help.sap.com/saphelp_nw04/helpdata/en/cb/f8751d8c6b254dac189f4029c76112/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Umair,
Thankyou very much for your response. I went through the links which you have provided. I understtod some portions in the link.
Initially I thought the error is occuring because of calling the javascript function from a javascript file which is included in the page.
But when i called the same application from a URL iView, it is working fine and I can navigate to different pages by invoking the function in the javascript.
I am getting the javascript error "Access is denied" only when i am accessing the application from an iView of type "com.sap.portal.appintegrator.sap".
If you have got any idea about this error, please do reply...
Best regards,
Sudheesh
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.