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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Move opportunity record creation button in contact related view

(0) ShareShare
ReportReport
Posted on by 5

Hey Everyone,

On the contact record we can go to related dropdown and go to opportunities tab and from there create a related opportunity record that auto populates some fields through its 1:N relationship.

I wanted to know if we can move that "New Opportunity" button to the contact main form's command bar.

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi kuzog,

    This is not possible out of the box. You need to extend the command bar of the contact.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi kuzog,

    Ways of extension are: On the click of a button open

    1. HTML
    2. Custom Page
    3. Canvas Ap

    Perfil values by using your code. Add similar controls. Create records record using the button...

  • Inogic Profile Picture
    703 on at

    Hi,

    On the ribbon workbench of contact or any entity, buttons are only related to that entity.


    Ideally, you should not add buttons that are related to child entity on the parent entity ribbon.


    However, if you still want it then you can add a new button on main contact form and on click of that button register one javascript where you need to call a function inside which you would need to use the openform function to open a new opportunity form and set the lookup value of contact so that the opportunity and the contact records would be related, you can refer this link to know more on openform function.

    Hope this helps.

    Thanks!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans