cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JL6
Helper I
Helper I

Pop up botton not closing

Hi All, 

 

I have a warning message pop up to confirm the deletion of a record and have used update context, I have no errors in my code, the record deletes but the wanring message does not disapear. 

 

Remove([@'Orders'], Gallery2.Selected); If (IsEmpty(Errors([@'Orders'], Gallery2.Selected)),UpdateContext({PopUp:false}))

 

Thanks

2 REPLIES 2
Drrickryp
Super User
Super User

@JL6 

Remove([@'Orders'], Gallery2.Selected
); 
If(
   IsEmpty(
           Errors([@'Orders'], Gallery2.Selected
           )
   ), Notify(
             "This item was successfully deleted, Success, 5000
      )
)
JL6
Helper I
Helper I

Thank you, that does work but I wan't my pop up dialogue box that I created to close when the user confirms that they wanted to delete the item: 

 

JL6_0-1653494655436.png

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,981)