Forum Discussion
Show Companyname (OrgNames) in Modern Search
Hi there,
I build a people directory with modern search pnp and I want to display the users organisation.
I use the SharePoint-Search Option with LocalPeopleResult as the result source and added the OrgNames as a selected property but the companyname is not showing up.
What do I miss?
Hello Lel_999987
which property do you use?
Make sure, that you have the right user profile property: https://microsoft-search.github.io/pnp-modern-search/scenarios/Create-a-useful-People-Search/
Best, Dave
- Lel_999987Copper Contributor
Hi DaveMehr365,
thanks for your feedback.
I use the OrgNames Property:But it seems to be empty while the department property is filled:
Entra AD Profile
Hello Lel_999987
make sure, that you map the correct property.
Other things for User Profile properties ist this: https://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
"You may also map the crawled property to the managed property ContentsHidden which is already set to be included in the PeopleIdx."
Best, Dave