SharePoint 2010 PeopePickerは、複数の試合がある場合に名前の選択肢があるドロップダウンを表示していません。

StackOverflow https://stackoverflow.com/questions/9024999

  •  14-11-2019
  •  | 
  •  

質問

シナリオ:People Picter Page Page

<wssawc:PeopleEditor AllowEmpty="false" AcceptAnyEmailAddresses="true" ValidateResolvedEntity="true"
    ShowButtons="true" ShowDataValidationErrorBorder="true" ShowEntityDisplayTextInTextBox="true"
    ShowErrorPlaceHolder="true" ValidatorEnabled="true" MultiSelect="false" ID="secondaryOwnerPicker"
    runat="server" SelectionSet="User" Width="40em" AllowTypeIn="true" DoPostBackOnResolve="false"
    EnableBrowse="true" ForceClaims="true" Title="Secondary Owner People Picker" UrlZone="Extranet"
    EnabledClaimProviders="ADClaimsProvider" />
.

複数の一致を持つ名前のユーザータイプと、SP2010 Central Adminで表示するように名前を上回るときに表示されるリストボックスは表示されません。赤い下線を持つ名前の上にマウスをマウスしたときに私が取得するメッセージは "Mulitple Entriesが一致し、解決してください"#:.赤い下線付きの名前をクリックすると何も起こりません。

私は何かが足りない?

update 名前をクリックした後、このJavaScriptエラーが表示され、複数の一致を解決しようとしています。

エラー:Camoptは定義されていません
ソースファイル: http://myserver/_layouts/entityEditor.js?REV= 1%2FJ%2BA5PO0XZXNRJXXVHOKG%3D%3D
線:2

役に立ちましたか?

解決

i already had webcontrols registered but needed to add a reference to the core.js file

<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

in the head add

<wssawc:ScriptLink ID="ScriptLink1" Language="javascript" Name="core.js" runat="server" />

include these two styles for the nice box with all the names found

<link rel="Stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/layouts.css" />
<link rel="Stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/corev4.css" />
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top