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 :
Power Platform Community / Forums / Power Automate / Connector to use Form ...
Power Automate
Unanswered

Connector to use Form to add a new SharePoint document library item

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

Total noob question, sorry.

 

Just wondering, is there a way to use a Form to create a new custom document library (ie document library with custom content types derived from Document)?

 

I think I'm asking if there is a connector that facilitates this?

 

I've tried a few options but the connector to "Create Item" raises an error saying it's not possible.

 

Any help or even pointers in the direction of documentation that confirms/denies/shows how is greatly appreciated!

 

Cheers,

Michael

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @MicWein,

    Do you want to create a new Document Library with content types?

     

    Actually, there is no OOTB connector to achieve your need, however you could consider sending an HTTP request to SharePoint

    vqiaqimsft_0-1658456362990.png

     

  • MicWein Profile Picture
    4 on at

    Hi Qi,

     

    Thanks for the response!

     

    I have a SharePoint document library for a custom content type with custom columns.

     

    I'd like to support either of the following scenarios:

     

    • Scenario 1: A user drops a file into the document library and a UI pops up to force the user to enter values for the custom columns ie instead of dropping the file in the library and subsequently updating its details to provide those values.
    • Scenario 2: A user opens a UI that allows them to provide the file and the values for the custom columns before adding that file to the document library and updating the custom column values entered by the user.

     

    Scenario 1 doesn't look like it's supported at all.

     

    Scenario 2 is possible albeit not easily and definitely not with a no-code solution. The solution is ably described in Matthew Devaney's excellent article here.

     

    Sadly, SharePoint document libraries don't seem to have as much OOTB Power platform support as SharePoint lists:

    1) While Power Apps auto generates a set of view/details/add+edit UIs from a connection to a SharePoint list, it doesn't (seem to) do that for SharePoint document libraries

    2) There is no native File Attachment control in Power Apps. You have to auto generate the view/details/add+edit UIs from a connection to a SharePoint list to get a UI that has a file attachment control that you then copy to you your UI to upload a file to a SharePoint document library

    3) Once you have a Power App UI for a user to select a file to add to document library and enter values for its custom columns, you have to use Power Automate to actually do the work of adding that file to the document library and updating the custom column values. As far as I can tell, the auto-generated Power App UIs for lists do this.

     

    I'm definitely happy to be proven wrong as I'd love to do less work but, ultimately, the Power platform seems to offer more native support for SharePoint lists than SharePoint document libraries. Which is painful as we have far more doc libraries than lists.

     

    Though, I'm keen to know if there is a prescriptive and no-code way to create Forms or Power Apps UIs to operate over SharePoint document libraries OOTB and no-code.

     

    Thanks,

    Michael

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard