[CLOSED] Embed a WF Report into a HTML iframe created outside of WF
I have created a basic report like before and placed the FEX file in Public domain and published the report. TABLE FILE CAR PRINT SALES BY COUNTRY BY CAR ON TABLE PCHOLD FORMAT HTML END
Now, I have created a sample html out side of WebFOCUS with one iframe in that HTML. I tried to call the FEX file using a rest service call and load it in to iframe. But, in IE it says 'The content can not be displayed in frame' when i click the link it opens in a new tab. In Chrome it shows a blank page and when looked at F12 it shows "Refused to display 'http://localhost:8080/ibi_apps/rs/ibfs/WFC/Repository/Public/Sample_Report.fex' in a frame because it set 'X-Frame-Options' to 'sameorigin'."
I searched this in tech support and found the below link to set the IBI_XFRAMEOPTIONS in Filters section in Admin Console>Configuration>Filters. I am using 8201M and that option doesn't exist.
Appreciate any help on embedding a basic report into a HTML frame which is created outside of WebFOCUS
I usually try to render the URL directly in the browser first, and then call from an iframe src. (Baby steps is my mantra. :-))
February 03, 2018, 03:48 PM
Would that work with "localhost"? Or, as FP Mod Chuck thinks, you should replace localhost with the real server name.
February 03, 2018, 09:27 PM
Well, I guess I could have said to try something like this...:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Most, if not all of the examples, in the WebFOCUS RESTful Web Services Developer's Guide show 'localhost' as the host name, with the understanding that if the host isn't localhost, you would want to change the host name.
Sounds like we need to hear back from the poster.
:-)This message has been edited. Last edited by: David Briars,