Datatype for the definition of the data source for placeholder.

Datatype for the definition of the data source for placeholder.

Data for placeholder can be derived from various sources:

If a connection is set up to a database or to SOAP, this source will always be preferred. To request or change individual data from databases, use the modules query or soap. For XML file-based data use the xmlquery module. Variables from type DataPool contain the required connection. You can set the values of these variables independently of the current InDesign® connection.

If you have set up a database connection in InDesign®, a call by datapool::set_dbc (pool, 0) hides all calls to the connected database. For example, the function document::place_items would therefore not attempt to read your required data (the description of the templates) from the database, but from the currently defined XML file instead. If you change this setting too by using datapool::set_files (pool, "neuer Pfad"), the master will be retrieved from this path.

Since
Version 1.1.7, Januar 2005

Alphabetic index HTML hierarchy of classes or Java