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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Fieldless Component
Power Apps
Answered

Fieldless Component

(0) ShareShare
ReportReport
Posted on by 46

I have a use case to create a component that would enable users to create related records based on the current record. All I really need to do this is the entity guid. Is there a way to create a component that does not have field bond to it? 

I have the same question (0)
  • Danish N. Profile Picture
    186 on at

    Hi @John742 

     

    To create a code component for related records you would want to use "dataset" as the template when initializing the pcf project. There is no binding to an attribute but rather you would bind to a subgrid when you use "dataset" as a template.

     

    Look at this control where subgrid is transformed to appear as a contact cards --> https://pcf.gallery/contact-cards/

     

    You could also add buttons and additional screen inside the same component that can enable creation of related records (if you don't want to use OOB features - not sure why you don't want to do that though).

     

    Hope this helps.

  • John742 Profile Picture
    46 on at

    @PowerMaverick  Thank you that does help. I have been looking into the dataset type more and was curious if you would be able to add buttons to it. The reason I do not want to use OOB is because I will be creating several related entities based on one another which include a N:N relationship. Thanks!

  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    @John742 , alternatively you can use "field" type component but not implement any logic that does anything with the attribute so this field will be used as a usual placeholder.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 393

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 271 Super User 2025 Season 2

Last 30 days Overall leaderboard