How to configure a new rule in the Save grid option

Á

Álvaro Moura

Last updated on Jul 6, 2026

The Option Save Query allows the layouts to be saved publicly or with restricted access.

* Public - Anyone who has access to the application will have access to the saved Layout

* Use Rule - Allows the layouts to be saved with restricted access.

In this article, you will learn how to create a restricted rule in the option Save Query.

Creating a Rule

1 - On the Configuration screen, click New Rule.

You must define the name and Label for the identification of the rule in the Application interface.

The Label field accepts a global variable

2 - Then, add a global variable, to create the access restriction to the layout

In the example, the variable usr_login, which stores the login in the security module is being used. 

Thus, when user A creates one or more rules, only he will have access.

3 - Click Add, to include the global variable in the rule.

It is possible to create the rule without a global variable, however, this way the rule will have the same behavior as the public level

4 - Then click Finish.

When running the application and saving a layout with user 1, for example, only he has access to the profile created.

User 1 access example

User 2 access example