cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lakcod
Frequent Visitor

Dissable Datacards in view mode

Hello community,

 

I have custom form in Sharepoint made in Power Apps. Then I did custom "Save" and "Cancel" buttons. 

 

1. I need them to be disabled in view mode in Sharepoint form

2. They need to be active when the form is in Edit mode

 

I just need to set up formula can someone help please ?

 

lakcod_0-1595314554575.png

lakcod_1-1595314571776.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @lakcod ,

Try on the DisplayMode of the button

If(
   YourFormName.Mode=FormMode.View,
   DisplayMode.Disabled,
   DisplayMode.Edit
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
WarrenBelz
Super User III
Super User III

Hi @lakcod ,

Try on the DisplayMode of the button

If(
   YourFormName.Mode=FormMode.View,
   DisplayMode.Disabled,
   DisplayMode.Edit
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

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 (66,121)