on ‎2020 Mar 26 11:50 AM
Dear experts,
for our Business Case we need to view a HTML Mashup with a Daily Ethanol Price in the Home Section of the C4C Tenant. This is because our sales people need the daily Ethanol Price. Therefore I added a new tile like in the screenshot and via Admin / Mashup Authoring I added the HTML Mashup, too.
The problem is, that the Mashup doesn't work properly (also have a look at the screenshot). It refuses to connect to the page, so that I don't get the Price chart.
Can you please help me to fix this?
Thanks in advance
Best regards
Benedikt
Request clarification before answering.
Hi,
When creating an HTML mashup in C4C, you are basically iframing an external web page with in c4c. So looking at your snapshot, it seems to me that external website(in this case https://markets.businessinsider.com/commodities/ethanol-price) do not allow iframing their content outside of their own domain.
You further verify that by opening the developer tools of the browser (press f12) and here you will find an error in the console which says "Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'" that is because https://markets.businessinsider.com/commodities/ethanol-price is sending a response header which allows iframing within their own domain and you cannot influence this behaviour in c4c. For more please check this:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
You need to looks for some alternative website in order pull the smae information and which allow to embed their content in external system(like c4c).
BR
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.