< Previous | Next >

Lesson 2: Add a data source schema to the template

Add a data source schema to access the queries and attributes to apply to the elements for structuring your report.
  1. In the Document Studio application, click Data > Add Data Source Schema. Click Next.
  2. For the Schema type field, select the type that applies to your data source. Example:
    • Rational® Quality Manager: Generic XML
    • Rational RequisitePro®: Generic XML
    • Rational Team Concert: REST v1
  3. Enter a URL or click Browse to select the schema file. Examples:
    • Rational Quality Manager: https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/schema/feed.xsd
    • Rational RequisitePro: RPE_HOME\source\XML\examples\RequisitePro.xsd
    • Rational Team Concert: https://server:port/ccm/rpt/repository/workitem?metadata=schema
    Click Finish > Next > Finish.
  4. Optional: Customize the name of the data source schema to configLayerSchema.
  5. Click Next.
  6. Review the summary and click Finish. The data source schema displays in the Data source schema view.
  7. Add elements to the template:
    1. From the Palette view, drag a Paragraph element icon Paragraph element into the template content editor.
    2. From the Data source schema view, drag the a query into the paragraph element and use it as a query.
    3. From the Palette view, drag a Text element icon Text element into the paragraph element.
    4. From the Data source schema view, drag an attribute of the query you added to the paragraph element and use it as a value.

Lesson checkpoint

You added a data source schema and elements to a template.
< Previous | Next >

Feedback