web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

Retrieve the file stored in Note (Dataverse) in PDF format

MPChat Profile Picture Posted by MPChat 7

Hi,I have an issue with  retrieving  a Pdf file stored in Note(dataverse) through a form in power pages. I'm able to get the byte code from document body using webAPI but not the file original format. I want to get a URL of the file to embedded in a pdf viewer.

Categories:

General

Comments

  • MPChat Profile Picture MPChat 7
    Posted at
    Retrieve the file stored in Note (Dataverse) in PDF format

    Hi Sannadi77,
    Thank you for the reply, even the delayed one 🙂
    The problem has been solved but I don't remember exactly what the solution was cause it is long time ago.

  • Sannadi77 Profile Picture Sannadi77 9
    Posted at
    Retrieve the file stored in Note (Dataverse) in PDF format

    I know this is a delayed reply, but i think the issue is with content type, change that to

    contentType: "application/octet-stream",
     
    hope this should work.