on 02-02-2018 12:03 PM
Hello Experts,
i have trouble with implementing a frame which should link to another website.
The problem seems to be in newer frameworks or properties since simple websites as for example wikipedia are working and newer sites are not able to be displayed (like google).
For the binding I just used the one which was chosen by default. In the webUI wikipedia is displayed and google is not.
Please refer to my screenshots.
Are there any properties i can configure to enable the content in the frame?
Kind Regards,
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uldis,
i already did my research on this but didnt update the question.
If you want to embed google live search you have to create a custom search and there you are able to get the code to embed the live search.
Still thanks for sharing this information so we have it here.
Kind Regards,
Johannes
Hi Johannes,
Is the issue browser-specific, i.e. have you tried it on other browsers? It might be to do with browser-specific settings.
Lewis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lewis,
i came to the solution that this issue is not sap specific.
For example if you want to embed a google live search you need to create a custom google search and they will provide you the necessary url or code to embed the corresponding custom search.
The following code is an example for my custom search which just searches google as usually.
<html>
<body>
<script>
(function() {
var cx = '003527669824775148735:kkcbe7as6xw';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</body>
</html>
All of the code besides the html and body tags are from google. In the html it looks like this
*Edit: Many websites use X-Frame-Options:SAMEASORIGIN or DENY to disable the usage in iFrames so clickjacking is not abused. Therefore for example google offer embedding services
Kind Regards,
Johannes
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.