Announcements
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.
Thank you Wahaj!
I will go through the articles you have provided.
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:
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
André Arnaud de Cal...
294,219
Super User 2025 Season 1
Martin Dráb
232,980
Most Valuable Professional
nmaenpaa
101,158
Moderator