Chapter 6 Extracting documents


Extracting packages

By default, when you extract a PowerDesigner model, the packages on which you have extraction permissions are extracted with the model. Extraction permissions are Read, Write, or Full permissions.

Packages with List or no permissions cannot be extracted.

Shortcuts in packages

When you extract a package containing shortcuts, the package selection is extended to include the target packages referenced by shortcuts even if you do not have the Read permission on these packages.

Selecting packages to extract

If you do not want to extract a complete model, you can select one or several packages to extract from the Select Packages dialog box.

The Select Packages dialog box only displays packages on which you have extraction permissions. Packages with the List permission or no permission at all do not appear in the list.

When you select a sub-package PowerDesigner automatically extends the selection to parent packages to preserve the context of the sub-package. If you deselect a sub-package, parent packages are still selected but the selection is grayed to indicate that one or more sub-packages are deselected. Remember the Select Packages dialog box only displays packages with extraction permissions.

When you select a parent package PowerDesigner automatically extends the selection to sub-packages. You can deselect sub-packages in the package tree, in this case, the selection of the parent packages is grayed to indicate that one or more sub-packages are deselected. Remember the Select Packages dialog box only displays packages with extraction permissions.

Action Selection Impact
Select modelingproject
Package 1, 2, and 3 are automatically selected
Deselect Package 1
Package 2, and 3 are automatically deselected
Select Package 3
Package modelingproject, 1, and 2 are automatically selected
Deselect Package 3
Selection check boxes in package modelingproject, 1, and 2 are grayed

Note   Deselect model node
It is impossible to deselect the root of the package tree, i.e. the model node. When you deselect the model node, a warning message appears.

Steps To extract PowerDesigner packages:

  1. Select a document node in the repository browser.
  2. Right-click the document and select Extract from the node contextual menu.

    The Extract Document dialog box appears. The name of the selected document appears in the Name dropdown listbox.
  3. Select a document version in the Version dropdown listbox.
  4. Click the Packages button.

    The Select Packages dialog box appears.
  5. Select one or more packages check boxes in the tree.
  6. Click OK.

    A message box can appear to warn you that the package selection has been extended to include target packages, you have to click OK.
  7. Click OK in the Select Packages dialog box.
  8. Select extraction options.
  9. Click OK.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.