cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (73,722)