Tag Info

New answers tagged

0

There is a way to achieve this by posting to the people picker REST api. So maybe you can build your own people picker to do the manipulation instead of relying on the OOB people picker. Note: Replace <termtosearch> with the the appropriate term you want to search the result set with. $.ajax( { ...


0

Try wrapping your JavaScript inside the SharePoint 'ready' function: <script> function _spBodyOnLoad() { var pickerPeople = SPClientPeoplePicker.SPClientPeoplePickerDict['<ID of my people picker>'].GetAllUserInfo(); if (pickerPeople.length > 0) { alert("User: " + pickerPeople[0].DisplayText); } } </script> Not sure ...


0

try to enclose your code in _spBodyOnLoadFunctions.push(function(){ // code to capture people picker value }); Or use JSLink to add PostRender callback ovverideCtx.OnPostRender = function(ctx){ //code here };


0

Actually it is alot easier - You can access a normal peoplepicker in SP2013 the same way you would access a clientside one. The Problem is, that you need to know the ID to identify the peoplepicker. Alternatively you can iterate over the global Object containing the PeoplePicker's. If you check out the SPClientPeoplePicker.SPClientPeoplePickerDict object ...


0

If you look at the hidden User Information List in SharePoint (located at http://<SiteCollectionUrl>/_catalogs/users/detail.aspx) and the user isn't in the list, then s/he won't show up in people picker. Like @Mike said, you'll need to run the User Profile Synchronization Service in Central Admin or through PowerShell to sync everything up. In short, ...


0

I have created a people picker by customizing ngTagsInput. view <tags-input ng-model="vm.newTask.assignedUsers" display-property="Name" placeholder="Pick User" add-from-autocomplete-only="true" replace-spaces-with-dashes="false"> <auto-complete ...


0

You need to use client-side people picker control for SharePoint wrapped in an AngularJS directive there are few links which may help you https://github.com/jasonvenema/sharepoint-angular-peoplepicker https://github.com/matthewyarlett/AngularJS-Directive-for-SharePoint-People-Picker


0

You need to run a user profile synchronization service sync. The problem is that the user information list is not sync'd throughout all the web applications. Also, make sure the user profile service application is in the service association that the web application uses.


1

Refer this from Microsoft try this : <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink name="clienttemplates.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="clientforms.js" runat="server" LoadAfterUI="true" Localizable="false" /> ...


0

Either the user account has not been synchronized yet or You have to click on "No exact match found" in order to view more.


0

Ah, after sorting through so many posts on this topic, all of which just give some clues, I finally managed to work it out courtesy of the PF12 debugger and trying to put the jigsaw puzzle together. Here is the scenario: I wish to record a userid and their office two separate fields in my list. In defining the columns, I specify that I want different show ...



Top 50 recent answers are included