CA Service Management

  • 1.  This Content cannot be displayed in a frame - SDM/Catalog

    Posted May 09, 2019 03:22 PM

    Since upgrading to 17.1.02 we get the "this content cannot be displayed in a frame" when we click the catalog request tab in a service desk ticket. In 14.1 the catalog request information would populate in the same window as the service desk ticket. We can click on "open this content in new window" and redirected to catalog app and the request opens but users are used to seeing the catalog request in the service desk ticket.

    F



  • 2.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Broadcom Employee
    Posted May 10, 2019 02:14 AM

    Good Morning Stephanie.

     

    In an earlier reported (ans similar) case, I found the below as a possible solution for you.
    You can try and see whether this wirks for you then too?

    1. Comment the following lines in the web.xml
    In C:\Program Files\CA\Service Catalog\view\webapps\usm\WEB-INF
    <filter>
    <filter-name>ClickjackFilter</filter-name>
    <filter-class>com.ca.usm.httpfilter.ClickjackFilter</filter-class>
    <init-param>
    <param-name>X-FRAME-OPTIONS</param-name>
    <param-value>SAMEORIGIN</param-value> <!-- Possible values are DENY and SAMEORIGIN -->
    </init-param>
    <init-param>
    <param-name>skipHeaderForPaths</param-name>
    <param-value>/documents</param-value> <!-- comma(,) seperated values -->
    </init-param>
    <init-param>
    <param-name>skipHeaderForParam</param-name>
    <param-value>SP=RRIIF</param-value> <!-- SP = Special Param , RRIIF = Render Response Into IFrame -->
    </init-param>
    </filter>

    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/wpf/*</url-pattern></filter-mapping>
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>*.rpc</url-pattern></filter-mapping>
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/documents/*</url-pattern></filter-mapping>

    2. Stop the CA Service Catalog services(Accounting and Catalog).
    3. Empty/clear the %USM_HOME%\view\translets folder.
    4. (re)move the %USM_HOME%\logs\*.log files.
    5. Clear the browser-cache.
    6. Start the CA Service Catalog services(Accounting and Catalog).
    >> Especially, steps 3 and 5 are important.

    7. Then the client was able to test this properly.

     

    Kind regards, Louis.



  • 3.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Posted May 10, 2019 11:58 AM

    Thanks for the information. I tried all the above and still same issue.



  • 4.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Broadcom Employee
    Posted May 10, 2019 01:25 PM

    Hey Stephanie,

     

    Maybe the 17.1.02 form needs to be recustomized ?

     

    _R



  • 5.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Broadcom Employee
    Posted May 14, 2019 10:17 AM

    sconnolly .........

    As Raghu.Rudraraju indicated, were the forms recustomized after upgrading to 17.2?



  • 6.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Broadcom Employee
    Posted May 16, 2019 04:53 AM

    Seen:

    Case Detail: 01362762 - BLUE CROSS & BLUE SHIELD OF ALABAMA- stephanie connolly
    This Content cannot be displayed in a frame

     

    Kind regards, Louis.



  • 7.  Re: This Content cannot be displayed in a frame - SDM/Catalog

    Broadcom Employee
    Posted May 16, 2019 07:52 AM

    This is the proposed solution in the Support Case:

     

    Comment the following lines in the web.xml

    <filter>
    <filter-name>ClickjackFilter</filter-name>
    <filter-class>com.ca.usm.httpfilter.ClickjackFilter</filter-class>
    <init-param>
    <param-name>X-FRAME-OPTIONS</param-name>
    <param-value>SAMEORIGIN</param-value> <!-- Possible values are DENY and SAMEORIGIN -->
    </init-param>
    <init-param>
    <param-name>skipHeaderForPaths</param-name>
    <param-value>/documents</param-value> <!-- comma(,) seperated values -->
    </init-param>
    <init-param>
    <param-name>skipHeaderForParam</param-name>
    <param-value>SP=RRIIF</param-value> <!-- SP = Special Param , RRIIF = Render Response Into IFrame -->
    </init-param>
    </filter>


    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/wpf/*</url-pattern></filter-mapping>
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>*.rpc</url-pattern></filter-mapping>
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/documents/*</url-pattern></filter-mapping>

    Stop the catalog service
    Empty the translets folder
    Start the catalog service
    Recycle SDM
    Clear out browser cache and test.



  • 8.  Re: This Content cannot be displayed in a frame - SDM/Catalog
    Best Answer

    Broadcom Employee
    Posted May 17, 2019 08:24 AM

    Seen in the case:

    Case Comment added for case:01362762 

    My apologies Stephanie, I am also getting a 404 error with the first section commented out. 

    However with the first section deleted like you noted in your 14.1 environment Catalog is able to come up. 

    Please make sure you have a backup of the original file and delete the first section: 

    <filter> 
    <filter-name>ClickjackFilter</filter-name> 
    <filter-class>com.ca.usm.httpfilter.ClickjackFilter</filter-class> 
    <init-param> 
    <param-name>X-FRAME-OPTIONS</param-name>
    <param-value>SAMEORIGIN</param-value> <!-- Possible values are DENY and SAMEORIGIN --> 
    </init-param> 
    <init-param> 
    <param-name>skipHeaderForPaths</param-name> 
    <param-value>/documents</param-value> <!-- comma(,) seperated values --> 
    </init-param> 
    <init-param> 
    <param-name>skipHeaderForParam</param-name> 
    <param-value>SP=RRIIF</param-value> <!-- SP = Special Param , RRIIF = Render Response Into IFrame --> 
    </init-param> 
    </filter> 

     

    **Comment out the second section: 

     

    <!--<filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/wpf/*</url-pattern></filter-mapping> 
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>*.rpc</url-pattern></filter-mapping> 
    <filter-mapping><filter-name>ClickjackFilter</filter-name><url-pattern>/documents/*</url-pattern></filter-mapping> 

     

    --> 


    -Stop the Catalog service 
    -Empty the translets folder 
    -Start the Catalog service 
    -Recycle SDM 
    -Clear out browser cache and test.