Skip to content

Commit a17a19c

Browse files
committed
Update Readme File
Update readme with description and instructions for using packages.
1 parent 0b4cd05 commit a17a19c

File tree

1 file changed

+78
-1
lines changed

1 file changed

+78
-1
lines changed

README.md

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,78 @@
1-
OverrideDefaultStructureBrowser
1+
# Override Default Structure Browser
2+
3+
The Override Default Structure Browser project contains five (5) import packages, each providing sample code for customizing the Structure Browser view in Aras. Here is a brief description of the scenario addressed by the sample code in each import package.
4+
5+
#### 1. Default Structure Browser
6+
This import package contains the default Structure Browser Method and can be used for rolling back changes or diffing changes.
7+
8+
**Note:** The Default Structure Browser package does **not** eliminate the need for a database backup before importing any of the Override Default Structure Browser packages. It is always considered best practice to backup your code tree and database before applying any changes to your environment.
9+
10+
#### 2. Add Property for Context ItemType
11+
This package adds the Classification property to all items of the same type as the context item.
12+
13+
**Example:** When viewing the Structure Browser for a Part item, the context item and all child Parts will display their classification in the Structure Viewer. Other child items, such as CAD items or Documents, will not display any custom property values.
14+
15+
#### 3. Add Property for Specified ItemTypes
16+
This package adds the Classification property to all items displayed in the Structure Browser.
17+
18+
**Example:** When viewing the Structure Browser for a Part item, the context item and child items of any type will display their classification in the Structure Viewer.
19+
20+
#### 4. Filter Relationships
21+
This package filters the type of child items displayed in the Structure Browser. Additionally, it defines different properties to display depending on an item's type.
22+
23+
**Example:** When viewing the Structure Browser for a Part Item, only the CAD and Document child items will be displayed. The context item will be displayed with its classification value, and the child items will be displayed with their state values.
24+
25+
#### 5. Customize Images Loaded
26+
This package customizes the icon displayed with each item in the Structure Browser based on a specific property value.
27+
28+
**Example:** When viewing the Structure Browser, Parts in the "Released" state will be displayed with one custom icon and Parts in the "Preliminary" state will be displayed with a second custom icon. All other Part items will be displayed with the default ItemType icon.
29+
30+
## Installation
31+
32+
#### Important!
33+
**Always back up your code tree and database before applying an import package or code tree patch!**
34+
35+
### Pre-requisites
36+
37+
1. Aras Innovator installed (version 11.0 SPx preferred)
38+
2. Aras Package Import tool
39+
3. Override Default Structure Browser import package(s)
40+
41+
### Install Steps
42+
43+
>> Note: Install project packages one at a time.
44+
>> Each package modifies the same Method item, so the last package imported will always overwrite the changes made by any others.
45+
46+
1. Backup your database and store the BAK file in a safe place.
47+
2. Open up the Aras Package Import tool.
48+
3. Enter your login credentials and click **Login**
49+
* _Note: You must login as root for the package import to succeed!_
50+
4. Enter the package name in the TargetRelease field.
51+
* Optional: Enter a description in the Description field.
52+
5. Enter the path to your local `..\OverrideDefaultStructureBrowser\Import\<PackageName>\imports.mf` file in the Manifest File field.
53+
6. Select **com.aras.innovator.core** in the Available for Import field.
54+
7. Select Type = **Merge** and Mode = **Thorough Mode**.
55+
8. Click **Import** in the top left corner.
56+
9. Close the Aras Package Import tool.
57+
58+
You are now ready to login to Aras and try a custom Structure Browser view.
59+
60+
## Usage
61+
62+
1. Login to Aras.
63+
2. Navigate to your target ItemType in the Table of Contents (TOC).
64+
3. Search for your target item in the main grid.
65+
4. Select your target item in the main grid.
66+
5. Right click the target item and select **Structure Browser**.
67+
68+
The Structure Browser will appear according to the customizations defined by the installed Override Default Structure Browser package. You can view the customization code in the ``GetItemsForStructureBrowser`` Method item.
69+
70+
## Contributing
71+
72+
1. Fork it!
73+
2. Create your feature branch: `git checkout -b my-new-feature`
74+
3. Commit your changes: `git commit -am 'Add some feature'`
75+
4. Push to the branch: `git push origin my-new-feature`
76+
5. Submit a pull request :D
77+
78+
## License

0 commit comments

Comments
 (0)