web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Mitch Milam Profile Picture
    on at

    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

  • dhruvm Profile Picture
    25 on at
    Thank you for your response, Mitch. I will look into it and see if it solves my needs. Thanks, Dhruv

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans