Support Portal ContactGet in touch

Dialog’s in Dynamics CRM

   Words by CRM Consultancy

   on 10/02/2017 14:00:00

Dynamics CRM manages information and data entry using different Forms per Type of Record – so we have a Contact Form that controls the format and way that a user might enter information about a Contact for example.

This provide a great flexible way of allowing a User to enter information about a record, how this is fundamentally ‘free-form’ in that the Layout of the Form does know anything about why the User might be creating or editing that Contact.

So this is more of a system-functionality approach over a process-drive approach.

However, say we want to impose a structured process in our CRM that forces the User to work through a number of Steps in a more Wizard like approach?  Well, in CRM 2011 and beyond, we might consider using a Dialog Process for this kind of requirement.

Why might Dialogs be useful..

Dialogs are particularly useful for a process with strict validation or compliance steps – so, say in the Property Industry, if we imagine a scenario where we are putting a Property On-Market this will be subject to a number of steps:

  • Confirm the Asking Price we have specified, and the Pricing Strategy
  • What Date did the Property formally go on the Market
  • Which Agents or Auctioneers are we using to Market the Property
  • Number of Days On the Market before we should consider a Review

These details are key to the process, and so must be enforced as part of putting the Property on the Market in a compliant fashion. 

With this in mind, we have various options in CRM for how to implement this process and Dialogs can be a good option, as simply using a Form might result in some of the details for this process being missed whereas we can enforce these when using a Dialog.

Why might Dialogs not be useful!

Dialogs in CRM are good but also bad in using either a Modal Dialog or other Pop-up to implement their functionality – this is not the best experience for a Web Application and so not the most seamless User Experience.

To this end, from CRM 2013 and 2015, Dynamics CRM introduced Business Process Flows which other some elements of this functionality but from directly in the Form itself rather than a separate Pop-up.

These offer a better User Experience, however the functionality is not quite as integrated into the CRM Workflow Engine as Dialogs are, and so do quite offer the same level of bespoke functionality that a Dialog does.

So as with many things in Dynamics CRM, there are various tools available to us for implementing a particular Requirement and the key is using the right tool for the requirement at hand.

(we also have the option to embed custom screens into Dynamics CRM to offer deeper customisation, but that is another story!)

How to Create a New Dialog

The following guide is aimed at walking us through creating a new Dialog in CRM, taking the simple example of a Dialog that provides a Salesperson with a structured way of updating the Contact Details for an existing Lead.

Navigation

1. From the navigation menu, select Microsoft Dynamics CRM > Settings > Processes.

2. Once the default My Processes view is displayed, click the New button from the menu.

Creating the Dialog

1. Provide a unique Process Name for the new dialog.

2. Select Lead as the Entity.

3. Select Dialog as the Category.

4. Leave New Blank Process as the selected Type.

5. Click OK.

clip_image002

The Create Process window closes and a new Information window appears with the General tab selected.

clip_image002[4]

Creating the Prompts

Dialogs operate as a series of pages, much like a common setup wizard. Each page should contain specific functions that flow to subsequent pages.

1. Click Add Step.

2. Select Page.

clip_image003

clip_image004

3. Choose a unique name for the page (Page 1).

4. Select the row beneath the Page description and click Add Step.

5. Choose Prompt and Response from the drop down list.

6. In the new available field, provide a description for the Step.

7. Click Set Properties.

clip_image005

clip_image0078. Provide the Prompt Text in the text area. This will be the text displayed to the CRM user.

9. Provide a Tip Text in the text area. Tip Text provides additional information for the selected prompt.

clip_image009

clip_image01110. In the Response Details section, choose Single Line as the Response Type for the prompt. The Response Type correlates to the type of information being captured. A phone number is a single line of text, so Single Line is the appropriate choice.

clip_image01211. Choose Text as the Data Type for the prompt. While business phone is a number, it is not considered a numeric value (you wouldn’t perform arithmetic on it), so it is stored as text.

12. Leave Log Response checked as Yes.

13. Leave Default Value blank.

clip_image013

14. Click Save and Close.

clip_image014

15. Repeat steps 11-21 for Mobile Phone and Email.

clip_image016

Now that we’ve captured some data, let’s create a prompt for the lead’s preferences.

16. Create a new preferences prompt with Prompt Text.

17. In the Response Details choose Option Set from the Response Type list

18. In Data Type select Integer.

19. Leave Log Response checked as Yes.

20. Leave Default Value blank.

Creating Prompt Responses

Now we need to set up the preference options. Since this is an actual field within CRM the response options will need to relate to the CRM options. Here are the available CRM preference fields:

clip_image018

In our example, we do not want the CRM user to choose the Any option, so we will omit that as an option. It is important to remember that the values in the prompt must match the CRM values.

1. Click on the clip_image019 icon to add a new response value.

2. In the Value field, enter 2 as the value.

3. Enter Email as the Label value.

clip_image021

4. Repeat steps 28-30 for Phone, Fax and Mail incrementing the value by 1 each time.

clip_image023

5. Click Save and Close.

clip_image014[1]

Update the Lead Record

At this point, we have created the prompts for the CRM user. Next we need to create a step to update the lead record.

1.  Click on the Page and select Add Step

2. Choose Update Record.

3. Provide a description for the update step.

4. Click Set Properties.

clip_image025

clip_image027
The Update Lead page is displayed, showing the lead entity properties. Here we will map the CRM user responses to the lead record fields.

clip_image0295. Click in the Business Phone field.

6. In the Form Assistant select Look For > What is your Business Phone Number.

7. Click Add.

8. Click OK

9. Repeat steps 37-40 for Mobile and Email.

clip_image030

10. Under Contact Method click on Preferences.

11. In the Form Assistant select Look For > How would you prefer us to contact you.

12. Click Add.

clip_image03213. Click OK.

14. Click Save and Close.

clip_image014[2]

Activate and Run Dialog

Once a dialog is finished, it will need to be activated. A dialog cannot be run until it has been active.

1. From the navigation menu at the top choose� clip_image033 and confirm the activation process at the prompt.

2. clip_image035Navigate to the Leads entity.

3. Click on the ellipsis.

4. Choose Start Dialog.

5. Select the dialog that was just created.

clip_image0366. Click Add.

clip_image038

Voila!  This gives us the completed Dialog Process within CRM.

This is a simple enough example but hopefully shows how Dialogs can be taken into other CRM Requirements.

With the Ribbon being less of a ‘thing’ from CRM 2013 onwards, and Modal Pop-ups being a slightly regressive UI choice – Dialogs are not always the best solution (and crucially, are not available in Mobile), and Business Process Flows can be a much slicker User Experience, however it is always useful to be aware of this functionality in Dynamics CRM and know when it might be the best option for tackling a particular requirement.

Further Reading

MSDN - Use dialogs in Dynamics 365 for Guided Processes

https://msdn.microsoft.com/en-us/library/gg334463.aspx 

Dialogs – good training article for Dialogs

https://crmbook.powerobjects.com/system-administration/processes/dialogs/

The Power of Dialogs in CRM 2011 – useful PDF that looks at comparing Dialogs in CRM 2011 over the previous version of CRM v4, which is useful in showing where the Dialogs functionality in Dynamics CRM has come from.

https://rsmus.com/pdf/ws_dynamics_crm_power_dialotgs_3272012.pdf

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

CRMCS Quick Start Guide: How To Produce a Microsoft Teams Live Event Dynamics 365 Marketing: Lead Scoring and Sales Acceptance Designing and Developing Microsoft Power Apps Portals Thank You for Attending CRMCS’ Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Thank You for Attending Our Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Webinar: Discover How CRMCS Have United Dynamics 365, SharePoint and Microsoft Teams To Create Sales Excellence Ignite your workflow by adding DocDrive365 to Office 365 The CRMCS guide to everything you need to know about integrating Teams with Dynamics 365 Saving Time By Keeping Documents In One Place TDE Database Encryption with On Premise Dynamics The Key to Successful Compliance in 2020 Part 2: Let’s get GDPR Compliant with Microsoft Power Automate Top 3 Essential Tips for Remote Working Dynamics 365 Marketing: Top 5 Best Features Dynamics Day in the Life - Puma Investments Can you use Teams to amplify collaboration in Dynamics? Part 1: Using a Scheduled Power Automate to Trigger Expiry Date Reminders The secrets of successful document collaboration in Dynamics CRMCS launches new AppSource approved DocDrive365 Dynamics Day in the Life - Moneypenny Release Management Add the App to Dynamics DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Building a New Scheduled Process using Flow
  • "Paul has made a real difference to how my team of 24 people record and store valuable customer data and sales opportunities. Highly recommended."

    James, Operations Director

  • "Understanding your business allows us to advise when to implement aspects of CRM and, likewise, when not to."

    Paul McQuillan, Managing Director

  • "Dynamics 365 and CRMCS have made a real lasting difference to our business, allowing us to replace older systems that were holding back our performance."

    Grahame, Chief Operating Officer

  • "James worked well with us to help connect CRM with Outlook and relate how this might benefit our team using CRM for Property Care."

    Natalie, Property Care Supervisor

  • "Matt was really good with helping us run User Testing on the new Compliance Module of our CRM System."

    Tom, Compliance Administrator

Prefer to go old-school?

Write to us using the below addresses.

Head Office
CRM Consultancy
61 Oxford Street
Manchester
M1 6EQ

London Office
CRM Consultancy London
Grosvenor Avenue
London

Content © CRM Consultancy.