SD Designer Tutorial - Exercise 3: Creating an advanced Detail panel

In this exercise you will learn how to add more controls to the Detail panel created in the previous step. When the exercise is completed, the panel will show the customer’s information (as before), along with information about the invoices associated with that customer. The panel will be separated in two tabs with each piece of information.

Follow these steps:

  1. Open the “CustomerDetail” panel created in the previous exercise.
  2. Add a “Tabs” node to the specification root node.
  3. Add two “Tab” nodes to that “Tabs” node. Name these tabs “General” and “Invoices”.
  4. Move the “Content (SDDetailStandardPrimaryAction)” node to the first tab.
  5. We must now add a grid with the customer’s invoices to the second tab. To do so, select the second “Tab” node and execute the “Add Grid From Transaction” action (available in its contextual menu). Choose the “Invoice” transaction, and then choose the layout “Notification List”. Create the grid using attributes.
  6. Assign the “InvoiceDate” attribute to the “Date” node, and the “InvoiceSearchResult” attribute to the “Summary” node.
  7. Delete the “FromInvoiceDate”, “ToInvoiceDate”, “FromInvoiceExpirationDate”, and “ToInvoiceExpirationDate” filters.
  8. Execute the application by running CustomerList,  and see the result. It should look like the image below.
    SDTutorialAdvancedDetail
    Advanced detail panel