NF11 Inject Context Variables From Role

From iDempiere en
Revision as of 05:50, 27 March 2023 by Muriloht (talk | contribs) (Created page with "= '''Feature:''' Inject Context Variables From Role = '''Goal:''' Technical '''Developer:''' muriloht '''Description:''' Now you can define context varia...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Feature: Inject Context Variables From Role

Goal: Technical

Developer: muriloht

Description:

Now you can define context variables to inject in the context from a Role, for example:

01 Inject From Role.png

In this example the following context variables will be available after login , in this case only with Role Garden Admin :

@+InfoProductShowHistory@=N @+RoleLevel@=50

If you need to define multiple context variables to inject, you must define one per line, in other words, the list of variables is new-line separated.

PLEASE NOTE a plus ( + ) prefix is added to these variables to differentiate them from the normal window context variables.

You can use these variables anywhere in the window definition, like the where clause, the read only logic, display logic, etc.


Technical Info: IDEMPIERE-5647

Cookies help us deliver our services. By using our services, you agree to our use of cookies.