You can save time by reusing layout objects
that you add to a report instead of re-creating them. For example,
you have a multiple-page report and you want to show the company logo
in the page header of each page. Insert the logo once and reuse it
on all other pages.
Procedure
- Click the object to reuse.
Tip: To quickly select the parent of an object, click the object, and then click the
Select ancestor icon
in the title bar of the
Properties pane.
- In the Properties pane, set the Name property
to a value beginning with a letter to uniquely identify the object
and press the Enter key.
IBM®
Cognos® Analytics - Reporting may have
already specified a name for the object.
- To reuse the object in another report, open that report.
-
Click the Toolbox icon , drag the Layout component reference object to the location in which
it will be reused.
- In the Component Location box, do
one of the following:
- In the Available components to reference box,
click the object and click OK.
-
If the referenced object is in another report, click the Layout component
reference object and in the Properties pane, set the
Embed property to specify how to store the referenced object in the
report:
- Click Copy to store a copy of the object.
The copy is not automatically
updated if the source object is modified.
Note: In active reports, you can
store referenced objects only by copying them to the report.
- Click Reference to store a reference, or pointer, of the object.
The
reference of the object is automatically updated if the source object is modified. For example, if
you open or run the report, you see the modified object.
Results
A copy or reference of the object appears where you placed the Layout component
reference object. If a source object is changed, you can update reused objects.Tip: You can also create a new report or
template and add all the objects to share. All your shared objects then reside in a single location,
like a library.