I have a SharePoint Online List and InfoPath 2013 Web Form And I would Like To Click A Button Control To Request An Authorization Email

Thomas Turner
Thomas Turner used Ask the Experts™
on
I have a SharePoint Online List and InfoPath 2013 Web Form. What I would really like to do is add a control (button) to email the Active Directory users I have selected in the (Person/Group Picker).  Is this possible?

If so, I would like the email to auto generate with information from certain fields within the form.

So the email will look something like this.

Hi <User from Person/Group Picker>

Do you authorization the generation of an account for <FirsName_Field> <LastName_Field>

If so, please replay to XXX@XXX.com



Please let me know if you require any more information.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Clay FoxDirector of Business Integration

Commented:
I am not sure what all is possible with Office Online, but standard InfoPath you would create an email submit data connection.  Start with a dedicated field which is a list of the emails in the to field. The format needs to be email1@domain.com; email2@domain.com; etc.  So separated with a semi-colon.
then set your subject and use a concat function to craft your body of the email, the new lines is a bit trickier.
another option is to create a new view of the email and switch to it before the email.

you will have to do some experiments to see what you are happy with.

SharePoint workflow may be the best option using promoted fields.
I ended up using SharePoint workflows.

Author

Commented:
Workflows is Microsoft recommend

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial