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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Uploading document usi...
Power Pages
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

 

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    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.

  • jimmymcad Profile Picture
    20 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 59

#2
11manish Profile Picture

11manish 51

#3
Haque Profile Picture

Haque 28

Last 30 days Overall leaderboard