Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Powerapps questionaire with form attachment control

(0) ShareShare
ReportReport
Posted on by 212

Hello community, 

Some help please. I have 6 screens, the first 5 screens are to grab answers from a boolean radio button.

On Screen 6 I have added Edit Form with a datasource to the SharePoint list "AccessPersonsList" and added the attachment control.

On Screen 6, submit button here is my code: 

Patch(AccessPersonslist, Defaults(AccessPersonslist),
{Title:User().FullName, Q1:Radio1.SelectedText.Value, Q2:Radio2.SelectedText.Value, Q3:Radio3.SelectedText.Value,Q4:Radio4.SelectedText.Value,
Q5:Radio5.SelectedText.Value}); SubmitForm(Form1)

 

The problem I am having is on the Screen 6 - the form does not load and attachment does not appear. It just says Getting your data. Do you know how I could combine the question screens with an attachment. 

 

mthiru_0023_0-1682605508946.png

On play: 

mthiru_0023_1-1682605554660.png

 

  • Verified answer
    mthiru_0023 Profile Picture
    212 on at
    Re: Powerapps questionaire with form attachment control

    I was able to use PowerAutomate to save to SharePoint. Refer to this video for solution. For my purposes, I am saving the attachment to a library which works better for me and collecting responses in a sharepoint list using the patch function.

     (96) File Attachments in Power Apps - The best way to do them - YouTube

  • tschneider Profile Picture
    Microsoft Employee on at
    Re: Powerapps questionaire with form attachment control

    RE: The issue being seen with Monitor displaying an error message.

     

    Hey there,

     

    I'm able to see similar behavior on my end, and I believe that the error here is in the "Failed to retrieve published app URL. Please try again by reloading Monitor." error message that shows up. Despite that error, I am still able to see events in my Monitor session from the Canvas app I am using. Would you mind checking if you are still able to see events as well?

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: Powerapps questionaire with form attachment control

    @mthiru_0023 

     

    This is really strange behaviour.

     

    Check if you have Debug published app option switched on

     

    https://learn.microsoft.com/en-us/power-apps/maker/monitor-canvasapps

     

     

  • mthiru_0023 Profile Picture
    212 on at
    Re: Powerapps questionaire with form attachment control

    I never used the monitor before and it says Failed to retrieve published app URL. please try again by reloading monitor which ive done many times. I updated the patch to Selected.Value. Thanks

    mthiru_0023_0-1682615240266.png

     

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: Powerapps questionaire with form attachment control

    @mthiru_0023 

     

    Could You open Monitor and find out what happening in the background that should help You understand what is failing

     

    also what type of column you using to capture Radio button responses You should use RadioButton.Selected.Value rather SelectedText.Value

     

    SebS_0-1682613975319.png

     

    Patch(
     AccessPersonslist, 
     Defaults(AccessPersonslist),
     {
     Title:User().FullName,
     Q1:Radio1.Selected.Value,
     Q2:Radio2.Selected.Value,
     Q3:Radio3.Selected.Value,
     Q4:Radio4.Selected.Value,
     Q5:Radio5.Selected.Value
     },
     Form1.Updates
    );

      

  • mthiru_0023 Profile Picture
    212 on at
    Re: Powerapps questionaire with form attachment control

    @SebS , thanks for the quick response. I tried what you suggested and form control does not load as previous behavior mentioned (Same issue  - getting your data, nothing loads)

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: Powerapps questionaire with form attachment control

    Hello,

     

    Based on Your code it should work like this 

     

    Patch(
     AccessPersonslist, 
     Defaults(AccessPersonslist),
     {
     Title:User().FullName,
     Q1:Radio1.SelectedText.Value,
     Q2:Radio2.SelectedText.Value,
     Q3:Radio3.SelectedText.Value,
     Q4:Radio4.SelectedText.Value,
     Q5:Radio5.SelectedText.Value
     },
     Form1.Updates
    );

     

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard