cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ammarfassy
Level: Powered On

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 Employee

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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Tomorrow, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 115 members 4,336 guests
Recent signins:
Please welcome our newest community members: