Home Search

DriveWorks Pro 23
How To: Add a breadcrumb confirmation dialog to a Custom Item

Send Feedback

How To: Add a breadcrumb confirmation dialog to a Custom Item

This functionality has been designed to prevent users from losing unsaved data when clicking a breadcrumb that would otherwise close the custom item.

This functionality can be tested by creating a new Custom Item and adding it into the implementation, as the Form Template contains this functionality by default.

Follow the steps below to implement this in your Project:

  1. Create a new Project and add the CPQ-CustomItem Form Template.

    This Project will be used to copy various functionality into the existing Project.

  2. Create a new form called BreadcrumbConfirmation in the existing Project.
  3. Copy the controls from the BreadcrumbConfirmation form (in the new Custom Item Project) into the existing Project.
  4. Copy the Overlay and ConfirmationFrame form controls (from the Main form of the new Custom Item Project) onto the Main form in the existing Project.
  5. Copy all of the Macros within the Breadcrumb folder (in the new Custom Item Project) into the existing Project.
  6. Create a new Constant called DWConstantShowConfirm in the existing Project.
  7. Navigate to the location created for the new Custom Item Project.

    Copy the contents of the <Template Name> CPQ-CustomItem\UI folder into the equivalent location of the existing Project.

    Some of the existing files will need to be overwritten.