A Dialog Project Form is a small DriveWorks Project that is shown through a Specification Host Control on a form. The Specification Host Control is shown as a dialog on the form.
These dialogs can be used to manipulate data within the CPQ template or to simply view something. What they do and are used for is up to you.
This Help File topic will take you through the process of adding one to your View.
The easiest way to create a new dialog Project is to take a copy of an existing one.
The new Dialog Project needs to be added to CPQ so that it can be referenced in the CPQ solution.
Adding it to this table allows the Project to be selected in drop-downs inside the CPQ solution.
Your Dialog Project now needs to be added to a View as a button. When this button is pressed, your dialog form will appear.
|DriveWorks Specification Macro to Run||NewSpecDialog|
|DriveWorks Form to Show||(Leave blank)|
|DriveWorks Project to Run||(The name of your Dialog Project)|
It is important to test your dialog form works.
In the standard ListView Project there are several Specification Macros that can view a Dialog Project Form. Each one will open the Dialog in a different mode.
This Macro sets a constant in the ListView Project to be "Adding". This Macro should be used when you want to add data to a View or if you just want to View a Dialog Form.
This Macro sets a constant in the ListView Project to be "Editing". This Macro should be used when editing data in a View. For example, editing a customer in the Customers View.
This Macro shows the same Form as NewSpecDialog but it will be populated with the selected items values.
This Macro sets a constant in the ListView Project to be "Deleting". This Macro should be used when deleting data in a View.
When this Macro is used, the Delete form is displayed in the Dialog Project. This will only occur if you are using a Dialog Template Project.