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 Apps
Answered

Pop Up In App

(0) ShareShare
ReportReport
Posted on by 43

I have a document library in a PowerApp, with two galleries so users can navigate into folders.

 

In Gallery 2, users have the option to delete a folder by clicking on an X icon.  From here, a flow is triggered, which actually renames the folder to an 'Available Slot', rather than removing it.

 

Before the flow is triggered, i would like to add in an 'Are you sure you want to delete your item?' option.  So when the user clicks, Yes, the flow will be triggered and the folder name will be reset.

 

I think the issue i am having is creating a connection between the yes button and the gallery item which has been selected.

 

Hope that makes some sense.

 

Thanks in advance.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    If you have started already, can you show the formula that you have issues with. Otherwise watch this video to refresh the procedure:

    https://youtu.be/SaDEVOgOlYY

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • ell1990 Profile Picture
    43 on at

    Here is the formula:

     

    Select(Parent); UpdateContext({DeleteGroup:true}); If(DeleteButton.Pressed = true, 'PowerApp->Getfoldermetadatausingpath,Condition,SendanHTTPr...'.Run(Gallery1_1.Selected.Name, Gallery2_1.Selected.Name, ThisItem.'Type of Item', ThisItem.'Item Number', ThisItem.'Type of Item', Gallery1_1.Selected.Name, Gallery2_1.Selected.Name, ThisItem.'Item Number', ThisItem.'Type of Item')); Refresh('Six Week Forward Plan Booking System')

     

    UpdateContext opens the pop up 'Delete Group'.  If the user presses the Delete Button, i then want the flow to run.

     

    Thanks

  • Tapesh Profile Picture
    825 on at

    Are you still looking for the solution ? 

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    The tutorial is quite detailed, I hope you watched it

     

    Separate the formula on two buttons:

    Button 1

    UpdateContext({DeleteGroup:true})

     

    Button 2

    If(DeleteButton.Pressed = true, 'PowerApp->Getfoldermetadatausingpath,Condition,SendanHTTPr...'.Run(Gallery1_1.Selected.Name, Gallery2_1.Selected.Name, ThisItem.'Type of Item', ThisItem.'Item Number', ThisItem.'Type of Item', Gallery1_1.Selected.Name, Gallery2_1.Selected.Name, ThisItem.'Item Number', ThisItem.'Type of Item')); Refresh('Six Week Forward Plan Booking System');

    UpdateContext({DeleteGroup:false})

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

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 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard