cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Button does not appear after flow is used second time

Hi,

 

I created an app to make pictures and save them directly to Sharepoint using a flow.

After the picture is downloaded I get a response back from flow in a button 'picture uploaded". When pressing the button the button disappears. So far exactly what I wanted.

 

However when making the second picture and sending it to Sharepoint, the picture is uploaded, but the button/message does not appear anymore.

 

Screen:

Onvisible: Set(CloseClick, false)

 

Button:

Text: DataFromFlow.picupload

Visible: If (DataFromFlow.picupload = "Picture uploaded" && CloseClick = false, true, false)

OnSelect: Set(CloseClick, true)

 

I can't find out how to make the Button appear again after the next upload.

Can anyone help me out?

 

Regards,

Yvonne

1 ACCEPTED SOLUTION

Accepted Solutions
Digital
Super User
Super User

When you click the button you could clear the DataFromFlow variable.

 

Then when you initiate the Flow set the CloseClick variable back to false.

 

So after flow action 

 

If(!IsBlank(DataFromFlow.picupload), Set(CloseClick, false) )

 

 

 

 

View solution in original post

2 REPLIES 2
Digital
Super User
Super User

When you click the button you could clear the DataFromFlow variable.

 

Then when you initiate the Flow set the CloseClick variable back to false.

 

So after flow action 

 

If(!IsBlank(DataFromFlow.picupload), Set(CloseClick, false) )

 

 

 

 

Anonymous
Not applicable

Thank you so much!! Works perfectly!

Helpful resources

Announcements
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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,001)