SharePoint 2010 PeoplePicker가 두 개 이상의 일치가있을 때 이름 선택으로 드롭 다운을 표시하지 않습니다.
-
14-11-2019 - |
문제
시나리오 : ASPX 페이지에서 People Picker 컨트롤
<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에서 할 수 있습니다.빨간색 밑줄이있는 이름을 마우스를 마우스로 마우스를 올려 놓으면 "해결 해주세요."라는 메시지가 나타납니다.빨간색 밑줄이 그어진 이름을 클릭하면 아무 일도 일어나지 않습니다.
나는 뭔가를 놓친가?
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" />
제휴하지 않습니다 StackOverflow