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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans