Copy link to clipboard
Copied
Here is my problem, I have been tasked with building a plugin/ script for my employer that can be used in Indesign top extract elements out of an Indesign document into the correct formats and then package them up to be imported into our application.
For the most part I have the extraction down, using plain JavaScript. However I have read in several places that it is possible to use Node JS to develop solutions for Indesign which would be great as it would mean I could use some NPM packages to a couple of things I still need to do.
The difficulty here is that everything I have found on the subject is either out of date or when I try the examples they give they simply do not work. I've spent a large portion of time now going through the SDK documentation to try and find my answer but have been unsuccessful.
I did stumble across this article Extend Adobe CC 2014 apps | Adobe Developer Connection which at least showed me the basic structure of what I needed but I haven't the foggiest idea how I would test this in Indesign.
It really shouldn't be this difficult to write an extension/plugin/script or what ever you want to call them especially since JavaScript and as far as I can tell Node and its various packages can be used, so It would be great if someone could stop me from going round in circles again and put me on the right path.
Thanks.
Hi Mark,
Its possible to use Node js in the Indesign extension and its not that difficult to do. I will list the points that you need to do in order to get up the extension loaded on your InDesign
Copy link to clipboard
Copied
Following on from this I have since found this link Adobe CEP Resources by Adobe-CEP which has a bit more information on it but seems somewhat messy/confusing.
I'm assuming that the ZXPSignCmd is the package that is used to create the .ZXP from your code however the documentation is a little unclear. firstly why isn't there a way to package up applications for development i.e. without using p12 certificates? Secondly if p12 certificates are required why isn't it documented where you should get them from?
Could someone help with this I have a feeling that if I can get over this hump I might be able to do some actual work.
Thanks
Copy link to clipboard
Copied
Hi Mark,
Its possible to use Node js in the Indesign extension and its not that difficult to do. I will list the points that you need to do in order to get up the extension loaded on your InDesign
I would suggest that you first setup the machine for loading unsigned extensions, download a sample extension and try to load it. Once done, get familiar on how to debug the code. After all this is done you can configure your extension to use node js and you are good to go.
Let me know if something is not clear.
-Manan
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more