cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ammarfassy Helper III
Helper III

disable enable data card based on a field

Dears,

 

is it possible me to enable/disable datacards based on a field (which is also inside a data card)?

 

please refer the attached. once i enable the toggle for SharePoint, rest of the toggles which is below should get enabled.

 

thanks in advace,

Ammar

 

 

1 REPLY 1
Microsoft
Microsoft

Re: disable enable data card based on a field

This hsould be possible. You will have to unlock the card first (see "Unlock to change properties" item in Advanced Panel) and then set the following property on your card:

DataCard1.DisplayMode = If(Toggle1.Value = true, DisplayMode.Edit, DisplayMode.Disabled)

Replace DataCard1 and Toggle1 with your control names.

 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (7,109)