Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How to Determine the Entity Type When Opening a Quick Create Form from Another Entity in JavaScript

(1) ShareShare
ReportReport
Posted on by

Hello everyone,

I’m working on a Dynamics 365 project and need to determine the entity type of a Quick Create form that was opened from a lookup field on another entity's form.

Here’s the scenario: I have two entities, Entity1 and Entity2. On the Entity1 form, there is a lookup field that allows users to create a new record of Entity2. When a user clicks on the “Create New Entity2” option from the lookup field on the Entity1 form, how can I programmatically determine that the Quick Create form that opens is for Entity2?

Is there a way to achieve this using JavaScript? Any help or example code would be greatly appreciated!

Thank you!

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

Product updates

Dynamics 365 release plans