0
「1つの名前しか入力できません」というメッセージが表示され続けます。 peoplepicker入力ボックス(DIV)で、私は次のコードで作成された:SharePointのpeoplepickerから返された複数の戻り値をリストに格納する
// Render and initialize the client-side People Picker.
function initializePeoplePicker(peoplePickerElementId) {
// Create a schema to store picker properties, and set the properties.
var schema = {};
schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
schema['SearchPrincipalSource'] = 15;
schema['ResolvePrincipalSource'] = 15;
schema['AllowMultipleValues'] = true;
schema['MaximumEntitySuggestions'] = 50;
schema['Width'] = '280px';
// Render and initialize the picker.
// Pass the ID of the DOM element that contains the picker, an array of initial
// PickerEntity objects to set the picker value, and a schema that defines
// picker properties.
this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
}
それが持っているにもかかわらず、「スキーマ[ 『AllowMultipleValues』] =真;」宣言、divで私はユーザー入力peoplepickerを配置する必要があります、私はまだ唯一の名前が許可されたメッセージを取得します。どうして?
複数の名前を入力してポップアップ表示されるドロップダウンから名前を選択できますが、入力ボックスからすべての名前を集めることはできません。
XMLでがMULT = TRUEを必要とするところで、何かを除いて、私はまだ何も出てこない。私はそれが私に当てはまるとは思わない。他の考え? –