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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to add custom button in lead form?

(0) ShareShare
ReportReport
Posted on by 285

Hi, I am using D365 Sales Online and I want to add a "create" button for a custom entity. How can I do it? 

Add a new Create button in Lead form ribbon and load it with JavaScript???

If yes then what javascript is required? new to the development please help.

Can anyone please provide any tutorial or steps on how to achieve it?


In simple words, as soon as the user changes Lead Status to sold I want them to create a new custom order in dynamics. How can I achieve it? 

I have the same question (0)
  • Suggested answer
    Sumeet_MSFT Profile Picture
    Microsoft Employee on at

    Hello Idz,

    You can Ribbon workbench of Dynamics 365 to create button on the Lead Entity and as per your requirement you can create a web resource with the Jscript show and hide the button.

    You will need to download the solution and import it in your Dynamics instance.

    https://www.develop1.net/public/rwb/ribbonworkbench.aspx

    Please find the article to get started with Ribbon Workbench

    https://ribbonworkbench.uservoice.com/knowledgebase/articles/71374-1-getting-started-with-the-ribbon-workbench

    Hope this helps.

    Best regards,

    Sumeet_MSFT

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • nidnani Profile Picture
    285 on at

    Hi Sumeet_MSFT, I am using d365 Sales online. Will this work for it?

  • Suggested answer
    Sumeet_MSFT Profile Picture
    Microsoft Employee on at

    Hello Idz,

    Yes it will work on Dynamics 365 Sales App.

    Hope this helps.

    Best regards,

    Sumeet_MSFT

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans