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.

  1. Open the settings.agconf file in your template directory.
  2. Find the BusinessApplication section. Add a new DynamicProperty in the DynamicProperties section and Item in the Items section.
  3. In the Item element, define a new Program item with a name, extension, label, icon and DynamicProperties attribute values of your choice. The value of the DynamicProperties attribute corresponds with the name attribute in the DynamicProperty 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>
  4. Save the changes.
  5. Select Tools > Specific setup > Reload to reload the modified template file.
  6. 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.
  7. Save the 4ba file to your project directory (not the template directory).
  8. 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.