You need to sign in to do that
Don't have an account?
Gobbledigook
Override Search?
Can the Search functionality in SFDC be overridden? I want to limit the Solutions that return in the Search bar based on the UserRole, but not take them away completely
Is that possible?
Gobble
I'm not sure if this will support your use case requirements. You would need to specify filters dynamically based on user role and ensure that the filters are not visible to end user via UI. This solution below overrides the home page basic search component. However, you'll be directed to advanced search which you cannot override, the dynamic filters applied will remain in place if user used the home page search. It would be difficult to override the advanced search page altogether.
You can hi-jacked the basic home page search componet by utilizing a custom s-control and a custom html home page component that serves up the s-control in an iframe. I'm sure you could probably do it using a visualforce as well.
Hope this helps.