How To: Use Specification Host Controls

The DriveWorks CPQ Template uses Specification Host Controls throughout the template. These are used to nest a DriveWorks Project inside another DriveWorks Project. This is how it achieves the breadcrumb effect.

With this method, it opens the new DriveWorks Project inside the current one. To go back in the breadcrumbs, it simply needs to close any open Specification Host Controls and return to the correct point.

Specification Host Types

There are two ways a DriveWorks Project can be shown in a Specification Host Control.

These are:

Embedded Specification

Dialog Specification

Embedded Specification

An Embedded Specification appears full screen in the current DriveWorks Project and is added as a level in the list of breadcrumbs.

For example, Administration is an Embedded Specification of Dashboard. This Project is shown inside the Dashboard Project as a full screen Specification Host Control.

Specification Macros

In the DriveWorks Projects there are Specification Macros that are used to run Projects in this mode. These are located under a Specification Macro Category called Manage Specification Host.

These Specification Macros used for this mode are:

NewSpec

EditSpec

DeleteSpec

CopySpec

Dialog Specification

A Dialog Specification appears as a dialog over the existing DriveWorks Project. When this dialog is shown an overlay appears disabling Controls behind.

Dialog Specifications do not add to breadcrumbs. They are used as editors for the current CPQ View. For example, the Customers View will open CustomersAddEditDelete as a Dialog Specification.

Specification Macros

In the DriveWorks Projects there are Specification Macros that are used to run Projects in this mode. These are located under a Specification Macro Category called Manage Specification Dialog.