Skip to main content
Participant
August 18, 2023
Question

Hidden but printable dynamic text

  • August 18, 2023
  • 1 reply
  • 469 views

We are working on  a automation using Power Automate where we have to add static and dynamic watermark Text in a PDF file which should be visible only when user tries to print the document. Example - 

[Category]

Printed on: [DD/MM/YYYY] By:[Logged in User Name].

Any help will be appreciated.

 

Thanks.

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    August 18, 2023

    We don't have an API that would help you with this but as a Power Automate user, I'm guessing that you are a Microsoft house. Take a look at Microsoft Purview. It does exactly what you want and we support securing and viewing files with Purviw protection in Acrobat and Reader.

    avtripAuthor
    Participant
    August 22, 2023

    Thank Joel for your response.

    Are you talking about this - https://learn.microsoft.com/en-us/purview/sensitivity-labels-office-apps#dynamic-markings-with-variables 

    Using this we can apply the watermark based on user who applied the sensitivity label to document. Our requirement is - whenever any user tries to print the PDF document - an overlay should appear with text - Printed on: [DD/MM/YYYY] By:[Logged in User Name].

     

    Here [DD/MM/YYYY] and [Logged in User Name] are dynamic variables, which will vary based on date and user.

     

    Thanks.