Screen query predefined parameters

Does Jmix have any predefined paramers for loaders queries in screen xml files?

I wondering it for using current user in a query where-clause of my JPQL


In the descpitor, write a request with the required parameters

<loader id="newEntitiesDl">
              <![CDATA[select e from test_NewEntity e where e.createdBy =  :name]]>

And set parametr value on contoller

    public void onAfterInit(AfterInitEvent event) {
1 Like