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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Custom Dialog "Close as Lost"

(1) ShareShare
ReportReport
Posted on by 40
Hi All,
 
I need to create a custom dialog to capture certain information while marking Opportunity Lines as "Close as lost". What is the best way to achieve it ?
 
1. Custom Canvas page and then call the page by java script
2. HTML Resource
3. .Net page 
or if there is a better out of the box way to achieve it.
 
Thanks
I have the same question (0)
  • Kunal G Profile Picture
    8 on at
    Custom Dialog "Close as Lost"

    Hi Kaushik,

    The recommended modern approach is option #1 create a Custom Page (Canvas App) and call it via JavaScript using Xrm.Navigation.navigateTo() when the user clicks Close as Lost.
    It gives you a rich UI for capturing additional details (dropdowns, text boxes, reason codes, etc.).

    Xrm.Navigation.navigateTo(
        {
            pageType: "custom",
            name: "new_CustomDialogPage"
        },
        { target: 2, width: { value: 500, unit: "px" }, height: { value: 400, unit: "px" } }
    );
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 101 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans