How to Add a Popup for DELETE a record in Power Apps

1. Login to PowerApps.

2. Open the APP

3. Create One Screen

4. Add One Gallery and DataSet is Account
    In Gallery add one button which DELETE
    OnSelect of DELETE button
    Set(AccountDialog, true);
    Set(AccountItem, ThisItem);


5. Take one Rectangle and Below values
    Visible=AccountDialog
    Fill=RGBA(0, 0, 0, .6)
    Add one Label and 2 buttons 1. OK 2. Cancel


6. OnSelect of OK button
    If(User().Email=AdminItem.'Grant Email to',Notify("You cannot revoke your own Access. Please         contact Admin."),Remove('Admin Users',AdminItem);Set(adminDialog,false))
    


7. OnSelect of Cancel button
    Set(adminDialog,false)



Comments

Popular posts from this blog

Basic Plugin Code in D365 using C#

CURD (Create, Update, Retrieve and Delete) Operation in D365 using Power Shell Script

Meta Data Using WebApiRequest