The Query to Package command, accessed on the Data ribbon, allows a user to associate selected entities, along with the targets of the specified relationships chosen, with a designated Package. The command will also follow the selected relationships up to the number of levels specified. This command can be used to quickly place all entities meeting specified criteria into a container (a Package), which can be useful for communicating a subset of model content with specific stakeholders, for containing all entities associated with a specific Integrated Product Team (IPT) or subystem, etc.
To enable the command, the user must select the desired starting entity(ies) from the Browser. Multiple entitites can be selected by holding down <ctrl> and selecting the individual desired entities or by holding down the <shift> key and selecting a starting and ending entity, where all entities in between the two selected entities will be selected.
Once the Query to Package command button is pressed, the Query to Package query formulation pop-up window appears.
The user must then specify:
When the OK button is selected, the selected entities in the browser panel will have the targets of the chosen relations evaluated, and the selected entities as well as the target entities will be added to the specified package.
The following conditional logic applies:
NOTE: |
Choosing an existing package will result in the query results overwriting the relations to the existing package |
Due to the impending overwrite when an existing package is selected, the user will be warned with a confirmation window that will display the operations to be done.