Skip to main content
Community site session details

Community site session details

Session Id : W4r/iEERigw4hGHMufSLJ0
Power Apps - Building Power Apps
Unanswered

Pop-up

Like (0) ShareShare
ReportReport
Posted on 14 Dec 2020 12:56:04 by 50

Does anyone know how to create a pop-up window in Power apps that depend on a power automate flow?

If I try to save a photo in sharepoint from Power apps with a name that already exist, I want a pop-up window to be shown:

"A file with that name already exist, do you want to continue?" 🙂

Categories:
  • BC User Profile Picture
    50 on 15 Dec 2020 at 09:23:57
    Re: Pop-up

    @GarethPrisk Thank you for your answer.
    I already have a Powerapp and a flow that works. I even have a pop-up, but I can't figure out the formula to put in the pop-up that stop the flow if the same name already exist. 

  • GarethPrisk Profile Picture
    2,826 on 14 Dec 2020 at 15:21:20
    Re: Pop-up

    This can be accomplished by combining a few approaches. You will want to present the user with a blocking/modal dialog, while the Flow runs and then returns a value.

    https://powerapps.microsoft.com/en-us/blog/creating-dialogs-in-powerapps/

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    Thankfully, Flows are synchronous when invoked from a canvas app. At a high-level, you will

    1. Create a new Flow from the PowerApp
    2. In the Flow, develop your logic for creating the photo (presumably from canvas app?)
    3. Determine the outcome of the SharePoint action (good, or bad)
    4. Pass back the result (maybe a Boolean [true/false]) to the canvas app
      1. If good, show a positive result and maybe close the dialog
      2. If bad, show a negative result and then prompt user

     

     

    @rahulswimmer has a cool write up on elegant notifications for users. BTW https://powerusers.microsoft.com/t5/Building-Power-Apps/Create-Chips-component-using-PowerApps/m-p/767116#M244374

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2