Hi Community,
I’m building a KYC form using Power Pages, and I need some help designing the data model and form behavior.
Here’s what I’m trying to achieve:
I have two Dataverse tables:
BasicDetails – stores the user's basic personal information.
Documents – stores the user's documents (like ID proof, address proof, etc.).
There is a one-to-many relationship between BasicDetails and Documents (one BasicDetails record can have many Documents).
I want to create a single form on Power Pages that allows the user to:
First, upload one or more documents.
Then, enter their basic information.
Finally, click a single Submit button that saves everything — ensuring the documents are properly linked to the BasicDetails record via the relationship.
My questions:
How can I design this form so that the documents can be submitted first but are still associated with the main BasicDetails record upon submission?
Is it possible to temporarily store the documents and link them after the user fills in their basic info?
How should I handle the primary key linking between the two tables during form submission?
Any guidance or recommended approach would be greatly appreciated!
Thank you.