Document rendering in browser window

Hey All,

We have a requirement where we need to render a document(mostly PDF) on a browser window.

We checked with the method a!documentViewerField(), but this supported only on 18.3 and higher.(Our current version is 18.2)

Alternatively we checked with a!webContentField(), but we are not sure whether it supports authentication/ not.

So, are there any feasible ways where we can view/edit also download the documents in browser window.

(Note:The source for our documents is through Sharepoint.)

  Discussion posts and replies are publicly visible

Parents
  • If you just need to be able to support the PDF being opened in a browser, you can configure a Web API to return a document (start by using the template for download document)

    Set the header: Content-Disposition: "inline" to open it in the browser window. If the browser supports it, the PDF will open in a new tab, otherwise it will download the file to be opened natively.

    You can configure your web api to call a process or integration that's been connected to Sharepoint to return the file and provide it for download.
Reply
  • If you just need to be able to support the PDF being opened in a browser, you can configure a Web API to return a document (start by using the template for download document)

    Set the header: Content-Disposition: "inline" to open it in the browser window. If the browser supports it, the PDF will open in a new tab, otherwise it will download the file to be opened natively.

    You can configure your web api to call a process or integration that's been connected to Sharepoint to return the file and provide it for download.
Children
No Data