These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Show OCG on an expiration date

mrich
Registered: Jun 16 2008
Posts: 2

My department is implementing a Sharepoint document library, and we need to have watermarks show up when a certain date has passed. Is there any way to do this with Javascript? I think I have the appropriate code for adding the watermark, but I'm unable to find any information on executing certain code on a specific date. Any ideas?

My Product Information:
Acrobat Pro 7.0.9, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
There is code posted [url=http://www.adobeforums.com/webx/.59b4c0fa/21?14 [at] 533 [dot] dVYfiBAmUCW@]How to set a PDF to expire (Working Script)[/url] that can be placed in a document or folder level script. You can enter the expiration date and time details and action to take as needed. As noted in the long list of replies, this code will only work if the user has not disabled Acrobat JavaSdript.

George Kaiser