Share via


How to: Customize a Viewer Using a Configuration Template

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

This topic shows how to customize viewers by modifying a Microsoft code name “Quadrant” configuration template. This is the second topic in the "Quadrant" Advanced Customization Tutorial.

Note

This tutorial assumes that you have already completed the How to: Create a Database from "M" in "Quadrant" tutorial, which creates the PetShop database in an instance of SQL Server by using Microsoft code name “M”.

To customize viewers in "Quadrant" by modifying configuration templates

  1. On the View menu, click Explorer, and then click MSPetShop4. The database opens in a new workpad.

  2. Expand Database, and then expand dbo2.

  3. Double-click Product. This opens a workpad named Product that displays a single table from the database.

  4. On the Data menu, click Column Settings, and then click Image to remove the Image column from the table.

  5. On the Workpad menu, click Save View As….

  6. Set the Viewer Name to Table for Products and click Save.

    This step creates a new view and an associated configuration template.

  7. On the Workpad menu, click Configure. This opens the configuration template of the modified table view for the Product table.

  8. Expand the References section of the newly opened workpad.

  9. Double-click TableColumns. This opens a new workpad that displays configuration data for all columns of the table view for the Product table.

  10. Click the Position cell of the ProductId row and change its value to 6. This will position the ProductId column to be the last in the table view for the Product table.

  11. Click the DisplayName cell of the CategoryId row and change its value to Category. This will rename the CategoryId column of the table view for the Product table.

  12. Clear IsVisible in the Descn row. This removes the Descn column from the table view for the Product table.

  13. On the File menu, click Save Changes.

  14. On the Product workpad, note that the ProductId column is moved to the far right, the Descn column is no longer visible, and the CategoryId column is renamed Category.

In this topic, you have learned how to create a customized view by modifying a “Quadrant” configuration template.

The next topic in this series is How to: Customize a Viewer Using "M".

See Also

Other Resources

"Quadrant" Pet Shop Tutorial
"Quadrant" Tutorials
"Quadrant" Advanced Customization Tutorial
Customizing the "Quadrant" Data Viewing Experience