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
dinusc
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
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,199)