Skip to main content
Aanarkar
Participant
June 13, 2026
Question

How to enable a custom Adobe plugin?

  • June 13, 2026
  • 2 replies
  • 32 views

The  plugin is basically an enterprise policy restriction to share files by users. The application that holds the PDF writes a boolean attribute to the file's XMP file. The plugin we create will read the XMP and based on the Boolean either allows or disables the access to create a copy of the file (Save as, export, print).

More robust solution is underway but that will need time and we need a stop gap solution. So, we are going with a plugin that will be deployed by the IT to all client machines. The XMP file will be written by the application that stores or the PDF file with a Boolean attribute that will regulate if users can create a copy of not.

In my plugin I need to read the XMP file and based on the value either allow or disable the option to create a copy. We are not worried about the usability here just that it needs to do the job anyway. This is a stop gap solution.

We are good with all the code. Only question is how to enable our custom Adobe plugin? As we have not been able to load it in session in anyway.

Please note that it is for a single enterprise and deployed by IT. Not for sharing publically or over a marketplace.

Is the plugin code itself responsible to register the plugin or there is some process to it? Any help. Will be valueable! Thanks! 

2 replies

Thom Parker
Community Expert
Community Expert
June 14, 2026

So, are you writing this plug-in?  Or was it provided by someone else? 

If you are writing it, then did you compile and install any of the sample plug-ins,  such as the “BasicPlugin”?

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Aanarkar
AanarkarAuthor
Participant
June 15, 2026

I am writing the plugin. No I haven't tried that. 

Bernd Alheit
Community Expert
Community Expert
June 13, 2026

Is this a Plugin for Adobe Acrobat or Acrobat Reader.

Aanarkar
AanarkarAuthor
Participant
June 14, 2026

This plugin is for Adobe Acrobat Pro DC