This package contains two samples of creating a Custom Search Mode to be used in addition to the default Simple, Advanced, and AML search modes.
The first is a simple example that uses two fields to allow users to search on Parts by their Item Numbers and Names. This search mode is explicitly limited to the Part ItemType.
The second demonstrates an example that allows users to search on items based on the Parent Package they are in. This search mode is intended to be used to search upon administrative items like ItemTypes, Methods, Forms, etc, but it is not explicitly limited to any specific ItemTypes.
This project and the following release notes have been migrated from the old Aras Projects page.
Release | Notes |
---|---|
v2.0.0 | Updated to 12.0 SP6 |
v3 | Added Parent Package search mode example |
v2 | Upgraded to support 11.0 SP11 |
v1 | Initial Release |
Project | Aras |
---|---|
v2.0.0 | 12.0 SP6 |
v3 | 11.0 SP12 |
v2 | 11.0 SP11 |
v1 | 9.3 |
Always back up your code tree and database before applying an import package or code tree patch!
- Aras Innovator installed
- Aras Package Import tool
- custom-search-mode import packages
- Backup your code tree and store the archive in a safe place.
- Navigate to your local
..\custom-serach-mode\
folder - Copy the
\Innovator\
folder - Paste this at the root of your install directory
- By default this is
C:\Program Files\Aras\Innovator\
- 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
..\custom-search-mode\Import\imports.mf
file in the Manifest File field. - Select all packages 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.
- Login to Innovator
- Navigate to the Part ItemType
- In the search mode dropdown, selec the Custom Sample search mode
- Fill in appropriate values for Item Number and/or Name
- Run the search
- Login to Innovator
- Navigate to any item in the TOC (e.g. Administration > ItemTypes)
- Select the Parent Package Search search mode
- Click on the ellipsis (...) button and select a Package Definition (e.g. com.aras.innovator.solution.PLM)
- Run the search
- See that only items in that package are returned (e.g. Part, PR, ECO, ECN, etc. for the PLM package)
- 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
For more information on contributing to this project, another Aras Labs project, or any Aras Community project, shoot us an email at [email protected].
Created by Aras Corporation Support. Extended and maintained by Aras Labs.
Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.