You can discover the value of a configuration URI to support
configuration aware document generation.
About this task
Document specifications have a data source property that specifies the configuration URI.
If this property is defined, an OSLC configuration HTTP header is added to every HTTP GET request
made to the data service. This header will be processed by any configuration-capable data service.
The global configuration property value may be changed by scripts in the document template during
document generation.
Rational® Publishing Engine discovers
the URL of the OSLC delegated dialog by reading the service provider resource of the configuration
service. An embedded web browser displays the OSLC delegated dialog for you to select the
configuration.
Note: Rational Publishing Engine 1.3.0 and
later supports document generation from CLM environments that are enabled for fine-grained
components (for CLM 6.0.3 and later). Configuration for fine-grained components works the same way
as for global configurations.
To generate documents in the context of a specific
configuration, you must select the desired configuration in the document specification.
Results
You can now generate documents for different configurations.
Rational Publishing Engine sends the
configuration's URL in a header with each request it makes to the data source. The provider responds
with the data matching the selected configuration.