Use the Simple BAM Desktop Project (.4pw) 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. Starting with dbapp4.0, you must also select between a Desktop and a Mobile version of the
template.
In the Additional information section of the form, provide a project
name and the location of your new project directory.
Click OK.
A project displays in the Projects view. When you create a
structured BAM Desktop Project, nodes for the basic structure of the project are already defined and
automatically contain build rules needed for generated programs.
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.
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.
In the Advanced Properties dialog, add an FGLPROFILE environment variable
to the Environment Variables page.
Select Environment Variables.
Under the User Variables section, click the green cross icon.
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.
The FGLPROFILE file contains the configuration information to access the
sample databases.
Click OK to close the Environment Variable dialog.
Click OK to save and close the Advanced Properties
dialog.