4.9.3. Screens

  • List

  • Edit

  • Detail

Note

Edit means: create a new instance of an object and also update of an existing instance of an object.

4.9.3.1. Description

The List, Edit, Detail feature gives users of applications generated with the MetaFactory tool the ability to list, edit and view details of objects.

4.9.3.2. Metadata

The following metadata is involved in modeling the feature:

Listing 4.45 model.xml
<object>
        <metadata>
                <application.angular>true</application.angular>
                        <detail>demo</detail>
                        <detail.demo>
                                <createDashboard>false</createDashboard>
                                <createDetailTab>true</createDetailTab>
                        </detail.demo>
                <dto>your-dto-value</<dto>
                <dto.your-dto-value>
                        <keyword>your-keyword</keyword>
                        <role>USER</role>
                        <url.prefix>your-prefix</url.prefix>
                </dto.your-dto-value>
                <edit>your-dto-value</edit>
                <list.your-dto-value>
                        <displayedColumns>'your-attribute-name','actions'</displayedColumns>
                </list>
                <show>
                        <overview.crudButtons>true</overview.crudButtons>
                </show>
        </metadata>
        <attribute name="your-attribute-name" type="your-datatype" notnull="your-boolean-value">
                <metadata>
                        <detail.demo>widget</detail.demo>
                        <edit.your-dto-value>widget</edit.your-dto-value>
                        <list.your-dto-value>*position-in-list*</list.your-dto-value>
                </metadata>
        </attribute>
</object>