Add Office (AD Office - physicalDeliveryOfficeName) from Refiners

Copper Contributor

Hi,

Is there a way to pull the Office info from the AD and add it to Refiners? I've tried BaseOfficeLocation, RefinableStringxx (which maps to People:Office & People:Office maps to OfficeName), and Location, and still no luck. If I edit the term set and add locations to it, then edit the user profiles and manually add the office locations, the office locations are showing from the Refiners under Location -- but I don't want to edit 300+ users and add a location. Unless there's a script I can use to copy the info from Office to Office Location from the User Profiles. Also, is there a way to add this to the Filter_Default.html (under Master Gallery > Display Templates > Filters). I appreciate any feedback. Thank you

 

Gentry38_0-1616029885917.png

 

 

0 Replies