Nesting layout objects

When you nest layout objects, you can pass query result information from a higher level object to a lower level object. Because you have the ability to pass this information, you can use nested layouts to display more detailed information that relates to a specific data value.

About this task

For example, for each box in an employee Organization chart, you could also display a bar chart with the salary history for that particular employee.

To nest one layout object within another layout object:


  1. Double-click the layout to display the contents of its data template.
  2. The canvas for that data template folder opens in the editor window.
  3. Select the new layout object from the Palette view. Insert the new layout object in the editor window. The [layout name] Wizard opens. Specify the name of the query that will be used to obtain the data for this child layout. The queries that are listed in the [layout name] Wizard are the ones that you have added to your Queries folder for the visual project.
  4. When you are creating the query that will be used by a child layout object you can do one of the following:
    • Create a query that references the parent layout object's query results using a query parameter. By referencing the parent query results, you can specify how to display your child layout.
    • Create a completely new query that does not reference the parent layout object's query results. If you do not reference the parent object query results, then your child object's complete query results set will display for every row of the parent object's query result set.
  5. After the new layout object is inserted, you can modify its properties as you require.
  6. Click Runtime in the editor to view the results.