I'm new to Adobe InDesign Server and I'm having a hard time finding a good kitchen sink app. All the examples I got from the SDK seem to partially work. All I'm trying to do is use a master page from InDesign from the server side and edit certain text fields. For example placing first and last name in particular text fields. Does anyone know of a good place to get examples code that shows all the features or how I would approach this problem?
Adobe InDesign Server software is a layout and composition engine that powers automated publishing solutions.
InDesign is a desktop publishing and layout application for creating books, magazines, and brochures, as well as print and digital publications. It's the industry standard editing software for laying out long-form multipage documents, but it's not limited to that.
Instead, InDesign Server creates documents through automation. In place of a user interface that one user works with interactively, InDesign Server offers a Web Services interface through which automated processes can be triggered to produce documents.
http://www.adobe.com/devnet/indesign/documentation.html#idserver Has a lot of resources that is useful when starting out. In particular http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/InDesignServer/ids-solutions.pdf includes a number of code examples for various common operations.
As to your specific example, the typical way to go about it is: 1. Get the page object from the master pages list. 2. Iterate over each text field on the page. 3. Somehow identify the fields, for example by setting the script label in the template document and checking the labels of each text field you iterate through. 4. Set the contents of the text field.
A lot of the official InDesign documentation is partial.
Jongware also hosts the complete reference documentation: http://www.jongware.com/idjshelp.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With