cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate IV
Advocate IV

Muhimbi Connector - PDF Watermarks for SPO list attachments?

Hello, 

I am using a Flow that is triggered when a new item is added to a SPO list. The Muhimbi connector should add a watermark to the SPO list attachment (PDF), and save it into a document library. 

 

This works escept that the resulting PDF is missing the watermark, although the Flow suggests it was successful? 

Does anyone else have experience with this Muhimbi connector and a similar use case?

 

Capture.PNG 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @DanielaHo ,

 

I did the test on my side, just using Add text watermark action cannot change the source file, we need to use the changed File content to create a new PDF file.

  • Use Add attachment action to add a pdf file that has been added with text watermark as an attachment.
  • If you want to delete the original pdf file, you could also delete it via Delete attachment action.

Image reference:

21.PNG22.PNG

Note: I found that in addition to the watermark we added, it also adds the watermark that comes with Muhimbi service by default. It can't be eliminated by MS Flow at present. This seems to be the default setting of Muhimbi.

23.PNG

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
Community Support
Community Support

Hi @DanielaHo ,

 

I did the test on my side, just using Add text watermark action cannot change the source file, we need to use the changed File content to create a new PDF file.

  • Use Add attachment action to add a pdf file that has been added with text watermark as an attachment.
  • If you want to delete the original pdf file, you could also delete it via Delete attachment action.

Image reference:

21.PNG22.PNG

Note: I found that in addition to the watermark we added, it also adds the watermark that comes with Muhimbi service by default. It can't be eliminated by MS Flow at present. This seems to be the default setting of Muhimbi.

23.PNG

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Super User III
Super User III

You can use the approach mentioned at https://clavinfernandes.wordpress.com/2018/05/11/muhimbi-convert-a-list-item-including-all-attachmen... 

At the end of the Flow please can add the three steps below. These steps below will help you create a Watermark on the document.

 

  1. "Get the file content from SharePoint". 
  2. "Add the text" watermark action and pass the File Content and configure the Watermark.
  3. "Create file" in SharePoint,


For more details see screenshot below:





If you still get the problem. Please review the link, why your watermark may not be visible, see http://support.muhimbi.com/entries/21240011-why-are-my-watermarks-not-visible.

Thanks so much guys!

That worked... the red 'stamp' with the speel about Muhimbi is pretty annoying though, we cannot really have that if we are working with official documents. Is that only there when the Muhimbi Flow connector is used?

Hi Barry (

 

Is it possible to have 'accumulating watermarks'? 

For example a document needs to be approved by several people, each time an approval takes place a flow will watermark the approved PDF by adding the approver name and timestamp. However I find that it overwrites itself rather than adding to the previous watermark:

 

Watermark Overwriting Itself.PNG

 

Therefore I wondered if a workaround may be to create a separate PDF document with all the approver details from the list item, then merge that PDF with the actual PDF that has been approved?

 


@DanielaHo wrote:

Thanks so much guys!

That worked... the red 'stamp' with the speel about Muhimbi is pretty annoying though, we cannot really have that if we are working with official documents. Is that only there when the Muhimbi Flow connector is used?



The Trial Red watermark will be removed once you purchase a paid subscription. For details on the various subscriptions that Muhimbi has to offer, see: http://www.muhimbi-online.com/Pricing


@DanielaHo wrote:

Hi Barry (

 

Is it possible to have 'accumulating watermarks'? 

For example a document needs to be approved by several people, each time an approval takes place a flow will watermark the approved PDF by adding the approver name and timestamp. However I find that it overwrites itself rather than adding to the previous watermark:

 

Watermark Overwriting Itself.PNG

 

Therefore I wondered if a workaround may be to create a separate PDF document with all the approver details from the list item, then merge that PDF with the actual PDF that has been approved?


I assume you want to add Multiple watermarks on PDF. If yes, you and use the Muhimbi Composite Watermarking and add any SharePoint Properties as Watermarks.

The example below creates two watermarks. 

  • Page number as a watermark.
  • File Path as Watermark.

XML.png

 

You can find more details about Composite Watermarking Syntax at http://blog.muhimbi.com/2010/10/watermarking-pdf-documents-using_25.html 

 

Thanks that's very useful! 🙂

Do watermarks generally appear on each page though?

I am looking for a solution whereby the 'watermark' / list item info only appears once - e.g. at the end of the document? 


@DanielaHo wrote:

Thanks that's very useful! 🙂

Do watermarks generally appear on each page though?

I am looking for a solution whereby the 'watermark' / list item info only appears once - e.g. at the end of the document? 


In that case, you can add an extra page at the end of the PDF that contains the watermark.

i.e. merge that page to the main document using the Muhimbi Merge action. 

 

Mergessample.png

 

 

Thanks for the suggestion! 

I was hoping to add details to the PDF at different points in time...

Imagine an attachment (in a SPO list item) needs to go through multiple approver steps, each time it is approved/rejected the list item captures approver name, approval status and timestamp. At that point I want to take the list item attachment and generate a PDF that includes the approver info.  

> Your solution sounds like I create a separate PDF with the list item info, then merge that with the original attachment. 

However I may need to do this several times... hence 'aggregating' watermarks - ideally in the end I have a PDF that has all approver details on the last page. Your solution could work but it may look strange, e.g. a whole nearly blank page for each approval step?

Thanks for the suggestion! 

I was hoping to add multiple watermarks at different points in time though, ideally all on one page within the PDF. 

Imagine an attachment (in a SPO list item) that needs to go through several approval steps. Each time it is approved/rejected the list item captures approver name, response, time stamp.  At this point I would like to insert this information into the attachment. 

> Your solution suggests to create a separate PDF with the list item details, then merge it with the attachment. That should work well. 

However I need to run through multiple approver steps.. meaning I would create a separate PDF for each approval then merge it with the original attachment. But then I have a whole nearly blank page in the PDF for each approval step.. hence my question about aggregating watermarks 😉

Any suggestions?

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (47,704)