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

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 22 Super User 2026 Season 1

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 22

#3
Encore Business Solutions Profile Picture

Encore Business Sol... 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans