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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Get triggering lookup field on quick create form in javascript

(0) ShareShare
ReportReport
Posted on by 5

Hi, 

Does anyone know if its possible to get the lookup field that a quick create form was launched from in javascript. 

I know I can get the triggering entity from the below function but want to know if I can also get the field that was used. 

Xrm.Page.context.getQueryStringParameters()

The context is that I have an entity which has multiple lookups to contact, I want to dynamically set a contact type and display different fields in the quick create form based on the contact type. I know I could add a contact type for the user to select but don't want to go down that road. 

I have a feeling what I want to do is not possible but thought I would put it out there and see if anyone has a solution.

Cheers

JB

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Jb999,

    Yes, there is no supported way to get this in javascript. Here is some discussion about unsupported way:

       

    community.dynamics.com/.../getting-parent-entity-information-on-quick-create-form-using-javascript

  • Jb999 Profile Picture
    5 on at

    Thanks for the reply Steve and confirming my suspicions. Seems like a bit of an oversight really. Looks like I need a new approach :(

    Cheers

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans