Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications

How to Save Time by Making a Repeatable Dialog in CRM 2011

Post Author: Joe D365 |

Dialogs in Dynamics CRM 2011 provide a way to allow users to collect and process information using step-by-step scripts. They are typically run for one record at a time, as you see in this sample dialog: How to Set a Read-Only Field and Capture a User's Response Using a Dialog. However, in this blog we will show you how to make CRM dialogs loop so the user can repeat the same process without having to close the dialog and start a new one.

At a high level the steps are:

  1. Create a dialog
  2. Add a step that asks the user if they would like to repeat the process
  3. Call the same dialog again as a child dialog

To demonstrate what this looks like, we'll use a simple scenario where we have Education records that are associated to a Contact. A customer representative asks what education a Contact has received. Using a repeatable Dialog, a user captures all responses in one area without leaving the Contact record's main view.

  1. Create a new dialog by clicking on Settings, then Processes under Process Center. Then click on the New button to create a new Dialog.CRM 2011 repeatable dialog
  2. Ensure that you select Dialog for the category and then click OK.
  3. The Dialog designer will now be displayed. Select the line below Steps, then click Add Steps and select Page. Enter a description, then select the line below Page. Click Add Steps and select Prompt and Response.How to Save Time by Making a Repeatable Dialog in CRM 2011
  4. Click on Set Properties. The Define Prompt and Response page will be displayed. For this example, we will capture three responses: School Name, Degree and Year.How to Save Time by Making a Repeatable Dialog in CRM 2011
  5. Click Save and Close. Click on Add Step and select Prompt and Response. Repeat for all three questions.
  6. Click on the Page section, which should highlight the entire section, then click Add Step and select Create Record. Select the Education record, then click Set Properties and map the responses entered. Click Save and Close.How to Save Time by Making a Repeatable Dialog in CRM 2011
  7. Click Add Step and select Page. Enter a description and then select Add Step and select Prompt and Response. Click on Set Propertiesand fill out as depicted below.How to Save Time by Making a Repeatable Dialog in CRM 2011
  8. Select the Page section for Repeat and click on the Add Step and select Check Condition. Se the condition to the following.How to Save Time by Making a Repeatable Dialog in CRM 2011
  9. Select under the Check Condition and click on Add Step and select Link Child Dialog. Note: You will notice that when selecting the lookup button to select the child dialog, it will not display this Dialog. This is because we haven't saved the Dialog and we haven't checked the As a child process.
  10. Check the As a Child Process at the top of the dialog and then click the Save button.
  11. Now, use the lookup button to link this Dialog. From the list select this Dialog and click OK.

    You should now have the following Dialog steps.

    How to Save Time by Making a Repeatable Dialog in CRM 2011

  12. Once all changes are made, Activate the Dialog so it will be ready for use.

Now from the Contact record select the Dialog. After recording the three questions and creating the Education record, the Dialog will ask if you wish to repeat. If set to Yes, the Dialog will automatically repeat.

As you can see can, you can save time using Microsoft Dynamics CRM 2011 by making Dialogs repeatable. If you'd like to learn more on the topic of Dialogs, here's a good resource on the power of Processes in Microsoft Dynamics CRM.

Happy CRM'ing!

By Joe D365
Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.

5 comments on “How to Save Time by Making a Repeatable Dialog in CRM 2011”

  1. This used to be one of my favorite tools for quick data entry, but around 9 months ago, the behavior changed that prevented this working. I've found that the data entered on the initial dialog is no longer getting removed when going to the looped child dialog on the next page (so the child fields are pre-populated with whatever you entered previously). This wasn't always the case...I've experienced this on multiple machines on multiple environments, all CRM Online (it started with 2011 Online and has continued with 2013).
    Have you ever experienced this? Any thoughts on the cause?

    1. I have the same problem. I compile the dialog the first time and when I choose to compile it a second time the CRM show me the fields already compiled with the data of the first compilation.

      I tried also with two same dialogs (like "Create Education Entries 1" and "Create Education Entries 2") setting a loop each other but nothing change... incredible!

      So I tried this:

      • for the first dialog ("Create Education Entries 1") I choose for all response "No" for the bit "Log Response".
      • for the second dialog ("Create Education Entries 2") I choose for all response "Yes" for the bit "Log Response".
      Only in this case in the second dialog I see all the fields empty.

      I cannot find the way to use only one dialog.



PowerObjects Recommends