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 :
Power Pages - General Discussions
Unanswered

Multi-Step form with multiple attachment option

(0) ShareShare
ReportReport
Posted on by 321

Hi,

 

We want to replicate the below UI using multi-step form

 

prathyoo_0-1689596501266.png

 

But currently we are only able to provide just a single button as follows -

 

prathyoo_1-1689596849747.png

 

 

Please let me know how we could have multiple buttons for uploading different file types and on upload, to mark some column in the notes table to specify the file type.

Categories:
I have the same question (0)
  • Paul_M Profile Picture
    264 on at
    Re: Multi-Step form with multiple attachment option

    Hi @prathyoo ,

    Trying cloning the node.
    javascript - Making a copy of the DOM - Stack Overflow

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Multi-Step form with multiple attachment option

    Hi @prathyoo ,

    There are 2 ways you can achieve this:

    1. Instead of Attach file functionality you can create a separate File field for each document you need and expose it on the form.

    2. If storing all files as notes fine with you you can hide Attach File button, create 3 custom file type inputs and when files are added to those inputs programmatically add them to OOTB File input.

  • Paul_M Profile Picture
    264 on at
    Re: Multi-Step form with multiple attachment option

    Hi @OOlashyn,

    Question regarding 1st approach.
    File field will store in dataverse. what if you want to store the files in sharepoint.

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Multi-Step form with multiple attachment option

    Hi @PaulMatha 

     

    If you enable SharePoint integration, then possibly via subgrid. Not sure of multiple files. Other way I can think is to trigger power automate to copy/ move files to the SharePoint doc library. 

     


    Hope it helps.
    ------------

    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.

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Multi-Step form with multiple attachment option

    hi @PaulMatha ,

    As @ragavanrajan pointed out you can enable SharePoint integration and add files via subgrid. However, you would need to add files one by one via add button.

     

  • Paul_M Profile Picture
    264 on at
    Re: Multi-Step form with multiple attachment option

    Hi @OOlashyn , @ragavanrajan 
    I believe drag and drop multiple file functionality on in SharePoint modal is out of the box, no need for Pcf control.

  • CU24071812-1 Profile Picture
    on at
    Re: Multi-Step form with multiple attachment option

    @prathyoo @ragavanrajan and others on this thread - Has this issue been fully resolved? 

    I have a very similar need and trying to figure out what is the best way to go...

    We use SharePoint as the document repository.  In our end-user-facing Power Pages solution, there is a step in the multi-step form to collect all of the required documents.  This list is a bit dynamic based on the user's responses to other parts of the multi-step form and we would like to provide a separate button with a clear description of what needs to be attached and whether it is required or optional.  And only allow the user to go to the next step after all of the required documents are attached.  

     

    With the default SharePoint integration (subgrid with a single Add files button) this requirement cannot be met.  Any pointers are appreciated.

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Pages

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 45 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 44 Super User 2025 Season 2

#3
Jerry-IN Profile Picture

Jerry-IN 40

Last 30 days Overall leaderboard