Forum Discussion

ajdm73's avatar
ajdm73
Copper Contributor
Jul 30, 2024

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, 

Resources