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

Announcements

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

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,323 on at

    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

      

  • xtian Profile Picture
    5 on at

    Thank you Wahaj!

    I will go through the articles you have provided.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans