For updating PODs in a template.
Note: Looking for a step-by-step guide? Check out updating PODs.
There are a couple of things to keep in mind:
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.
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.
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.
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.