Skip to main content
Aanarkar
Participating Frequently
June 13, 2026
Answered

How to enable a custom Adobe plugin?

  • June 13, 2026
  • 2 replies
  • 87 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! 

Correct answer Thom Parker

@Aanarkar Yes, there are a few things that can go wrong. The first one is making sure that the code is compiled for the correct version of Acrobat 32bit or 64bit. Almost everything is 64bit now, unless you have an old version. 

Next, the security needs to be setup so that Acrobat will load 3rd party plug-ins.  In the Preferences, Under the General category there is a checkbox at the bottom labeled “Use only certified plug-ins”. This must be unchecked. 

It’s also best to turn off “Protected Mode” in the “enhanced security” category. Protected mode prevents the plug-in from accessing external resources. 

 

Of course, you’ll also need to but breakpoints in your plug-in code and walk through the start up to make sure it’s all working appropriately.  

 

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
Participating Frequently
June 15, 2026

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

Thom Parker
Community Expert
Community Expert
June 15, 2026

I would strongly suggest working through a couple of the samples. And if you are on windows, then install the provided project wizard. It will build a starter plug-in project for you. 

 

Once you have a starter project working, you can rename items in the code and use this for your own plug-in. 

You also need a developer prefix for menu items and other registered items, so there aren’t any name conflicts.  

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Bernd Alheit
Community Expert
Community Expert
June 13, 2026

Is this a Plugin for Adobe Acrobat or Acrobat Reader.

Aanarkar
AanarkarAuthor
Participating Frequently
June 14, 2026

This plugin is for Adobe Acrobat Pro DC