CRM2015: Qualifying lead without creating an Opportunity

A requirement has popped up from a client in which they would like to qualify a lead but not create an opportunity. This was easier before CRM 2013 as it used to have the Qualify Lead Dialog in which a user to control which records are to be created.

The QualifyLeadRequest Class can help us out here with the above requirement, as part of the parameters allow you to specify whether you would like to create the contact, account or Opportunity.

public bool CreateOpportunity { get; set; }

This should be obviously run at PreValidation..



Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.