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...
Unanswered

parentFormContext attribute in Primary Control is supported?

(0) ShareShare
ReportReport
Posted on by 10

There is one scenario in which the Entity data is shown in Subgrid which is inside the Quick View form.

On click of Custom New button, there is a requirement to populate the Parent record in lookup of Quick create on which this quick view is present.

So, on click of custom new button I am passing the parameters to quick create form in which the parent record reference is set on lookup field on quick create form.

I am using formContext.parentFormContext.data.entity.getEntityReference() to get the parent record reference. But I was not able to find any documentation regarding parentFormContext. Is it supported code or unsupported. Can anybody help me with that.

Code

pastedimage1660114905686v2.png

Attributes in Primary Control

pastedimage1660114622463v1.png

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

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,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans