function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
liron169liron169 

generate PDF

I think It's a bit related to security issue- but if I open visualforce

page as a PDF document, can I prevent the user from saving the document as file?

 

The tarfget is to allow only printing the document.

 

samreet_matharu@psl.co.insamreet_matharu@psl.co.in

when u render a page as a pdf it's no more a vf page .

Its opened in the acrobat reader of the browser in which you open the page.

 

As you cannot remove the save/save as option from the adobe reader.so u cannot do the same for the page as well.

liron169liron169
Yes,
That what I thought.
I thought maybe there is simple "trick" to allow such validation.