Does Box pdf file support to open in browser instead of force download?

新規投稿

コメント

2件のコメント

  • Murtza

     Yes, you can use the embed_url method from the Boxr gem to generate a file preview link. This method takes a Box file id as the parameter and returns back a file preview link. You can preview the file by accessing the link directly or embedding the link into an iFrame.

    0
    コメントアクション パーマリンク
  • sushilprj

    Thanks Murtza for your response, I have to implement the same behavior as pdf file hosted in s3, It opens default in browse using pdf.js viewer. Is there a way to acomplish the same behavior? I have gone through this post https://www.dropbox.com/en/help/201. Please help me if this will work with boxr gem.

     

     

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。