Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

SharePoint sub folder Creation with Document Management and Power Pages

(0) ShareShare
ReportReport
Posted on by
Hello, I've successfully integrated SharePoint with my portal, and everything is working as expected. However i want to modify the current functionality of the SharePoint folder creation process. Currently when a user accesses the upload area for the first time through power page, a SharePoint folder is automatically created for them. I'd like to automatically create subfolders within this initial folder, with specific names, so that users can upload files directly to these designated folders without having to create them manually. I am trying to create an automate flow to achieve this but not able to. Could you please provide some guidance on how to achieve this?
 
Additionally, My thought process is that it is somehow tied to Document Location Table in power Pages . My Main table , MyTable must have some reference to document location table, which lets it know that the next step of the multistep form will be upload within the same location. So i was thinking of creating a record in Document location table, basically creating a main folder in sharepoint first then in document location. Only drawback or blocker for this is that i don't know how MyTable Reference the location stored in document location table. Please sugesst.
Categories:
  • RK2021 Profile Picture
    68 on at
    SharePoint sub folder Creation with Document Management and Power Pages
    I think this previous post and the series of guides it references will be useful for this query:
     
    It can definitely be achieved as I had faced the same issue of the default folders being created rather than something with a meaningful title - you may just need to tweak it slightly to build sub-folders rather than separate locations.
     
    The key to the link between your Dataverse table and the SharePoint folder is indeed the Document Location table, primarily the relative path value which can cause issues if not set correctly. The above covers this and I found it really useful in the past.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,636 Most Valuable Professional

Leaderboard