Forum Discussion

EMIL_K_DIT's avatar
EMIL_K_DIT
Brass Contributor
Sep 07, 2022
Solved

PNP Modern Search People - Show Department/Office as filter

Hi all,  We're using the PnP Modern Search, and I can't for the life of me get Department to show as a filter.  I have tried adding ows_Department, Department, BaseOfficeLocation, anything real...
  • kalpeshvaghela's avatar
    kalpeshvaghela
    Sep 07, 2022

    EMIL_K_DIT 

     

    For that managed property is the OfficeNumber If you want to get only value but you can't use it for refiners.

     

     

    You have to map "People:Office" crawled property to any RefinableString*** managed property and then you could use it in refiners.

     

    Important: It might take some time to fill RefinableString managed property which you use for existing user profile (According to my past experience it took 2 days !!!).

     


    Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community