Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Displaying Close Opportunity Dialog based on the value of a field

(0) ShareShare
ReportReport
Posted on by 25

Hello,

I was wondering if there was any way to display the Close Opportunity Dialog box based on a specific value in a field in Opportunity.

I have a picklist field that I have added to the Opportunity entity and form, and I would like to trigger the Close Opportunity dialog box if the field is set to a specific value.

If anyone has any idea if this is possible, and how it can be done, it would be greatly appreciated.

Thanks,

Dhruv

*This post is locked for comments

  • dhruvm Profile Picture
    25 on at
    Re: Re: Displaying Close Opportunity Dialog based on the value of a field
    Thank you for your response, Mitch. I will look into it and see if it solves my needs. Thanks, Dhruv
  • Mitch Milam Profile Picture
    on at
    Re: Displaying Close Opportunity Dialog based on the value of a field

    Dhruv,

    There is an internal JavaScript function called: complete();

    that you can put into your picklist's OnChange event to do what you wish.

    It's totally unsupporte so you will have to deal with any side-effects on your own.

    Mitch

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans