web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Confirmation data was ...
Power Apps
Unanswered

Confirmation data was saved in SP list

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I am looking for a way to display a 'Successfully submitted' message that appears only if the data has indeed been saved to the SP list. Is there a way for PowerApps to receive a confirmation from the SharePoint list that the data was saved, and to issue a warning if it hasn't?

 

We want users to respond to all fields, but as shown in this post the functionality making PowerApps fields 'required/mandatory' does not enforce this properly. If we make all SharePoint list items mandatory, and the user misses to fill out a field in PowerApps, their submission (list entry) will simply not save in SharePoint.

 

Therefore we are trying to find a way to advise the user if their submission worked or not. Any ideas?

 

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi DanielaH,

     

    May you consider to use OnSuccess property of EditForm control.
    https://powerapps.microsoft.com/en-us/tutorials/control-form-detail/

    3.PNG

     

    Before using the OnSuccess property, please set all the columns in the SharePoint list as “Required”(according to your needs).


    Then create an app based on the list. On the EditForm, set the EditForm’s OnSuccess property as: UpdateContext({message:"successfully"}), OnFailure property as: UpdateContext({message:"wrong"}).


    Then add a Label control, set its Text property as message.


    When the data you filled on the Form are submitted successfully, an message “successfully” will be shown on the label, otherwise, if you missed some fields, the message “wrong” will be shown on the label.


    Please have a try with it. Hope it could be a reference for you.

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    How can I display the kind of error and/or the specific missing required fields in the UpdateContext({message: }) ?

  • johnom Profile Picture
    68 on at

    Hi Mabel

    Could you advise how this confirmation can be achieved when submitting a collection to sharepoint list

    regards

    John

  • BungleBrain Profile Picture
    45 on at

    @johnom , did you ever find a way to verify that Collect has worked on a SharePoint list?

    I'm using:

     

    Collect(mySharePointList,myCollection)

     

     Which is working fine to add a load of entries directly into my SharePoint list, but I worry that I can't really tell, unless perhaps I try to read the data from the list afterwards and verify that it exists.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard