cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dmonks
Level: Powered On

Access Page Context within a component

Is it possible to access the page context (at least the entity type and guid of the entity) within a field component. I can understand why you may not wish to make it generally available but it would be useful to offer the option to pass it as a parameter option.

 

 

3 REPLIES 3
PowerApps Staff HemantG
PowerApps Staff

Re: Access Page Context within a component

We are evaluating this ask, it would help if you can share some more details on the target scenario ?

 

As a workaround you can evlaute using input configurable properties. 

davallen
Level: Powered On

Re: Access Page Context within a component

Can you share where i would find this example or information? I am also trying to pass the id of the entity that my PCF is embedded on the form. This would be helpful if I want to show a custom visual that requires executing a FetchXml to query the aggregated data.

jdaraz
Level: Powered On

Re: Access Page Context within a component

I would like to see this too.

I have a control bound to a subgrid/dataset. I want to be able to create a new record in that dataset, but in order to do so I need to either:

1. Have the id of the parent entity so that I can use the webapi.

or 

2. Have a way to add a record to the dataset passed to the control.

It doesn't appear that I can do either?

 

Thanks

Jason

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 202 members 4,478 guests
Please welcome our newest community members: