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 Multiple Doc...
Power Pages
Suggested Answer

Uploading Multiple Documents for Different Fields in Power Pages

(0) ShareShare
ReportReport
Posted on by

Overview

 

While building a Physician Onboarding portal using Power Pages + Dataverse + SharePoint, I encountered multiple challenges around uploading documents for different document types (PAN Card, Aadhaar, Experience Letter, Address Proof, etc.).

 

Although Power Pages provides attachment support, multi-document, multi-step onboarding scenarios are not as straightforward as they appear from the UI. This post shares what I tried, what worked partially, what failed, and the key limitations that are not clearly documented.

 

My goal is to help others avoid spending time on approaches that look supported but break at runtime

Approach 1: Single-Step Form with Attachments

 

What I tried

 

  •  

    Power Pages basic form


  •  

    Creates a new record


  •  

    Attachments enabled


  •  

    Storage: Dataverse Notes / SharePoint integration



  •  
 

Result

 

✔ Record is created

✔ Files upload successfully

 

Limitation

 

  •  

    All documents are uploaded as generic attachments


  •  

    No way to map specific files to specific document types


  •  

    Not usable when compliance requires explicit document categorization



  •  
 

Conclusion:

Works technically, but not suitable for structured onboarding.

 
 

Approach 2: Multi-Step Form (Details → Documents)

 

What I tried

 

  •  

    Step 1: Physician details


  •  

    Step 2: Document upload


  •  

    Expected to pass record ID between steps



  •  
 

Result

 

❌ File upload fails with messages like:

 

  •  

    “This record hasn’t been created yet”


  •  

    “File doesn’t match file storage configuration”


  •  

    “Maximum 0 files allowed”



  •  
 

Root Cause (observed)

 

  •  

    Power Pages does not reliably pass the Dataverse record ID

    between steps in a way attachments can use


  •  

    Attachments require an existing Dataverse record


  •  

    This dependency is not clearly stated in UI guidance



  •  
 

Conclusion:

Multi-step UX + attachments looks supported, but breaks in practice.

 
 

Approach 3: Separate Pages (Create → Redirect → Upload)

 

What I tried

 

  •  

    Page 1: Create Dataverse record


  •  

    Redirect to Page 2 with record ID in query string


  •  

    Page 2: Upload documents



  •  
 

Result

 

⚠ Inconsistent behavior

 

  •  

    Query string ID is not always recognized by attachment control


  •  

    Upload fails with storage configuration errors


  •  

    Fragile implementation, not reliable for production



  •  
 

Conclusion:

Technically possible with heavy customization, but not stable.

 
 

Approach 4: One File Column per Document Type (Dataverse Design)

 

Design

 
Field Name Data Type
PAN Card File
Aadhaar Card File
Experience Letter File
Address Proof File

Result

 

✔ Clear mapping

✔ Each field accepts one file

 

Major Limitation

 

  •  

    Each File column supports only one file


  •  

    No support for:

     

    •  

      Re-uploads


    •  

      Multiple documents per category


    •  

      Real-world onboarding scenarios



    •  


  •  
 

Conclusion:

Works technically, but not suitable for scalable onboarding use cases.

 
 

Key Limitations Observed (Not Clearly Documented)

 

  1.  

    Attachments require a Dataverse record to exist


  2.  

    Multi-step forms do not support file uploads reliably


  3.  

    Attachments cannot be bound to specific document categories


  4.  

    SharePoint integration validation ≠ attachment readiness


  5.  

    File size errors often mask record ID / storage binding issues



  6.  
 

These behaviors are learned through trial, not surfaced clearly in Power Pages UX or documentation.

 
 

Current Outcome

 

Despite server-based SharePoint integration being correctly configured and validated, Power Pages does not natively support:

 

  •  

    Multi-document uploads


  •  

    Categorized document handling


  •  

    Multi-step onboarding with attachments



  •  
 

without significant trade-offs or custom development.

Open Questions for the Community

 

  •  

    Is there a recommended Microsoft pattern for multi-document onboarding?


  •  

    Are there roadmap updates planned for:

     

    •  

      Step-aware attachments?


    •  

      Document category mapping?



    •  

  •  

    Has anyone successfully implemented this using supported patterns only?



  •  
 
 

Closing

 

Power Pages is excellent for simple data capture, but document-heavy onboarding workflows require careful architectural decisions. I hope this breakdown saves time for others evaluating Power Pages for similar use cases.

 

Looking forward to insights from the community

I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,497 Super User 2026 Season 1 on at
    The key thing to understand is that their are different behaviours for the the different file upload capabilities
    • File column: Record the field is on must exist before being able to upload. Limited to 1 file per column. Cannot add additional metadata to the upload.
    • SharePoint (native integration): Record the subgrid is on must exist before being able to upload, Cannot add additional metadata to the files being uploaded.
    • Notes Attachment (includes Notes to Blob): Does NOT require the record to exist first, there are 2 places to configure Notes attachments one will require the record to exist first (configuring metadata against the Form/Step) whereas the other does not (configuration setting directly on the Form/Step - for this option use the Power Pages Management App).
    A key limitation of all is that you cannot add additional metadata to the actual file upload. If you need to do this then you will need to configure a custom table (enable it for attachments), add fields to hold the additional data, then use the appropriate upload method, then add that new Table as a subgrid to the Form (but as its a subgrid it can only be on an Edit/Readonly form/step - so this has its own limitation), if needed after upload you can then move to SharePoint etc using Power Automate Flow or other customisation.
     
    (note for one of the scenarios in the original post, in Multistep forms you would usually use the results from previous Step option rather than Id)

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 49

#2
11manish Profile Picture

11manish 35

#3
Haque Profile Picture

Haque 28

Last 30 days Overall leaderboard