on 05-08-2006 9:52 AM
Hi BSP consultants,
I have one BSP embedded in another BSP (actually done using the SEM Web Interface Builder which is a front end for building BSP's in SAP SEM).
All I want to do is access the HTML code in the embedded BSP from the parent web page (BSP), but I keep getting a 'permission denied' error.
I understand it to be linked to cross 'iframe' scripting security type error, but both BSP are on the same domain, and all my research indicates that as long as they are on the same domain then you should be able to use javascript to access the HTML code inside the iframe (child BSP).
Parent BSP url:
Child BSP url:
Any pointers would be greatly appreciated.
Thanks,
Rael Bethlehem
Hi,
In your opinion, are the mentioned domains the same and therefore should allow cross scripting...?
Should I be chasing the basis guys to see if there are any system specific settings which may be influencing this...?
Any new directions to search for a solution would be welcome...
Thanks,
Rael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Durairaj,
While I wait for my IT team to help me access the internet browser settings to set the 'trusted sites' option(browser security is greyed out for me), I thought maybe you could confirm that my javascript code I am using is correctly going to call the contents of an embedded iframe (embedded BSP)...:
function showcontentofBSP (){
//fetch all the tables and cells inside of the 'iframe'
var table = window.myFrame.document.getElementsByTagName("table");
for (i= 0; i < table.length; i++){
var tableitem = table.item(i);
var cells =tableitem.getElementsByTagName("td");
var tableid = tableitem.id;
alert(tableid);
}
Thanks,
Rael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Durairaj,
Thanks, but remind me how to set the 'trusted sites'...? Is it a browser setting? (most of our access is limited where I work....)
Thanks,
Rael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as long as they are in the same domain you should not get any problem. (i have been using it) may be try adding
ldndsmsa64.intranet.barcapint.com to trusted sites and see whether it helps.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.