DX Application Performance Management

Expand all | Collapse all

Webview page in a frame

  • 1.  Webview page in a frame

    Posted 06-24-2016 09:51 AM

    Hi Team

     

    I used the UIM portal "webcontent" portlet,  to show APM webview page inside it, but when it try to open get this error.

    Is it possible to configure webview to open inside a frame?

     

    Regards

    Antonello



  • 2.  Re: Webview page in a frame

    Posted 06-27-2016 10:02 AM

    I remember but can"t find a reference right now. WebView adds a header (The X-Frame-Options response header) to the page that forbids to show it in a frame.

     

    You need to configure WebView not to send that header or with a different value (or a web server/proxy in between). See Unable to embed CEM content in Sharepoint Content/Frame



  • 3.  Re: Webview page in a frame

    Posted 07-06-2016 09:39 AM

    I modified the web.xml file and commented out these lines:

    <!--

    <filter-mapping>

      <filter-name>clickJackFilter</filter-name>

      <url-pattern>/*</url-pattern>

    </filter-mapping>

    -->

    Now the login page can be opened in a frame

    but after authenticated, the other pages are not rendered

    and remain blank without error message.

    Opening outside frame continue to works also after login.