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.
On play:
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
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?
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
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
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
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
);
@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)
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
);
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional