Loading

Error 'X-Frame-Options: SAMEORIGIN' occurs when embedding a Quip document in a custom iframe

Julkaisupäivä: Oct 10, 2025
Kuvaus

When a user attempts to display a Quip document on a Salesforce page (such as a Visualforce page or a custom Lightning Web Component) using a standard HTML <iframe> tag, the iframe fails to load the Quip document.

The browser's developer console displays an error message similar to:

Refused to display '[quip.com URL]' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

This occurs because Quip includes an X-Frame-Options: SAMEORIGIN HTTP response header as an intentional security measure. This feature prevents the content from being embedded in pages that do not originate from the same domain (i.e., quip.com) as a protection against clickjacking attacks.

Ratkaisu

This behavior is working as designed. The Quip engineering team has confirmed that embedding Quip documents within a custom <iframe> tag is not supported.

Recommended Workaround

Instead of using a custom iframe, the supported and recommended approach is to use the standard Quip Document Lightning Web Component.

To display one or more Quip documents on a record page:

  1. Navigate to the Lightning Record Page where you want to display the Quip document.

  2. Edit the page using the Lightning App Builder.

  3. From the component panel, drag and drop the 'Quip Document' component onto the page layout.

  4. Configure the component by providing the URL of the Quip document you wish to display.

  5. To display multiple documents on the same page, simply add multiple instances of the Quip Document component.

 

Knowledge-artikkelin numero

005225275

 
Ladataan
Salesforce Help | Article