Creating a record in Dataverse from a redirect link?
I have an external website with all the information regarding a specific business process. I also have a Power Apps Portal page which contains a basic Insert form. The Portal page will be linked and navigated to from the external website, where a user can enter information that will be stored as a new record in Dataverse - simple enough, BUT:
There is a requirement for document upload to sharepoint with the form. I really want to keep the form to one page/one click submit. The sharepoint document location doesn't exist until the record exists, and the record doesn't exist until the user fills out the form and clicks submit.
The answer is complex. You can try using power automate when the user clicks on the external link. Then power automate CDS connector will create a blank record. Then using the guid retrieve the newly created record.
Then you can upload the document.
Havent tried but will work I think.
Hope it helps. ------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
You could create a power automate flow triggered by the insertion of the new record in your dataverse table. That way you will have the record fields available and can easily create the sharepoint document.