Posts

Set default value for People Picker via JavaScript

First open entry form (NewForm.aspx / EditForm.aspx / DispForm.aspx) in advanced mode in sharepoint designer. Then search for tag : <asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server"> Now copy & paste this JavaScript code after this tag : <script type="text/ecmascript">  //Function search for people picker by its no and set default value string type  //If we have 2 people picker in entry form & we want to set value to 2nd no. then "pickerNo=2"  function fillPeoplePickerWithCurrentUser(pickerNo,userLoginName )    {       if(userLoginName != null)       {          var pp = getPickerImputElement(pickerNo);             if(pp != null)          {            pp.innerHTML = userLoginName;          }       }    }   function getPickerImputElement(pickerNo)   {     var result = '';     var divs = document.getElementsByTagName('DIV');     var j = 0;      for(var

SharePoint Interview Questions and Answers

SharePoint Interview Questions and Answers Get More Questions and Answers Q What is SharePoint? Ans SharePoint is a browser based document collaboration platform given by Microsoft. Q What are features of SharePoint 2010? Ans Some features are : ·          Document Collaboration ·          Enterprise Search FAST Search ·          New Enhance Web Part ·          Ready made Silver Light web part ·          Business Connectivity Services ·          Social Media Investments ·          Large lists ·          Enhanced collaboration features ·          Visio Services ·          Usage reporting and logging ·          Better Network Differencing & SharePoint Offline in SharePoint Workspace ·          High Availability/ Disaster Recovery Innovation ·          Admin Insights through the Logging & Usage database, and dev dashboard ·          Service Applications ·          SharePoint Designer Enh