Blog post

Add dynamic data to watermarks in SharePoint PDFs

Clavin Fernandes Clavin Fernandes
Illustration: Dynamic PDF watermarks with user data

The new 5.0 release of the PDF Converter for SharePoint provides quite a few new improvements, but perhaps the most highly anticipated new feature is the ability to apply watermarks to documents the moment they are opened. Now, it doesn’t make any sense to apply the exact same watermarks over and over again as that would be very inefficient, what you really want to do is adding data specific to the user who is opening the document.

This post is the second in a four-part series:

  1. Applying user specific watermarks when a PDF document is opened in SharePoint.

  2. Merging dynamic data into watermarks using the PDF Converter for SharePoint. ( This Post)

  3. Specifying filtering criteria when automatically applying watermarks.

  4. Apply User Specific PDF Security when a document is opened in SharePoint.

Adding this kind of dynamic information is done using merge fields, which can be entered directly into the watermarking text, for example:

PDF Opened by ‘{REMOTE_USER}’ on ‘{LONG_DATE}’ from IP ‘{REMOTE_ADDR}’

Which results in the following watermark:

Sample watermark with user specific data

Merge fields are not exclusive to the ‘ watermark on open’ functionality, there are several other ways that watermarks can be applied using the PDF Converter for SharePoint, for example using workflows or web services. However, field codes are not always available for a particular interface as, for example, the web service has no knowledge about anything that happens in SharePoint, and workflows are not always associated with an HTTP Context.

If there is any other kind of data you would like to merge in as part of a watermark, contact us and we’ll consider it for a future upgrade.

Author
Clavin Fernandes
Clavin Fernandes Developer Relations and Support Services

Clavin is a Microsoft Business Applications MVP who supports 1,000+ high-level enterprise customers with challenges related to PDF conversion in combination with SharePoint on-premises Office 365, Azure, Nintex, K2, and Power Platform mostly no-code solutions.

Explore related topics

Free trial Ready to get started?
Free trial