Notifications
Announcements
I'm having a little trouble getting a child table in the Dataverse to link to the Parent record. When submitting a form in PowerApps, what would be the way to go about linking the child to the parent record?
Hi @duncant
Please see the following post as I think this is what you are looking for. Please reply if you are asking something different. https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Creating-a-new-record-in-a-related-table/m-p/936820#M11643
Hope this helps. Please accept if this answers your question or Like if helps in any way.
Thanks,
Drew
Thank You @dpoggemann.
My issue now lies with getting the autonumber from the created Parent entity.
Hi @duncant,
What do you mean on this question, sorry, don't understand... You will have the GUID on the child entity as a lookup to the parent, not the autonumber field of the parent n the child.
Am I misunderstanding your question?
@dpoggemann correct. I will have a GUID for the child record(s), but I will not have the Parent GUID. I guess my question is how do I get the Parent records GUID?
Check this out with code to utilize... https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Create-new-parent-record-with-child-records-using-a-collection/td-p/461804
Thanks!Drew
I am looking to do the same thing and I keep seeing this link. But you are creating a new parent record and then getting the GUID using the 'lastsubmitted'. For me the parent record I am trying to link to is not the last submitted. It is just the currently selected record on the parent editform on the screen,
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268