When working with PDF forms in offline mode via e-mail, you may use advanced synchronization features. Such data as sender’s e-mail, mail subject, date and other could be exposed to the form. So called “Staff only part” of form may be filled-in automatically. To enable this feature all you need is a simple built-in script and couple of read only fields in the form.

Advanced PDF form features SharePointLet’s say, we wish to have sender’s e-mail address and subject to be stored in the form. Then we need to add corresponding fields in the form: EmailFrom and EmailSubject.




Now it’s time for script.

if (form.IsSubmitFromEmail())
data.resolveNode("EmailFrom").value = form.SourceParams["EmailFrom"];
data.resolveNode("EmailSubject").value = form.SourceParams["EmailSubject"];

GAdvanced PDF form features SharePoint scripto to “Developer” tab and press “Form Submit” button. Drag and drop “Execute script” option from the list on the left. Place it above “Save Form” option. Click on the “enter script” field. Usually it’s green color. And input your script.

All the accessible options could be found in the help section.

Compile script. If it is ok, save it. And deploy the form. Let’s see, what we have now. Now, when form is filled-in and sent to server, data from the original mail will be synchronized with the SharePoint columns and with the form itself.

3 thoughts on “Advanced offline PDF form features for SharePoint”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.