HTTP Module

Connect to the Web for Data and Design

Supports web-based variable assets, and direct database connectivity

The HTTP module provides support for variable pictures and other assets that can be referenced via a URL reference (ex: http://www.yourwebsite.com/images/imagename.jpg). Images can be stored on any server or storage location accessible via HTTP, and every image format supported by Adobe InDesign can be referenced in this same fashion.

 

How it Works

When the module is installed, DesignMerge software recognizes URL references in the data file being merged (the references must start with “http”), and automatically downloads the referenced files to a temporary cache location. Once downloaded, the image is instantly merged into the page just like any other locally-referenced variable asset. URL references are supported by all DesignMerge Pro functions, including the Data Preview and VDP Packager features.

 

Preflight Support

References to URL images are also fully supported by the DesignMerge Pro preflight feature. When you run a preflight session, the software will check the availability of all URL referenced images, and provide the status in the report. Image files that have already been downloaded into the local cache will be identified in the preflight list, as well as any URL images that may be missing. If you wish to pre-download a local copy of any URL files, the preflight collect feature takes care of that automatically.

 

Custom Variable Graphics

Using the new Rules module Submit HTTP Action, you can easily craft custom queries that can generate variable graphics on-the-fly. For example, imagine a custom maps scenario where the map coordinates are contained in database fields. Create an HTTP query to the map API online, swap in the map coordinates using the DesignMerge Pro Embedded Link feature, and submit the query. The resulting URL will be to a custom map file that will be merged by DesignMerge Pro software immediately. Cool.

 

Direct Database Connectivity

In addition to URL-based image support, the HTTP module also provides direct database connectivity for DesignMerge Catalog users. Rather than work through an intermediate CSV data file, for example, the HTTP module can permit direct updating of documents by connecting to an external database system. In this scenario, the user constructs a set of shared queries  (known as HTTP Fragments) that can be associated with any Variable Link in the document. Each HTTP Fragment includes one or more replaceable parameters, that are swapped with data taken from the record being processed before the query is submitted.

During a document update event, each of these query fragments are directed to a server-side processing application accessible via HTTP, and the data returned from the query is instantly merged into the document. Each Variable link defined in the document may be associated with a different HTTP Fragment, and a full set of Replaceable Parameters are available, which allow you to craft generic HTTP fragments that can be used for different link types.

 

Examples

Custom Map Query with DesignMerge Pro

http://www.mywebsite.com/map-generator.php?lat=<$LATITUDE>lon=<$LONGITUDE>
In this example, <$LATITUDE> and <$LONGITUDE> are embedded Variable Link references that will be swapped by DesignMerge just before the query is submitted for processing. The returned URL (presumably to a custom-generated image) will then be merged as a variable asset.

Price Update Query with DesignMerge Catalog

http://www.mywebsite.com/catalog-pricing.php?sku=<$Part Number>

In this example, <$Part Number> is an embedded Variable Link reference that will be swapped by DesignMerge Catalog with the part number assigned to the placeholder being processed. The server-side application performs a price lookup for the part number, and returns the most current price, which is subsequently updated in the InDesign documnt.

If you need to support URL references to variable assets for DesignMerge Pro, or if you prefer to connect directly to an external data file with DesignMerge Catalog, then the HTTP module is a fantastic add-on solution.

HTTP Module Features

  • What’s Included with the HTTP Module
  • Works with existing DesignMerge Pro, DesignMerge Catalog, or DesignMerge Server documents

  • Supports full URL references to variable images that can be stored on any accessible web site

  • Images are downloaded into a local cache, which ensures the fastest possible VDP processing

  • URL assets are also supported by the DesignMerge Preflight and VDP Packager features

  • Submit your own HTTP requests to generate images on-the-fly using DesignMerge Rule Actions

  • Eliminate intermediate CSV data files by connecting directly to an external database system