Hi,
After I click the a button in my app I want it to execute a couple commands:
- Update a SharePoint list (with info from a form that the user fills out)
- Inform me what have been done via email
- Inform the user what he have done via email
- navigate to the next screen
All these things work with my code except the emails. Where the email is supposed to take info from the forms they are just blank, but when I try these codes separately they work just fine. Thanks for help in advanced!
Here is my code for the button:
Office365Outlook.SendEmailV2("fredrik@arendale.com", "New Packaging design request: " & DataCardValue1.Text & ", from " & User().FullName, "Title: " & DataCardValue1.Text & "<br>" & "Project number: " & DataCardValue6.Text & "<br>"& "Created by: " & User().FullName & "<br>" & "Requested by: " & DataCardValue2.Text & "<br>" & "Problem description: " & DataCardValue3.Text);
SubmitForm(Form1);
Office365Outlook.SendEmailV2(User().Email, "Packaging design request: " & DataCardValue1.Text & "/" & DataCardValue6.Text, "Hello " & User().FullName & "," & "<br><br>" & "You have registered ...<br><br>" & "Best regards <br> Fredrik");
Navigate(Screen2,ScreenTransition.Fade)