This content applies to version 7.5.4 or later. You
can configure custom queries to populate or update diagrams with elements
from a UPIA model. Queries that you define are available to use when
you run the Custom Queries tool from the Explore tab of the
Palette.
About this task
To define a custom query for the diagram Explore tool:
Procedure
- Click , expand , and then click Explore
Tools.
- Click the Custom Queries tab and
perform one of the following steps:
- To create a new query that is not based upon an existing query,
click New.
- From the Query name list, select a
query. The list displays both predefined queries and any custom queries
that you have created.
- Optional: To copy an existing query that is
currently selected, click Copy, enter a unique
query name and ID, and then click OK. New
queries can be created or copied from any existing query, but only
queries that you define can be renamed or deleted.
- Optional: In the edit box, type a description
of the query.
- From the Search Scope list, select
a default location to define the scope in which to find element types
when the update query is run.
- Select one or more element types to find when the update
query is run.
- Optional: Configure the update options.
- Click the Show derived element types check
box to show all elements from a type hierarchy that is defined in
the UPIA profile, without selecting the individual element types.
- For Operational Resource Description-based queries,
click the Generate information exchanges and
needlines first check box to automatically generate these
elements in the model before updating the diagram.
- For Systems Interface Description-based queries, click
the Generate data exchanges and system interfaces first check
box to automatically generate these elements in the model before updating
the diagram.
- Click OK.
What to do next
Now, you can populate or update diagrams with the query parameters
you defined by using the
Custom Queries tool
in the
Explore tab of the Palette.