It is possible to add filters to a search dialog for an Item property to limit the results available for users to select from. This project contains both a document originally written for 9.2.0 SP3 as well as sample code that was written for 11.0 SP12.
The method code included in the example imports demonstrates how to perform a search to retrieve all of the Admin Identities that have a corresponding user.
This project and the following release notes have been migrated from the old Aras Projects page.
Release | Notes |
---|---|
v1 | Initial Release |
v2 | Importable Examples |
Project | Aras |
---|---|
v1 | 9.2.0 SP3 |
v2 | 11.0 SP12 |
Always back up your code tree and database before applying an import package or code tree patch!
- Aras Innovator installed
- Aras Package Import tool
- Search Filter Examples import package
- 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
..\RefreshFromDatabase\Import\imports.mf
file in the Manifest File field. - Select aras.labs.RefreshFromDatabase 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 try out the Search Filter example
- Login as admin
- Navigate to the new Search Filter Example ItemType in the TOC
- Create a new Search Filter Example
- There are 3 different Item Properties here that show three different ways to Filter a SearchDialog
- For more details you can check the methods Events tab on the corresponding Property items
- 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
Created by Aras Corporation Support.
Updated by Christopher Gillis for Aras Labs. @cgillis-aras
Published to Github under the MIT license. See the LICENSE file for license rights and limitations.