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 to a database or a SOAP service has been established, this connection 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, "New/Path/..."), the templates will be retrieved from this path.

Since
Version 1.1.7, Januar 2005
See Also
datapool

Alphabetic index HTML hierarchy of classes or Java