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

Announcements

News and Announcements icon
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 Microsoft Employee

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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard