Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Display Box.com in an IFrame

New post

Comments

6 comments

  • mschwartz

    Hey there,

     

    The best way to do this would be to use Box Embed. You can easily generate the iFrame using the Box web application's UI. 

     

    You can learn more here: https://developer.box.com/docs/box-embed

     

    - Mike

    0
    Comment actions Permalink
  • MarcinZmuda

    Hi,

    I would like to display box note in my application. User should be able to edit box note in my application. I added to my app below code:

     

    In iframe I see information: This shared file or folder link has been removed or is unavailable to you. Any idea how to fix this?

     

    0
    Comment actions Permalink
  • Murtza

     Unfortunately, embedding a Box Note is currently not supported through the API. 

    0
    Comment actions Permalink
  • jkoncel

    Is there a plan to resume support for embedded box notes? It was working fine until recently.

    0
    Comment actions Permalink
  • eric_nord

    I'm also having issues displaying box in an iframe in chrome due to the following console error:
    Refused to display 'https://byu.app.box.com/notes/***number removed for privacy***497?isReadonly=1&is_preview=1&s=32yuk22wrwkqqhc0uneyqry3uh50k9ua' in a frame because it set 'X-Frame-Options' to 'sameorigin'

    With the 'sameorgin' flag set the browser expects to render the screen on the same domain it originated from. Using it in an IFrame breaks this contract and chrome enforces the contract by refusing to display the content. work in internet explorer fine though. 

     

    0
    Comment actions Permalink
  • Brent

    Hello! Our Engineering Team behind Box Notes recently introduced changes that should now enable the embedding of Box Notes. Please give it a try and let us know if this is working for you now.

    0
    Comment actions Permalink

Please sign in to leave a comment.