Defining drag and drop
CSRs can drag and drop the call control panel to any location on the Pega desktop during a call interaction. The default mechanism of the drag-and-drop feature is HTML drag. If you want to use jQuery drag instead of HTML drag, you can override the default settings of the HTMLDrag and JQueryDrag when rules in your application layer.
HTML drag is the drag-and-drop functionality for HTML 5. In jQuery drag, you use a third-party jQuery to move the position of the call control panel. HTML drag is for use in development and staging environments because it is faster than jQuery drag. jQuery drag is for use in production environments because it provides an improved user experience during the drag-and-drop process. Depending on your business requirements, enable the appropriate drag type.- In the navigation pane of Dev Studio, click .
- To enable or disable HTML drag, in the Name column, click the Filter icon, and then, depending on the drag type that you want to enable or disable, in the Search Text field, enter HTMLDrag.
- Click HTMLDrag.
- On the Advanced tab for the rule, specify whether you
want to enable to disable the HTML drag type:
- To disable HTML drag, set the rule to evaluate to false.
- To enable HTML drag (if you have disabled it previously), set the rule to evaluate to true.
For more information about the configuration of when rules , see Creating a when rule. - To enable or disable jQuery drag, in the Name column, click the Filter icon, and then, depending on the drag type that you want to enable or disable, in the Search Text field, enter jQueryDrag.
- Click jQueryDrag.
- On the Advanced tab for the rule, specify whether you
want to enable to disable the jQuery drag type:
- To disable jQuery drag, set the rule to evaluate to false.
- To enable jQuery drag (if you have disabled it previously), set the rule to evaluate to true.
For more information about the configuration of when rules, see ">Creating a when rule. - Confirm your updates by clicking Save.
Previous topic Customizing the call control panel Next topic Defining the default position