Step 1 – Add Attributes to Client Business Object

  1. Go to the Client business object and add a new attribute Age of type Number
  2. Save the Attribute
  3. Deploy you solution

Step 2 – Changing the Modify, Detail, and New Client Screens

  1. Add an Age NumberField to the Modify and New Client screens; make sure the field is bound to the attribute in the storeClients store
  2. In the Modify and New Client screens also change the Department field to a Combobox by adding the following code in place of the Textfield

    <ext:ComboBox runat="server" HiddenName="Department1_Value" FieldLabel="Department" AutoRender="False" ID="Department1">
    <Template ID="XTemplate1" EnableViewState="False"></Template>
    <Items>
    <ext:ListItem Text="Professional Services" Value="Professional Services"></ext:ListItem>
    <ext:ListItem Text="Solution Delivery" Value="Solution Delivery"></ext:ListItem>
    <ext:ListItem Text="Engineering" Value="Engineering"></ext:ListItem>
    <ext:ListItem Text="Quality Assurance" Value="Quality Assurance"></ext:ListItem>
    </Items>
    </ext:ComboBox>
  3. In storeClients make sure all the new fields are connected to attributes of business object Client.
  4. To the Detail screen, simply add an Age label and also tie it back to the store.
  5. The altered pages should look thus:
  6. Make sure the pages are saved and deploy the solutionStep 2 – Changing the Modify, Detail, and New Client Screens
  1. Add an Age NumberField to the Modify and New Clien