cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
raewyne
Helper I
Helper I

Show the same DataCard across multiple tabs

I have had a look at a previous post however it only shows me how to show one card, hoping someone can assist....

 

I have the following tabs under variable, VarFormTab

"Risk Assessment"

"Risk Training"

"Project Participation"

"Document Review"

 

The Datacard is named Requestor_DataCard

 

How do I show this DataCardas as visible across all the above tabs, I can only get it to show on one tab.

 

thanks for your support

Rae

1 ACCEPTED SOLUTION

Accepted Solutions
StalinPonnusamy
Community Champion
Community Champion

Hi @raewyne 

 

We can control all Datacard visible based on a variable.

 

  • Create Variable and set the property to true(In this case Variable name "RequestorVisible"), setting up on screen OnVisible property
  • Assign the variable to DataCard Visible Property

 

StalinPonnusamy_0-1628486327832.png

 

Assumption: I believe you are one form and trying to control the data card based on the tab. Set the variable based on tab and assign the variable to visible property of the data card.

View solution in original post

3 REPLIES 3
StalinPonnusamy
Community Champion
Community Champion

Hi @raewyne 

 

We can control all Datacard visible based on a variable.

 

  • Create Variable and set the property to true(In this case Variable name "RequestorVisible"), setting up on screen OnVisible property
  • Assign the variable to DataCard Visible Property

 

StalinPonnusamy_0-1628486327832.png

 

Assumption: I believe you are one form and trying to control the data card based on the tab. Set the variable based on tab and assign the variable to visible property of the data card.

View solution in original post

Thank you for your quick reply.

When you say create a variable, 

Below is an example of each datacard and the tab it needs to be visible in.

Do I need to create a variable for each tab?

Example

DataCardtab- Risk Assessmenttab-Document Reviewtab-Artefact Request
RequestorXXX
Risk AssessmentX  
Date of RequestXXX
Artefact Request  X

 

StalinPonnusamy
Community Champion
Community Champion

Hi @raewyne

 

  • No variable is needed if the control needs visible all the time
  • Use variable only visible changes based on tab
  • We can achieve DataCard or control visible in 2 ways

 

1. Set the visible property based on the tab selected. This is the preferred way.

 

Set(SelectedTab, 1)

 

StalinPonnusamy_3-1628513551093.png

 

SelectedTab=1 // OR If(SelectedTab=1,true,false)

 

 

StalinPonnusamy_4-1628513567393.png

2. When you click on the tab set the variable for a specific control to true or False. And assign the variable to Datacard

StalinPonnusamy_0-1628513222606.png

StalinPonnusamy_2-1628513338678.png

 

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, 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!

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