cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yvonne24
Regular Visitor

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
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

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

Yvonne24
Regular Visitor

Thank you so much!! Works perfectly!

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,443)