I’m in need here in the company of two web parts to query profile service. One is a list of the employee birthday of the day and the other is search for employee phone extension. The Birthday webpart will list the employee with birthday of the present day and also they will do a specific birthday date search. The phone extension will be a textbox autocomplete search for a employee phone extension (and other info too), so thats why i need to do a search in the profile services.
My idea was to use the client objects of 2013 version (CSOM) but have not found a method to list of users but only recovering a particular user (when you already provides the user login). Then I thought about building a WCF from scratch (even to put in cache these employee informations and optimize the performance) but was afraid to build something that already exists.
What do you guys think?
Thanks in advance.
Dan
Thanks  avishnyakov for the advice. Can you explain why?
Well, I’d recommend to go with either OOTB searc/content by search web parts to search user profiles. Another one options is JSOM/CSOM to get the same stuff done – query search, get data, display data.
The only thing to keep in mind is… please, don’t iterate via user profiles with the ProfileManager.. or anything like that. Consider using search with the appropriate query and settings.Â
Thanks Stefan, i will take a look, looks great. Thanks a lot.
Well you can customize those too. You can define your custom display templates.
You should check out the following blog post:Â http://en.share-gate.com/blog/image-slider-with-sharepoint-2013-search-results
i have to ad these web parts on a very customized intranet home page. Don’t know if these OOB web parts can do the job. I thought this idea but because of this customization, I gave up the idea. Do you think that is possible to customizing this web parts to for example use autocomplete search box or even use date time picker to filter birthday?