Recently I have updated my SharePoint 2013 search users/group auto complete with presence plugin on CodePlex. Now it will look for search suggestions along with users.
e.g. http://PROFILEURL/person.aspx?accountname=NETWORID
options:
You can download the latest source code from codeplex
Features
- Update SharePoint 2013 search input box to search people with the presence
- Redirect to Profile page on selection [optional]
- Show user picture with presence [optional]
- Show search suggestions
Prerequisites
- SharePoint 2013
- jQuery 1.8.x +
- jQuery UI JS 1.10.x
- jQuery UI CSS 1.10.x
Solution Deployment
- Deploy Arya.SearchUser.wsp using following PowerShell Command:
add-spsolution -LiteralPath "SOLUTION_LOCATION\Arya.SearchUser.wsp"
- Activate "SearchUserFeature" for particular WebApplication from Central Admin
Manual Installation
- Copy jquery.searchpeople.js, imgPreload.js, arya.searchpeople.css, loader.gif and spinner.gif to Site.
- Add reference to the page/masterpage
- Add following javascript
Settings
mySiteUrl :
My site url. User will redirect to profile page url. default: ""e.g. http://PROFILEURL/person.aspx?accountname=NETWORID
redirectToProfilePage :
If true then user will be redirected to profile page url on selection. default: falsemaxSuggetions :
Maximum suggestions to display. default: 10showpicture:
Show user picture. default: trueshowInitials:
Show Gmail like text avatar in case user profile image in not available. default: falseshowSearchSuggetions:
Show search suggestions. default: trueprincipalType:
Principal type to search. default: 1options:
- 0 - User, DL, SecGroup, SPGroup
- 1 - User
- 2 - DL
- 4 - SecGroup
- 8 - SPGroup
Enable search suggestions:
- Go to Central Admin
- Click on "Manage service applications" under "Application Management"
- Click on Search Service Application
- Click on "Query Suggestions" under "Queries and Results" in left navigation
- Check "Show search suggestions" and click "Save Settings"
Search without picture
Search with picture
Contact card
You can download the latest source code from codeplex
No comments:
Post a Comment