cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mupps
Advocate II
Advocate II

Group Fields Together in Different Tabs

Hi all,

How do I configure an app so that some of my fields are visible on one tab, but other fields which are used less often are tucked away on another tab that needs to be clicked on to bring them to the front of the app?

6 REPLIES 6
Anonymous
Not applicable

Hi @Mupps

 

There are few ways to achieve having different tabs on same screen.

 

Here is how I do it in my apps.

 

in the Screen.OnVisible have this function:

If(
  IsBlank(_ScreenTab),
  UpdateContext({_ScreenTab:1})
)

Add 2 (or more depending how many tabs you want) buttons.

 

Change the Button.OnSelect to:

UpdateContext({_ScreenTab:1})

Change the number depending on the button so Button1 will have _ScreenTab:1, Button2 will have _ScreenTab:2

 

Add your content for the first tab on the screen. Select all items that belong to this tab. Add them to a group. Select the group and in the Group.Visible put the following:

If(
  _ScreenTab = 1,
  true,
  false
)

Change the condition depending on which Group you are working with.

 

 

Now when you click your buttons only the required content will show on the screen for specific tab. 

Thanks for your suggestion @Anonymous.  I'll need some time to digest this as it's more complicated than I'm used to!  I'll get back to you if this proves to be a solution.

Hi @Anonymous,

Can you explain your instruction "Select all items that belong to this tab.  Add them to a group."

test

test

Anonymous
Not applicable

Hi @Mupps

 

First select all the items which you want to belong to same TAB while holiding CTRL button.

Open Home in the ribbon

Select Group and click Group.

 

Here is the screenshot of the actions:

1.png

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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 (109,464)