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

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,321 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

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 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans