Skip to main content
Windward

Update PODs with the Java Engine

Overviewengine-wiki-logo.png

For updating PODs in a template.

Background

Note: Looking for a step-by-step guide? Check out updating PODs.

 
When you place PODs in a template, you can have them marked so the template knows the location of each POD and where it starts and ends. If you later revise the POD in the RDLX file, you can use UpdatePODs to then replace the POD in each template with the new revised POD from the RDLX file.

There are a couple of things to keep in mind:

  1. Any edits inside the POD in a template will be lost. This replaces the document from the POD start marker to the POD end marker with the new POD.

  2. PODs are identified by a GUID that is assigned to each POD when created, not by the POD name. So you must update an existing POD in the rdlx file for this to apply. If you delete a POD and then create a new one with the same name - that is a different POD and no update will occur.

  3. The PODs are marked using standard document objects in the Office file (bookmarks or content controls in Word). If these objects are deleted, the POD cannot be updated.

  4. Update PODs only updates PODs in a DOCX template. It does not update variables or data sources.

To run this you call "java net.windward.tools.UpdatePODs rdlx_file template_file [guid]" The file specs can have wildcards. You can have 0 - N guids. If 0, then all PODs will be updated.

  • Was this article helpful?