Add a new item to the BA diagram
Create a new Program entity called Start in the BA diagram.
Before you begin: Ensure you have made a copy of the template set.
- Open the settings.agconf file in your template directory.
-
Find the
BusinessApplication
section. Add a newDynamicProperty
in the DynamicProperties section andItem
in the Items section. -
In the
Item
element, define a newProgram
item with aname
,extension
,label
,icon
andDynamicProperties
attribute values of your choice. The value of theDynamicProperties
attribute corresponds with thename
attribute in theDynamicProperty
element.<BusinessApplication> <DynamicProperties> <DynamicProperty name="myProp" type="TEXT" label="myProp" /> </DynamicProperties> <Items> <Item name="Start" label="New Start item" extension="4srt" icon="bullet_class" dynamicProperties="myProp" /> </Items> </BusinessApplication>
- Save the changes.
- Select Tools > Specific setup > Reload to reload the modified template file.
- Select the Library node in your project and right-click. Select New File > Genero Bam Desktop > Business Application Diagram (4ba) to create a new 4ba.
- Save the 4ba file to your project directory (not the template directory).
-
Right-click on the BA diagram and select a new Start item.
The item cannot yet be implemented because the new file type (4srt) has not yet been defined.