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

Open custom form using custom button

(0) ShareShare
ReportReport
Posted on by 5

Here's my scenario:

I have two custom entity, Vehicle and Drive. 

When I open a Vehicle record, I want to have a button on top of the form. When I click the said button it will open the Drive form and should auto populate some fields from Vehicle.

Please guide me on how to achieve this.

Thanks in advance.

  • xtian Profile Picture
    xtian 5 on at
    RE: Open custom form using custom button

    Thank you Wahaj!

    I will go through the articles you have provided.

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,321 on at
    RE: Open custom form using custom button

    Hi,

    Thank you for your query.

    You can add a button using Ribbon Workbench and bind a Java Script command to open the form.

    Here is how you can add a ribbon button and javascript action:

    Creating a Ribbon Button Using Ribbon Workbench to call a JavaScript action Â· BGBS Portal (briteglobal.com)

    In your JavaScript function, call Xrm.Navigation.openForm to launch the new form, to set fields, data can be passed as form parameters:

    openForm (Client API reference) in model-driven apps - Power Apps | Microsoft Docs

    Set field values using parameters passed to a form (Developer Guide for Dynamics 365 Customer Engagement) | Microsoft Docs

      

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans