Customize the app

Customize the app by changing a property value in the BA diagram.

At this point, you would continue to build your BA diagram to add and customize forms, zoom forms, and mobile peripheral entities, relations between the entities, and to customize the generated code as needed. There are many customization options in BAM.

Table 1. Customization example resources
Example Resource
Creating a master/detail form for mobile. See Quick Start: Generate a master-detail mobile app
Creating forms for mobile devices. See Working with forms.
Mobile form patterns. The Mobile Patterns demo includes a BA diagram with examples of various forms, relationships between forms, and form behavior. See Mobile form patterns.
Add custom code to the BAM generated code. See Adding custom code.
Change default rendering of the actions in the app. See the Action rendering topic in the Genero Business Development Language User Guide.

For the purposes of this quick start, make a simple customization to your app by changing the form to open in ADD mode, instead of the default DISPLAY mode.

  1. Open appflow.4ba.
  2. Select the Form entity. The properties view shows all of the properties set on the form. Find the UI Settings section. (You can always display a view with the menu Window > Views).
  3. Change the Open Mode property to ADD.
    This changes the program so that this form will open ready for the user to enter a new row of data.
    Figure: Change a form property


  4. Save your changes to appflow.4ba.
  5. Execute the app again. (Right-click on the program entity (main) and select Execute.) New code is generated to reflect this property change.
  6. Test the program by adding a new row.