Skip to content

Instantly share code, notes, and snippets.

@beckettkev
Created March 29, 2016 19:59
Show Gist options
  • Select an option

  • Save beckettkev/823ff9fdf4fb93cb86a20ef3da2d00b4 to your computer and use it in GitHub Desktop.

Select an option

Save beckettkev/823ff9fdf4fb93cb86a20ef3da2d00b4 to your computer and use it in GitHub Desktop.
Goldfish Options
var options = {
title: 'People Search',
termsets: [
{
//the heading of the grouping
title: 'Groups',
//type declares if it is a Termset or a Field in the User Information List
type: 'Termset',
//the managed property
property: 'MyCompanyPeopleGroup',
//the termset id to get the terms back to populate the group
id: 'aa14d31c-ef24-4cca-a040-5e065d14bb34'
},
{
title: 'Office',
property: 'MyCompanyPeopleOfficeLocation',
type: 'Termset',
id: '3fa37b22-1abf-4e92-a57e-78253ce81627'
}
],
userInformationFields: [
'JobTitle',
'Department'
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment