X4 Produktdokumentation

Action "New"

The action New is created with the element <NewAction/> within <Actions>. The action New creates a new entry. To do this, a new object is created in the detail structural element. The fields contained therein are empty.

For the New action the standard attributes for (7.4.0-en) Actions can be defined.


The attribute componentName is required for the element <NewAction/>.

Example action "New"
XML
<DetailComponent path="Dashboard" displayName="Dashboard" default="true">
    <Actions>
        <NewAction componentName="personDetail"/>
    </Actions>
    <FlowLayout>
    …
    </FlowLayout>
</DetailComponent>

Above code creates the following action:

NewAction_EN.png