Limiting Search Results
3 posts
• Page 1 of 1
Posts: 5
Joined: Mon Jan 04, 2010 4:34 pm |
Other than using privileges, is there a way to limit search results for a salesperson? So for example, an admin can find all records, but a salesperson can only find the records where their name is assigned to the "salesperson" field in that table. We can't use privileges because there are limited instances where we do want the users to be able to find all records.
|
Access privileges is best but if you don't want to do that the easiest would probably be to edit the "Create Result Lines" script. I would add a conditional statement that evaluates whatever criteria you have and if that criteria is not met you could prevent the result line from being created. This way search results will only display the results you want. It will find them, it just won't ever display them.
Hope that helps, Tanner |
|
Posts: 5
Joined: Mon Jan 04, 2010 4:34 pm |
Based on input from Matt Navarre, we added a "constrain" script step after the perform find and this works perfectly. Thanks Matt!
|
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests