Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Settings for lead qualification

Posted on by 78
I wonder if someone can help me with this question.
 
I have change settings for lead qualification so it won´t automatically creates new accounts, contacts and opportunities, when a user qualify a lead.
So fa so good, but when the user will qualify a lead, a window shows up with alternatives that has default-settings:
 
Sorry, is in swedish, but I´ll write.
 
Subject: Qualify lead
Convert this lead as qualified and create following posts:
 
Account: Yes 
Contact: Yes
Opportunity: No

 
Does anyone know how I can change the defaultsettings in the window I added?
  • Baxafer Profile Picture
    Baxafer 9 on at
    Settings for lead qualification
    To change the default settings for the lead qualification process in your CRM system (most likely Microsoft Dynamics 365, based on the terminology you're using), you need to adjust the system settings or customize the lead qualification dialog.
     
    Here is an example of the JavaScript code you might use:
    function setDefaultLeadQualificationOptions() {
        // Assuming the dialog fields have IDs or names that you can target
        var accountCheckbox = Xrm.Page.getAttribute("accountCheckboxId");
        var contactCheckbox = Xrm.Page.getAttribute("contactCheckboxId");
        var opportunityCheckbox = Xrm.Page.getAttribute("opportunityCheckboxId");
        if (accountCheckbox) {
            accountCheckbox.setValue(true); // Default to Yes
        }
        if (contactCheckbox) {
            contactCheckbox.setValue(true); // Default to Yes
        }
        if (opportunityCheckbox) {
            opportunityCheckbox.setValue(false); // Default to No
        }
    }
    // Register the function on form load
    Xrm.Page.data.entity.addOnLoad(setDefaultLeadQualificationOptions);
     
  • Verified answer
    Cui Hao Profile Picture
    Cui Hao on at
    Settings for lead qualification
    Hi,

    I'm afraid that's impossible.
    The qualify lead dialog is oob and currently you can't customize the 'Qualify Lead' dialog.
    If you want to change it, you need to hide it and use JavaScript or Html to develop a new custom dialog box.
    https://debajmecrm.com/custom-qualify-lead-button-on-dynamics-365-form/


    Best regards,
    Cui Hao

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans