- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi team,
I'm working on a Service Portal process where users can upload and download attachments. I need to implement a way to automatically add a watermark to these PDF files before they are downloaded.
The workflow is: A user uploads an external PDF from their computer. When any user later downloads that same file from the portal, the downloaded version should contain the watermark.
I’ve already tried using PDFGeneratorAPI, but it didn't meet the requirements. Does anyone have experience with a similar use case or suggestions for a different approach?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You will have to use java external library and then use mid server script include for handling this
This requires some understanding of java coding + javascript coding
Add Watermark to PDF using JavaScript
Using Watermarks with iText in Java
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
any PDF attached in platform can't be manipulated with data as OOTB there is nothing to read the pages etc and hence can't add watermark
you will have to rely on some external API etc and build a custom solution for this
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
@Ankur Bawiskar
Thank you for your reply. I was wondering if you have any recommendations for an external API I could use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You will have to use java external library and then use mid server script include for handling this
This requires some understanding of java coding + javascript coding
Add Watermark to PDF using JavaScript
Using Watermarks with iText in Java
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I’ve found a solution using the PDF.co external API within ServiceNow. While it requires a paid subscription, it’s an effective way to resolve this.
Thank you for your support!
I’ll read this article that mentioned. Thank again
