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

Community site session details

Session Id : /WQ9xQ5ABUKPYHpvvDIMu7
Power Pages - Power Apps Portals
Unanswered

Uploading document using power app portals WEB API - CRUD

Like (1) ShareShare
ReportReport
Posted on 1 Feb 2022 16:55:46 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

 

I have the same question (0)
  • jimmymcad Profile Picture
    20 on 11 Feb 2022 at 14:23:59
    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 02 Feb 2022 at 05:05:35
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2