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.
This import package contains the default Structure Browser Method and can be used for rolling back changes or diffing changes.
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.
This package adds the Classification property to all items of the same type as the context item.
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.
This package adds the Classification property to all items displayed in the Structure Browser.
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.
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.
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.
This package customizes the icon displayed with each item in the Structure Browser based on a specific property value.
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.
Release | Notes |
---|---|
v1.0.1 | Tested 11.0 SP12, SP15. Tested on Edge, IE, Firefox 60 ESR, Chrome. |
v1.0.0 | First release. Tested on Internet Explorer 11, Firefox 38 ESR, Chrome. |
Project | Aras |
---|---|
v1.0.1 | 10.0 SPx, 11.0 SPx |
v1.0.0 | 10.0 SPx, 11.0 SP7; Old Community Board Migration |
Always back up your code tree and database before applying an import package or code tree patch!
- Aras Innovator installed (version 11.0 SPx preferred)
- Aras Package Import tool
- Override Default Structure Browser import package(s)
Note: Install project packages one at a time. Each package modifies the same Method item, so the last package imported will always overwrite the changes made by any others.
- Backup your database and store the BAK file in a safe place.
- Open up the Aras Package Import tool.
- Enter your login credentials and click Login
- Note: You must login as root for the package import to succeed!
- Enter the package name in the TargetRelease field.
- Optional: Enter a description in the Description field.
- Enter the path to your local
..\OverrideDefaultStructureBrowser\Import\<PackageName>\imports.mf
file in the Manifest File field. - Select com.aras.innovator.core in the Available for Import field.
- Select Type = Merge and Mode = Thorough Mode.
- Click Import in the top left corner.
- Close the Aras Package Import tool.
You are now ready to login to Aras and try a custom Structure Browser view.
- Login to Aras.
- Navigate to your target ItemType in the Table of Contents (TOC).
- Search for your target item in the main grid.
- Select your target item in the main grid.
- Right click the target item and select Structure Browser.
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
For more information on contributing to this project, another Aras Labs project, or any Aras Community project, shoot us an email at araslabs@aras.com.
Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.