Forum Discussion
Department not displayed
Hi everyone,
I’m working with pnp-modern-search to add these web parts to our intranet. However, even though I’ve selected the “department” field, it doesn’t show up in the list results. Only the person’s name, title, email, and phone number are displayed.
I’ve even used the SharePoint query tool, and the Department property is filled in, but for some reason, it’s not showing up in the results.
I’ve also set up the results to be sorted by department, and the search sorts them just fine. The only issue is that the department field isn’t displayed.
Does anyone with experience using this web part have any idea where I might look to find the cause of this issue?
Thank you,
Hello ajdm73
here are an example People Search, how you can configure the webparts: https://microsoft-search.github.io/pnp-modern-search/scenarios/Create-a-useful-People-Search/
Otherwise let me see more details from your problem with printscreens.
Best, Dave