Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Uploading document using power app portals WEB API - CRUD

(1) ShareShare
ReportReport
Posted on by 20

Hi Experts,

I need to upload file to sharepoint library using Power Apps portals WEB API example.

Please note, I am using a customised advanced web form using LINQ to fetch data and I am using WEB API - CRUD operations to insert, fetch, update data into entities using javascripts post/put example from link below.
https://docs.microsoft.com/en-us/powerapps/maker/portals/write-update-delete-operations

 

I can see, I can upload doc via notes annotation entity. But I would like to using javascript example, to upload it to sharepoint document library. For example, a simple upload file document button, which can post the file to sharepoint document library using Portal web API - CRUD operations.

 

Is it possible to achieve? Please, is this possible using Power apps portal WEB API? if anyone can shed light to it?

I look forward to hearing from you.

 

Kind regards

 

  • jimmymcad Profile Picture
    20 on at
    Re: Uploading document using power app portals WEB API - CRUD

    @ragavanrajan Thanks, apologies, I was away - I will look into it as you mentioned, and get back to you. Many thanks once again

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Uploading document using power app portals WEB API - CRUD

    Hey @jimmymcad 

     

    From the same article you are following, instead of annotation entity try making the call to "sharepointdocumentlocation" table 

     

    ragavanrajan_0-1643778194070.png

     

    Note: Make sure you have enabled the SharePoint integration as Pre requisites for this operation 

    Note1: Setup the SharePoint location configuration properly 

    Note 2: Most Important: Table permissions for "sharepointdocumentlocation" is necessary in addition to your web API settings. 

     

    Hope this sheds some light for you. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35