When there are changes to your data source schema, you
can update the schema in your template. With the updated schema, you
can resolve any potential changes to the queries you included.
Before you begin
Important: Back up your template by
saving a copy of it before you work with your schema.
Procedure
- In the Document Studio Outline view, right-click the schema
that you exported and select Replace schema.
- Click Browse and select the .xsd file
that you modified.
- Click OK. If all
of the queries in the new data source schema resolve with the queries
that were added to your template, then the schema is replaced and
you are not required to make any further changes.
If all of the
queries in the new data source schema cannot be resolved, continue
to the next step.
- If all of the queries in the new data source schema cannot
be resolved with the queries that were added to your template, then
you must select one of the following options:
- Remove data references: Allow Rational® Publishing Engine to
remove the queries from your template that cannot be resolved with
the data source schema.
- Specify valid replacement: Replace each
unresolved query with a query that exists in the new data source schema.
- If you selected Specify valid replacement, in
the Specify Valid Replacement window, specify replacement
queries. Select the cell in the Replacement Name column
to choose a query from a dropdown list.