Create a BAM structured project

Use the BAM Desktop Project (.4pw) structured project template to create your managed project.

Before you begin:

Select Tools > Genero Configurations and confirm that the template of your choice is selected in the Environment Sets list. The selected template will be the code generation template used for the project.

Tip: Unless you have a known reason to do otherwise, select the latest available template. You may have to select between a Desktop and a Mobile version of the template.
  1. Select File > New... > Genero BAM Desktop > BAM Desktop Project (.4pw).
    1. In the Additional information section of the form, provide a project name and the location of your new project directory.
    2. Click OK.
    A project displays in the Projects view.

    At the root node of the project are three default nodes:

    • DatabaseMaintenance - This node is intended for any database creation or management you may need to complete. You will not be using this node in this quick start.
    • Packages - This node is where you provide the details you need to create packages of your application for deployment to the Genero Application Server, to mobile devices, or to simply create a zip file.
    • Project - This node contains an application node, as well as additional library nodes to assist you in the coding of your application. This quick start begins its work within this node.
  2. Open the Project node and right-click on the Application node. Select Advanced Properties from the menu.
    The dependencies for the Database, Entities, and Resources nodes have already been set. Selecting these nodes as dependencies ensures that files they contain will be accessible for inclusion in your application.
  3. In the Advanced Properties dialog, add an FGLPROFILE environment variable to the Environment Variables page.
    1. Select Environment Variables.
    2. Under the User Variables section, click the green cross icon.
    3. In the Environment Variable dialog, add the FGLPROFILE user variable. Specify a type of "File List", and have the Value point to the location of the FGLPROFILE file provided in the My Genero Files/samples/OfficeStoreRes/ directory.
      Figure: Edit environment variable dialog

      This figure is a screenshot of the Environment Variable dialog.
      The FGLPROFILE file contains the configuration information to access the sample databases.
    4. Click OK to close the Environment Variable dialog.
    5. Click OK to save and close the Advanced Properties dialog.
  4. Save your changes to the project.