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

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (62,725)