2018-12-25

We start my Christmas series with my favourite new thing I found in the past few weeks, Enhanced Groups. This post does a quick overview of a great new feature in PowerApps, Enhanced Groups. This feature is currently set to “Experimental”, so might well vanish at any moment. For now, it can help hugely in your PowerApps layout. Enhanced Groups gives us positions based on the group position, groups within groups and you can also add items to an existing group. For anyone who has worked with grouping controls before, you will be aware of some of the struggles with existing groups.

Turning on the Enhanced Groups Feature

As this feature is experimental you will need to turn on the feature in the apps you want to try it in.

  1. Click on File and App Settings
  2. Select Advanced Settings and scroll down to find Experimental features.
  3. Toggle Enhanced Groups to OnEnhanced Group Feature
  4. Save and close your app and reopen for the feature to be available.

Adding Groups and Items to Groups

Insert GroupOn a screen in your app, you can now group existing items, add an empty group and add items to a group.

  1. From the Insert ribbon select Controls and Group to add a group to your app.
  2. With the group selected, insert another control, e.g. a label.
  3. Move the group and not the X and Y of the nested label remains the same. They are relative to the group’s position.
  4. You can base the dimensions of the control of the group’s dimensions using Parent.Width or Parent.Height
  5. With a group selected you can paste in controls.

NOTE

Groups that existed before you turned on the feature are old style groups and will not behave in an enhanced way. It’s probably a good idea to re-create the groups.

Dimensions of item in group

Formatting Groups

A group can have a background colour and a border. It also has a visible property. All of these can be based on calculations just like any other control.

Formatting a group

Conclusion

The enhanced groups make laying out of complex screens easier but they are still an experimental feature so should only be used in small projects and not used commercially until they become standard (hopefully).

About the author 

Laura Graham-Brown

SharePoint Trainer, Consultant and Agony Aunt