RevertImageResources.js

The RevertImageResources script is desktop-specific, and is not used in EPM Workspace.

A Resource Manager centralizes image content storage. For Interactive Reporting documents created in earlier releases, duplicate images can be optionally merged for efficiency.

A side effect of this merging is that if a pre-9.3 Release document is opened, optimized, and saved in a 9.3 or later release, the document loses its images when opened in an earlier release of Interactive Reporting Studio, since the relocation and rationalization of the images is not understood by earlier releases.

To retain compatibility with earlier releases in practical terms, the RevertImageResources script provides a facility to undo the relocation and image merging and return the Interactive Reporting document to the pre-9.3 format.

Caution!

The script is only useful with documents saved using Interactive Reporting Studio Release 9.3 or later, after the new image consolidation and translation features have been used. See Consolidate Images in Resource Manager.