Link to home
Start Free TrialLog in
Avatar of Thomas Turner
Thomas TurnerFlag for United States of America

asked on

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

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.
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of Thomas Turner
Thomas Turner
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Thomas Turner

ASKER

Workflows is Microsoft recommend