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 : TOvE91klxuXrhbkRyzBG5Z
Power Apps - Building Power Apps
Answered

Powerapps questionaire with form attachment control

Like (0) ShareShare
ReportReport
Posted on 27 Apr 2023 14:26:52 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 01 May 2023 at 15:27:53
    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 01 May 2023 at 14:36:08
    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,204 Moderator on 27 Apr 2023 at 18:08:06
    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 27 Apr 2023 at 17:07:27
    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,204 Moderator on 27 Apr 2023 at 16:50:31
    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 27 Apr 2023 at 16:37:46
    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,204 Moderator on 27 Apr 2023 at 16:09:16
    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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete