Good morning,
In this version it’s possible to pass some parameter so that when opening the entity detail,
the window appears without buttons to create, edit, etc.?
thanks.
Good morning,
In this version it’s possible to pass some parameter so that when opening the entity detail,
the window appears without buttons to create, edit, etc.?
thanks.
Good morning!
You can set your own screen to open by setting the parameter:
<entityPicker dataContainer="orderDc"
property="customer"
placeholder="Choose a customer"
width="15em">
<actions>
<action id="lookup" type="entity_lookup">
<properties>
<property name="viewId" value="your_ViewId"/>
</properties>
</action>
<action id="clear" type="entity_clear"/>
</actions>
</entityPicker>
Or you can override the entity_lookup
action performed handler to set the view to readOnly
mode.
Regards,
Dmitriy