cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mupps
Level: Powered On

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

Re: Group Fields Together in Different Tabs

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. 

Mupps
Level: Powered On

Re: Group Fields Together in Different Tabs

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.

Mupps
Level: Powered On

Re: Group Fields Together in Different Tabs

Hi @Anonymous,

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

alobaloss
Level: Power Up

Re: Group Fields Together in Different Tabs

test

alobaloss
Level: Power Up

Re: Group Fields Together in Different Tabs

test

Anonymous
Not applicable

Re: Group Fields Together in Different Tabs

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,298)