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?
Solved! Go to Solution.
Check this out with code to utilize... https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Create-new-parent-record-with-child-records-...
Thanks!
Drew
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...
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?
Thanks,
Drew
@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-...
Thanks!
Drew