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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Ability to pass both a...
Power Apps
Answered

Ability to pass both a dataset and property into PCF component

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Curious if this feature was under consideration. I have a scenario where I need information from the parent entity, while also passing data from a related subgrid. Unfortunately, i can only pass a dataset or property in my manifest, a mixture of the 2 seems to make them not discoverable.

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @davallen ,

    This is possible, I am doing it currently with a PCF component I am working on.

    Am passing in a dataset and 3 SingleLine.Text properties. Here's what my manifest looks like:

    <data-set name="viewName" display-name-key="View Name"></data-set>
    <property name="startDateField" display-name-key="Start Date Field" description-key="Start Date Field" of-type="SingleLine.Text" usage="input" />
    <property name="endDateField" display-name-key="End Date Field" description-key="End Date Field" of-type="SingleLine.Text" usage="input" />
    <property name="parentEntityField" display-name-key="Parent Entity Field" description-key="Parent Entity Field" of-type="SingleLine.Text" usage="input" />

    Hope this helps.

  • davallen Profile Picture
    Microsoft Employee on at

    @Anonymouswhat is the parententityfield? Are you passing the guid of the parent record? 

     

    I am trying to figure out how to get this passed to the PCF component also.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    @davallen no it’s not. It’s what I was trying to do but doesn’t seem possible currently.
  • davallen Profile Picture
    Microsoft Employee on at

    @AnonymousI found from another thread that the context.mode.contextInfo.entityId property exists that contains the id of the parent entity. It was stated that this was not a supported method and the d.ts does not have a properties for this. But it seems like an important feature to have and provides a workaround to accomplish a lot more scenarios with PCF controls.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Cool thanks @davallen will check this out later.

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard