I'm setting up an employee directory as seen on Marc's blog here http://sympmarc.com/2014/12/21/create-a-simple-sharepoint-2013-employee-directory-on-office365-part-1-introduction/.
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'