cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Update Success or Fail Message

Hello All, 

 

I have one PA form with 360 fields which is linked with 2 MS SharePOint Lists. 

When I edit/update fields in PA , data is patching and updated in SP Lists successfully. However, I would like to add message after successful insert of all updates in all SP Lists. How this can be achieved? 

 

let me know, if you need further details. 

1 REPLY 1
Highlighted
Super User
Super User

Re: Update Success or Fail Message

@AK22 

I was able to find a previous forum post that would likely suit your need.

 

Check out this code (I did not write it the credit goes to @v-xida-msft)

If(
    IsEmpty(
        Errors(
           '[dbo].[TableName]',
            Patch('[dbo].[TableName]',Defaults('[dbo].[TableName]'),{Column1: GUID(),CREATED_DATE: Now(),CREATED_BY: User().FullName})
       )
    ),
    Notify("Patch Successfully",NotificationType.Success),
    Notify("There is an error with your Patch function",NotificationType.Error)
)

 

More details at this link here

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Check-if-Patch-has-saved-the-data-s...

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,487)