We have a unique requirement where we need the member "username" field added to the members index.
Would anyone know how to achive this?
We alredy have a custom index config where we specify the include fields as per below. I've tried many different varisation of username to include the value however none seem to be correct, any advice much appreciated!
IValueSetValidator IUmbracoIndexConfig.GetMemberValueSetValidator()
{
var includeFields = new[] {
"Username",
"userName",
"UserName",
"username",
"umbracoMember",
"umbracoMemberUser",
"umbracoMemberUsername",
"umbracoMemberUserName",
"login",
IndexConstants.Id,
IndexConstants.NodeName,
IndexConstants.CreateDate,
IndexConstants.Email,
... the list goes on
Include username in member index
Hi All,
Version: 8
We have a unique requirement where we need the member "username" field added to the members index.
Would anyone know how to achive this?
We alredy have a custom index config where we specify the include fields as per below. I've tried many different varisation of username to include the value however none seem to be correct, any advice much appreciated!
Thanks!
is working on a reply...