Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  CSP issue of the PureCloud for Salesforce

    Posted 02-07-2020 00:22
    No replies, thread closed.
    Hi, I have a question about PureCloud for Salesforce.
    The problem is that the Client Settings menu is not showing in CALL CENTER in Salesforce Lightning Mode. But it shows in Classic Mode.
    I know that is a CSP issue.
    I can see the error message below on the Developer tool in Chrome.

    Refused to display 'https://worldvision--ps--purecloud.visualforce.com/apex/CustomCallCenterSettings' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

    Salesforce Lightning Mode.


    Salesforce Classic Mode


    I want to find a solution to this problem.
    Do you have any ideas or solutions about it?

    Thank you for your help in advance.
    #Implementation
    #Integrations
    #Unsure/Other

    ------------------------------
    Sang-Gu Yu
    Genesys - Employees
    ------------------------------


  • 2.  RE: CSP issue of the PureCloud for Salesforce

    Posted 02-07-2020 12:05
    No replies, thread closed.
    Have you already made sure everything is set up according to this Resource Center article? https://help.mypurecloud.com/articles/salesforce-lightning-experience/

    (Including using the correct definition file and making sure the Salesforce user is associated with the Lightning version of the definition file)

    ------------------------------
    George Ganahl GCP (PureCloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 3.  RE: CSP issue of the PureCloud for Salesforce

    Posted 02-09-2020 23:21
    No replies, thread closed.
    Hi George,

    Of course, I did as the Resource Center article you mentioned.


    But I didn't see the definition file when I installed the Purecloud Client in Salesforce. Where can I find this?

    ------------------------------
    Sang-Gu Yu
    Genesys - Employees
    ------------------------------



  • 4.  RE: CSP issue of the PureCloud for Salesforce

    Posted 02-10-2020 10:18
    No replies, thread closed.
    In case you have not already seen the FAQ on troubleshooting the Lightning version, information is here:
    https://help.mypurecloud.com/faq/why-isnt-the-client-appearing-in-lightning/

    The definition files are supposed to be in the  Salesforce AppExchange managed package that you downloaded to do the install.

    ------------------------------
    George Ganahl GCP (PureCloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 5.  RE: CSP issue of the PureCloud for Salesforce

    Posted 02-11-2020 09:56
    No replies, thread closed.

    This is likely related to the security changes that have been made to support the same-site changes to cookies in chrome 80: https://www.chromium.org/updates/same-site  https://help.salesforce.com/articleView?id=000351874&language=en_US&type=1&mode=1.   The error your pointing to is actually a failure for the Salesforce UI to load the visualforce page due to a security directive preventing the iFraming of the resource based on the policy directive.  The browser seems to believe that the visualforce page is coming from a different domain than the parent page, and is rejecting the attempt to load this resource. 

    Seeing as how you're running Spring 20, this should contain Salesforce's fixes for the chrome 80 cookie handling, but there may be some lingering issues.  I would double check the flags referenced within the chromium blog to establish how your chrome instance is approaching this issue.  I would also double check the require secure connection settings referenced in the Salesforce documentation.  

    If none of the above resolves your issues, I would recommend taking this question to your Salesforce support rep, as this is a failure of the Salesforce application to load the visualforce resources.    



    ------------------------------
    Richard Schott
    Genesys - Employees
    ------------------------------



  • 6.  RE: CSP issue of the PureCloud for Salesforce

    Posted 02-11-2020 20:14
    No replies, thread closed.
    Hi Richard,

    Thank you for your answer.

    It has happened before the SameSite issue in Chrome 80. And I also have an account on the Salesforce trial version. There is no problem there.

    I will ask Salesforce engineer about this problem.

    ------------------------------
    Sang-Gu Yu
    Genesys - Employees
    ------------------------------