Display widgets only on a single UIPage layout

Hello Community,

I am exploring different visualization options on UIPage layouts.

The goal is to have a grid widget that displays all columns visible by default in the standard (Desktop) layout, but only shows 1 column by default on a Mobile layout (the other columns can be enabled in the column options, if needed).

As the grid widget does not support configuring this visibility by layout, I tried to duplicate the widget, alter the column definitions, copy it into a Mobile layout and display it there.

However, the widget always has to be instantiated on the master layout as well, in order to be added to a different one. Ideally, I would only want to display the mobile relevant grid (with a single column) in the Mobile layout, and the standard grid (with all the columns) in the master layout.

Without trying to hide the duplicate widget outside the visible screen in the master layout, is there a way to achieve this result?

I also tried to play around with the widget “Show Widget” input, but there seems to be no page property for the currently displayed layout that can be used to control the different widget visibility.

Thank you,
Francisco Maciel

I have found the right way to do this, without needing to use UIPage layouts.

In the Grid widget column configuration it is possible to define the View Priority for:

  • AlwaysVisibleInDesktop
  • HighPriority
  • MediumPriority
  • LowPriority

This settings allows columns to be hidden on the layout responsively.