S-Docs allows you to generate and attach new documents to your current email right from the email page in Salesforce. This is useful if you forgot about certain documents you wanted to send but don't want to exit the email page and start all over.
Add The GenAtEmail Parameter To Your S-Docs Button
To enable the ability to generate and attach new documents to your current email, all you have to do is add the GenAtEmail='true' parameter to the S-Docs button for your object.
Use The Generate New Documents Button
After adding the GenAtEmail parameter to your S-Docs button, you'll see a Generate New Documents button appear on the email page whenever you click the S-Docs button that you edited. You can click it to select more documents to generate and automatically attach to your current email.
Note that the S-Docs button comes prepackaged for certain standard objects, such as the Contact object in the example above, and that this button cannot be edited. If you wish to enable the Generate New Documents on Email Page feature for these objects, you will need to create a new custom S-Docs button and add it to your page layout, and remove the prepackaged button from the page layout (if it's already there). Visit the Quick Install & Configuration Guide to learn about how to create an S-Docs button.
For information about other apex parameters that you can use to modify your S-Docs button, click here.
Founded in 2010, the S-Docs team is led by a former Director and Technical Architect from Salesforce and is comprised of experts in Salesforce and document solutions. S-Docs is now used by thousands of global subscribers from all industries with a multitude of use cases, but they all share one key theme: The need for a powerful yet easy-to-use native solution. We are proud that they have made us the #1 native document generator and put us in the top 1% of all apps on the Salesforce AppExchange.