SharePoint 2010 PeoplePicker no muestra la caída con opciones de nombres cuando hay más de un partido

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

  •  14-11-2019
  •  | 
  •  

Pregunta

Escenario: Control del selector de personas en una página ASPX.

<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" />

Los tipos de usuarios en un nombre que tiene múltiples coincidencias y no hay un cuadro de lista que aparece cuando se aparece cuando se muestre el mouse para resolverlo como lo haría en el administrador central SP2010.El mensaje que obtengo cuando el mouse sobre el nombre con el subrayado rojo es "Mulitple Entries Match, por favor, resuelva".No pasa nada cuando hago clic en el nombre subrayado rojo.

¡Estoy perdiendo algo?

actualización Veo este error de JavaScript después de intentar hacer clic en el nombre para resolver múltiples coincidencias:

Error: CampoPt no está definido
Archivo de origen: http://myserver/_layouts/entityeditor.js?rev= 1% 2FJ% 2BA5PO0XZXNRJXXVHOKG% 3D% 3D
Línea: 2

¿Fue útil?

Solución

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" />
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top