Altova Global Resources represent a way to refer to files, folders, or databases so as to make these resources reusable, configurable and available across multiple Altova applications. For example, let's assume that several MapForce mappings routinely read data from the same XML file which is critical for your business workflow. If this file has been renamed on the disk for whatever reason, this would cause "file not found" errors in multiple contexts, and break the workflow. To prevent such issues, it is possible to create a so-called "file alias" (in other words, a Global Resource), and change all mappings to refer to this Global Resource instead of the actual file on disk. This way, if the file name ever changes, you would only need to change the file alias, in one place.
Global Resources can be defined and shared between the following Altova desktop applications: Authentic, MobileTogether Designer, MapForce, DatabaseSpy, and XMLSpy. On the server side, Global Resources can be consumed by the following Altova server applications: MapForce Server, MapForce Server Advanced Edition, RaptorXML Server, RaptorXML+XBRL Server.
•In MapForce Server and MapForce Server Advanced Edition, Global Resources are supported at the command line interface but not at the API level.
•Defining database global resources requires MapForce Professional or Enterprise editions, or an Altova desktop application which supports connection to databases.
Global Resources (be they file, folder, or database references) can be used in MapForce for various scenarios, for example:
•To supply a configurable file path as mapping input, see Example: Run Mappings with Variable Input Files.
•To redirect the mapping output to a configurable path. For more information, see Example: Generate Mapping Output to Variable Folders.