org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community
Apache License 2.0
32 stars 29 forks source link

Embedded iframe issue after BO upgrade to BO 4.2 Sp4 #168

Closed sreenichinta closed 7 years ago

sreenichinta commented 7 years ago

Hi, I have same problem occur after upgrade my BO server to 4.2 Sp4..

@MartinPankraz

113 #142

Martin, We need you help.

Thanks, Sreeni.

sreenichinta commented 7 years ago

Martin,

"&noDetailsPanel=true" is not working as we discussed earlier after BO upgrade.

Thanks, Sreeni.

MartinPankraz commented 7 years ago

Hi Sreeni,

We didn't change anything. You will need to check if your OpenDocument link works as expected regarding the option you mentioned, especially if it worked before. Apart from that the IFrame works as it did before. If you have problems you will have to talk to your SAP basis.

Kind regards Martin

sreenichinta commented 7 years ago

Martin, Today we have downloaded new version & install in both server & client system with following settings.. it is keep on rendering even after SDK loads.

note: identified 2 new extra properties like sandbox... can you please your end for BO 4.2 SP4 version

Version: image

Settings: image

issue: image

MartinPankraz commented 7 years ago

Hi Sreeni,

Unfortunately I have no server available that fullfills the requirements to reproduce your problem. Apart from that it is more likely that you have another issue. Like on the tickets before, please troubleshoot the http calls and check the browser's developer tools for errors.

The attributes mentioned were present already before. You can check the issues you linked.

Kind regards Martin

sreenichinta commented 7 years ago

Martin, New problem arises after i use new SDK file & i don't find errors apart from style sheet in HTTP calls

image

Thanks, Sreeni.

MartinPankraz commented 7 years ago

Hi Sreeni,

I don't see any errors there. All http calls finsihed with code 200 (OK). Unfortunately I cannot help you with any server issues that you might have. We only provide the IFrame. Communication in between windows is subject to browser security and your IT setup.

Kind regards Martin

sreenichinta commented 7 years ago

Martin, Today i have observed 2 things 1> If I set "Explicitly set document domain" = true then dashboard keep on refreshing... 2> If it set to false then one time refresh finally replaces new dashboard which is calling in url property. I think last time we add "&noDetailsPanel=true" to main dashboard url which stops the second one. But after upgrade "&noDetailsPanel=true" is not working.

Do you have any work around solution.

image

MartinPankraz commented 7 years ago

Hi Sreeni,

I told you already in August last year that the url parameter "&noDetailsPanel=true" is not fixing or causing your problem. Last time it just appeared so because there was a bug in the OpenDocument link in BIP. Since that is probably fixed by now you experience issues again. So it seems your server setup for showing nested BO content was never correct. I cannot help you with that.

Judging from your screenshot the setup should be correct with "Explicitly set document domain" false and the relative URL path.

Is there anything else you would like to know regarding your problem? Otherwise I will close this ticket.

Kind regards Martin

Andrew-Barlow commented 6 years ago

Hi Martin, After upgrade to 4.2 we too are having major issues with navigation . Please can you tell me where to get the latest ver of the embedded control with the extra props in it so I can test it to see if it fixes my problem? The inspector is telling me.....Uncaught DOMException: Blocked a frame with origin "the url" from accessing a cross-origin frame. Its weird because its same protocol, domain and port...

MartinPankraz commented 6 years ago

Hi Andrew,

You can download the latest version for Lumira 2.x here. Scroll down to the bottom and choose the download for Lumira.

Let me add that the code for the embedde Frame haven't been touched in a long time, so any issues are most probably coming from your upgrade.

Kind regards Martin

Andrew-Barlow commented 6 years ago

Will that version still work with DS 1.6 SP5 Martin?

Andrew-Barlow commented 6 years ago

Sorry - should have followed the link before I asked....

Andrew-Barlow commented 6 years ago

Thanks

Andrew-Barlow commented 6 years ago

Martin - sticking to the subject of embedding or 'Launching' other url's or reports from inside DS - if it is that we are not maintaining the embedded control perhaps so much now - is this because of Lumira Designer 2.0? Are there better ways of achieving this in Lumira 2? I don't want to spend loads of time trying to fix something that would have a short life if there is a better way to achieve the same thing in 2.0? I wont hold you to anything Martin - I am just after an opinion from somebody who know s the toolset inside out. Thanks in advance..

MartinPankraz commented 6 years ago

Hi Andrew,

IFrames are often problematic when it comes to embedding BO into BO due to the server settings and security policies. Alternatively SAP supports URL jumps from the APPLICATION object within Scripting.

Also there are APIs regarding the BO toolset (e.g. WebIntelligence and CR) that can be called to open reports using the navigational context from DesignStudio.

Another line of thought would be the Report-to-Report interface (RRI), which can be defined on BW, to support jumps from querys for example. The context menu on DesignStudio/Lumira Designer will support that out of the box.

The only thing my embedded control does, is exposing the HTML IFrame tag to DesignStudio/LD with some extra functions to overcome some security policy problems like almost identical subdomains. So bottom line is that IFrame related problems are not something that I can fix.

Does this help with your research?

Kind regards Martin

Andrew-Barlow commented 6 years ago

Hi Martin, Thanks - this has aligned a few things for me. I need to re-engineer the original solution away from frames etc.

Thanks for your input and also replying so promptly. All the best