Skip to main content

Notifications

Announcements

No record found.

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

Settings for lead qualification

(1) ShareShare
ReportReport
Posted on by 8
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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans