Copy link to clipboard
Copied
I have a plugin developed for InDesign Server CS5 that extends the script engine's app object with methods that can be called from jsx files. To add methods to the app object I have developed a class that inherits from CScriptProvider and overrides the HandleMethod method.
I'm updating the plugin to use it in InDesign Server CC2021, and for this I've created a new project with the tool Dolly from the plugin SDK 16.1.0.020. I've added the sources of the previous project and support for .NET. I've compiled in Visual Studio 2019 for Windows and get a binary with a .pln extension that the server instances recognize as a plugin.
However, when I try to invoke one of the methods offered by the plugin from .jsx files, an error is logged in the event viewer indicating that the method invoked is not recognized as a function. I've tried the solution proposed at https://community.adobe.com/t5/indesign-discussions/i-want-to-communication-with-c-sdk-plug-ins-by-j... unsuccessfully.
I would appreciate any help or advice to solve this problem. Thanks in advance.
Copy link to clipboard
Copied
-Manan