reg
(Alexey Bondarchuk)
1
Is it possible to use EntityInspector from menu like in Cuba 7:
register screen with entity as parameter?
<screen id="sales$Product.lookup"
template="/com/haulmont/cuba/gui/app/core/entityinspector/entity-inspector-browse.xml">
<param name="entity"
value="sales$Product"/>
</screen>
gorbunkov
(Maxim Gorbunkov)
3
Hi, in theory, you can configure the entity inspector screen in the menu.xml in the following way:
<item id="ei2" screen="entityInspector.browse" caption="msg://EntityInspector">
<properties>
<property name="entityName" value="User"/>
</properties>
</item>
but there is a bug that doesn’t allow to do it: Impossible to configure entityName property of the Entity Inspector from the menu.xml · Issue #42 · jmix-projects/jmix-datatools · GitHub
You’ll be able to configure this property after the issue is fixed.