Forum Discussion
JaredMatfess
Mar 31, 2017Iron Contributor
SharePoint Online Search Not Returning Data in People Search
So I'm working in a client tenant (O365) and have created a custom attribute in their User Profile service called "HideFromPeopleSearch". It's a boolean attribute and basically I'm flagging service accounts, etc. that we do not want to show up in the People Search. I have mapped RefinableString100 to this newcustom attribute so it's People:HideFromPeopleSearch. I have a custom Item Template that I'm using to render the values. I added RefinableString100 to this template and no data is being returned.
I'm just doing a quick console.log(ctx.CurrentItem) to view the data being returned and RefinableString100 is null for users with that attribute set. It's been about 3 days since I've initially set the value. I have also used Mikael Svenson's SPO Trigger Reindex script to request a reindexing of the users. (https://github.com/wobba/SPO-Trigger-Reindex)
So what else might I be missing? I was going to give it until Monday and then reluctantly submit a service request with Microsoft.
- Mikael SvensonSteel ContributorDid you read this? http://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
- JaredMatfessIron Contributor
Geez, Mikael Svenson thank you so very much for your response. I completely did not know that! You are fantastic, have a great wekend. I'm excited, this will be all buttoned up for next week! Woot! :-)
- JaredMatfessIron Contributor
So it's been a few days and still nothing..
Took a few screenshots of my managed property, in case there's some other hidden blog post with one more great idea? :-)