Hi
I had deep linking working, but now I have a requirement to use multiple screens to cater for a longer form, 1 form with 50 columns spans across 5 screens, with only 2 screens ever being used by the users so I decided I would use the patch function along with the updates function.
This is a canvas app and SPO is the data source.
The data is written to SPO list, my issue is the email which is sent to the user does not include the ID number, so the user is not directed to the completed form, this is my code on OnSelect of my submit button which sends the email but cant get deep linking to work:
Patch(ListName, Defaults(ListName),
Form1_1.Updates,
Form1_2.Updates);
Office365Outlook.SendEmailV2(Form1_1.Updates.ApplicantName.Email, "A request has been submitted by " & DataCardValue7_1.Selected.DisplayName, "Form has been submitted <a href='https://apps.powerapps.com/play/MYURL&RefMgt=" & Form1_1.Updates.ID & "'> Link to submitted form </a> ")
It worked fine when I was only submitting 1 form:
SubmitForm(Form1_3);
Office365Outlook.SendEmailV2(Form1_3.LastSubmit.ApplicantName.Email, "A request has been submitted by " & DataCardValue7_1.Selected.DisplayName, "form has been submitted <a href='https://apps.powerapps.com/play/MYURL&RefMgt=" & Form1_3.LastSubmit.ID & "'> Link to submitted form </a> ")
Also by using the above I could also use the OnSucess property of the form, to alert the user the data had been saved, but using the first function I cannot.
Anyone have any ideas ?