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?
Solved! Go to Solution.
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.
@DanzMaverick 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!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand