cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jean_9681
Helper I
Helper I

Show Button only in display form

Hello Everyone,

I have Customized PowerApps form for my SharePoint list and i have add a button to an hyperlink column and would like to make the button visible only in display form. 

Here is what i have on the button displaymode and the button is visible in both edit and display form,  
Visible = If(SharePointForm1.Mode=1,false,true)

And i would like this button to be visible only when it contains value. 

Any suggestions on how to configure this.

14 REPLIES 14

It's just Edit 

Jean_9681_1-1614718435864.png

 

RandyHayes
Super User III
Super User III

@Jean_9681 

I actually meant a screenshot of the button on the screen and the formula you have in the Visible property.  Ideally, two snapshots - 1 of the button with true in the Visible property and another of the button with SharePointForm1.Mode = FormMode.View in it.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Mysterious,🤔
It started working now, i have a clickable button in the displayform, not sure what was wrong this morning with this same formula (SharePointForm1.Mode = FormMode.View) the button was just a plain text and now it works
i don't get it 🙄

@RandyHayes  Thank you so much for your time and helping me out with this... 

RandyHayes
Super User III
Super User III

@Jean_9681 

No problem.  It was quite the baffling things you were saying.  I should have suggested getting out of it and then back in, because this sounded something like the wackiness that happens sometimes in the designer.

 

Glad it is working now!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (15,432)