Announcements
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?
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.
@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!
@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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224