Get and Set Pool Variables - Web Services - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external - Content-Composer/Web-Services/Foundation-23.2/Content-Composer-Web-Services/WS-Process/Get-and-Set-Pool-Variables - 2023-12-18

Content Composer Web Services

Platform
Content Composer
Product
Web Services
Release
Foundation 23.2
License

Pool variables can be queried in the context of information retrieval by using the method Process_GetInfo (infoType POOLVARS).

The SYSTEMPOOL and MODUSUSER pools are returned.

Only variables of the SYSTEMPOOL pool can be set.

Pool variables of these pools are set with the Process_Start method .

If only pool variables are to be set and no other action taken, the SET_PARAMETERS command must be used.

Example XML

<pools>
   <pool name="SYSTEMPOOL"/>
      <poolvar name="MyVariable" type="S">MyVariableValue</poolvar>
   </pool>
</pools>
...
Element Description

pools

Collection node for all pools

pool

Collection node for all pool variables of a specific pool.

The attribute name contains the name of the pool.

poolvar

Description of a pool variable with the attributes:

name: Name of the pool variable

type:

B: Boolean (TRUE or FALSE)

L: Longinteger (Number)

S: Widestring (any string)

F: Float (floating-point number, decimal separator according to regional settings)

data: Content of the pool variable

Note: When setting variables, the attribute type is optional.

If the attribute is not defined, the Widestring type is assumed.

If a type is defined, the content specified in the data area must match the data type.