Skip to content

Allows creation of a custom search mode in addition to the default Simple, Advanced, and AML search modes.

License

Notifications You must be signed in to change notification settings

ArasLabs/custom-search-mode

Repository files navigation

Custom Search Mode

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.

History

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

Supported Aras Versions

Project Aras
v2.0.0 12.0 SP6
v3 11.0 SP12
v2 11.0 SP11
v1 9.3

Installation

Important!

Always back up your code tree and database before applying an import package or code tree patch!

Pre-requisites

  1. Aras Innovator installed
  2. Aras Package Import tool
  3. custom-search-mode import packages

Install Steps

Code Tree Installation

  1. Backup your code tree and store the archive in a safe place.
  2. Navigate to your local ..\custom-serach-mode\ folder
  3. Copy the \Innovator\ folder
  4. Paste this at the root of your install directory
  • By default this is C:\Program Files\Aras\Innovator\

Database Installation

  1. Backup your database and store the BAK file in a safe place.
  2. Open up the Aras Package Import tool.
  3. Enter your login credentials and click Login
  • Note: You must login as root for the package import to succeed!
  1. Enter the package name in the TargetRelease field.
  • Optional: Enter a description in the Description field.
  1. Enter the path to your local ..\custom-search-mode\Import\imports.mf file in the Manifest File field.
  2. Select all packages in the Available for Import field.
  3. Select Type = Merge and Mode = Thorough Mode.
  4. Click Import in the top left corner.
  5. Close the Aras Package Import tool.

Usage

Custom Search

  1. Login to Innovator
  2. Navigate to the Part ItemType
  3. In the search mode dropdown, selec the Custom Sample search mode
  4. Fill in appropriate values for Item Number and/or Name
  5. Run the search

Parent Package Search

  1. Login to Innovator
  2. Navigate to any item in the TOC (e.g. Administration > ItemTypes)
  3. Select the Parent Package Search search mode
  4. Click on the ellipsis (...) button and select a Package Definition (e.g. com.aras.innovator.solution.PLM)
  5. Run the search
  6. See that only items in that package are returned (e.g. Part, PR, ECO, ECN, etc. for the PLM package)

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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 araslabs@aras.com.

Credits

Created by Aras Corporation Support. Extended and maintained by Aras Labs.

License

Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.

About

Allows creation of a custom search mode in addition to the default Simple, Advanced, and AML search modes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages