The structure tree is the main place for editing a SystemWeaver model. You can see the model in a tree structure and manipulate it according to the setup and guidelines at your site. For many models, you can do most of the editing right in the tree view, i.e., adding new parts to the tree structure, etc. To learn more about the structure tree, see Get Acquainted With the Explorer Interface.
The tree view provides a grid which can be used to quickly and easily view item information. You can then export that information to Excel or CSV file. By default, the structure tree includes three columns:
- Status shows the Version Status of the item.
- Version shows the version name and number of the item.
- Next Version indicates if there is a newer version available of the item.
Adding Additional Columns
Using the right-click context menu on the header row, you can add some additional item or part information to the grid using the More and Expert menus. And, every time you log in, the added columns will be there for the selected item as long as the item remains open.
More - Properties and Attributes
Use the More menu to add properties (item and issue) and attributes (item, issue, part and node). Each menu option will display a selection dialog.
Add Item Property Column Dialog
Tip: You can multi-select the properties/attributes to quickly add multiple columns.
Example where the "Test Case Status" attribute has been added to the tree grid using More>Add item attribute column:
Expert - Field Codes
The Expert option can be used to add additional field codes for items. Below is a short list of field codes most frequently used. A more complete list can be found in the Field Codes valid in context of an Item section of the Help. Because the structure tree is displaying nodes, each code should be prefixed with "Item."
|Item.Handle||Displays the Handle (the unique ID) of a SystemWeaver item.|
|Item.ForeignId||Displays the Foreign ID of the context item. Foreign IDs can be set by an application that imports or creates items in SystemWeaver, like the Import from XML feature in the swExplorer client, and will have format and properties according to that application.|
|Item.HomeLibrary||Displays the name of the Home Library of the context item, i.e., the library where the access rights of the item are defined.|
|Item.SID||Displays the SID of the item's type.|
|Item.VersionInfo||Displays the item's change log.|
Example where 4 item field code columns have been added using Expert>Add field column:
Expert - Path Query Language
The Path Query language can sometimes be used to display additional information that may not be available via the item field codes. One field code that may be of interest is "Attachments". See How to View If an Item Has Attachments.
Another example is to see if you have Write access to an item:
? if not ['Write'] in Item.HomeLibrary.GetUserAccess(CurrentUser) then 'x' else 'read-only'
Exporting to Excel
Right-click again anywhere on the header row and select Export to Excel. The Excel worksheet will include one row per item/part in the order displayed in the tree. Parts that are not turned on (i.e., hidden) in the tree will not be included. Your output will include other properties which you can just remove.
Tip: There is also a CSV export option if you prefer to deliminate in some other way.