cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
slhangen
Helper V
Helper V

Visibility based on toggle value

I need to show a datacard if toggle is true. Can I get help with syntax?

Visibility for ExternalReportNumber_DataCard2_1 if tglExternalReport value is true

 

Thx community

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @slhangen ,

 

You just need to set the Visible property of data card to 

tglExternalReport.Value

Hope this helps.

Sik

View solution in original post

3 REPLIES 3
Eelman
Super User
Super User

@slhangen 

Set the datacard visibility property to

 

If(tglExternalReport, true, false)

// or simply
tglExternalReport

 

Note: I gave you two options, sorry about the confusion. Either use the top line or the bottom line of code.

 

v-siky-msft
Community Support
Community Support

Hi @slhangen ,

 

You just need to set the Visible property of data card to 

tglExternalReport.Value

Hope this helps.

Sik

View solution in original post

Thanks, worked great!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,288)