Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Can't pull Office field from search template driven employee directory in 365

$
0
0

I'm setting up a search driven employee directory. The issue is that the office field won't come in. The ManagedPropertyMapping tag includes "OfficeNumber" but for some reason the ctx.CurrentItem won't pull back that particular field. I can do a search for "OfficeNumber: Vinings" for instance and it works correctly. I've spent hours trying to sort this out and I'm getting no where. Does anyone have any ideas?

Here is my ManagedPropertyMapping tag: 'AboutMe':'AboutMe','AccountName':'AccountName','Office':'OfficeNumber','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','WorkPhone':'WorkPhone','YomiDisplayName':'YomiDisplayName'


Viewing all articles
Browse latest Browse all 10096

Trending Articles