How to get PDF preview from API?

  • 1
  • Problem
  • Updated 1 month ago
  • (Edited)
We called ShareFile API to get the preview link  

https://account.sf-api.com/sf/v3/Items(id)/WebView

 
and return 

https://word-view.officeapps.live.com/wv/mWord.aspx?PdfMode=1&access_token=MOe3kYFSGZlrWbsZkzjPMi7K78AoY9fKQCaIryKG0cp5nlSJpHHqx1YcFz72yOGOnF%2bSUcOXK4qWfTdELaiK1z6GSZ2C5GmgYNNvxFlM%2fxro0fi1hFZBNnVF1cn9DoG5l2WlUgKeRJ%2fktNsOY7W%2foOCYJoCKTELR3qFnz8mL6MM2GVgV6%2fprLxpbhammyqplFr6caqb6MDCWo1XtV4ktb5ssmf8Nl3SqAb9EpOBcfMDk6H2BvsfZY8ZBUbmzPTaOZ11zuYKq4TyCuZJ8gLcrU3vwt4tMYnCSxOPj%2ftssfrSfO8Cjg0Drrty73BYuTlSwWsrrmO6DJ2zAVMxnxfr3EWJGWLARixkmXtQp5VbNFBxpLg2wi7xFzXTwSDpBbO8F322yaK%2fuT0vMs4AYHUaqf1O65C5UTplcqmItI%2fnrZS17UE1PqRHnZWEoQcuR4zjKvkkpSbynj4EWFxHkholu6JeuBtV6Vj5BXZiJcUWMzVkruk685F87%2fUBcryiO0YeRlYUvMSsvrWbQC6R%2bjtW8QvGXNN4UVECxFrcmYoEdJDzgwxjWYOo1sCzn6u8iMf2MoQxMdTvN4E0JWw%2b%2bcOEwe4SODmRH5Z4oo%2fAN4m22gSTVqMsj5OAS0UJMyeW3LWerjMGvRgv034pySf%2bb6cwjllbU%2f5Ke9khAu3NTsGjQwkdkclrc%2f%2fyd2x1gzwNMhhVBoLfOR599YgxORtClgfP%2ffS7y9Vg0dPevw%2foIfErhZ6Uv1PQy83eBAa1h0042kIn2ERNcB5ToHtWwJ1qI59b9MSGqKDiDmD6JlogWzLk7bhlQ5AFA0ahoQRbf28wjjmY8EDvn3Sp8MznEFADI6qkm08M2l%2fqDFT961pD%2bJ1w5Lxb%2f%2bCHbavh%2fPyOWTs%2feftinnJ%2figQo0553mW4qM8oJ7rZ8%2fPPtEWyMoZ984lOivhDl%2bYkcYuWHphsGEfVWNUfLDulXy3Gn58GZVLJJfRUA16IynIjLunAIjNgPDIDeskhUz0YWCdvIPdIVcOL3Dp3eva12tG5u03P3D0CYRNCWQdICug2CR7btQTtO3sFVUYq%2fdy%2bJ4LhOoEQeNpszchCeb8B0PBUImgbJffcqJYBZHEkhwYUBq%2bJoSEK47OKlwmsmqR%2f4oAbQnxszkVdc%2b0%2fp%2fHKp9cXCmlNghkEwf7u7NwiYc10uYwzNNgKvxzUgak7bFw6RDfgNbFdfhVc0PXYTjCVDgZ7MOVQA35BkuFJpP5V9u%2bunOQKG%2fL%2fLML1rBa0Tsan2IMou%2bC6p65du3e%2f59zFu%2fTA1YlXyfywu1O&WOPISrc=https%3a%2f%2fsfwopionline-ec2.sharefile.com%2fWopiServer%2fwopi%2ffiles%2fstbf3c5e-c9f3-4b20-9037-a8113c4919d5&IsLicensedUser=1&wdFCCState=1

We used the return link for pdf view.  But error found about "Microsoft Word Mobile Viewer has terminated to support PDF preview.  Please contact the tech support"
Photo of Yeung Daniel

Yeung Daniel

  • 2 Posts
  • 0 Reply Likes

Posted 1 month ago

  • 1

Be the first to post a reply!