Posts

What’s New in SharePoint 2016: 11 Features You Need to Use

https://www.sherweb.com/blog/sharepoint-2016/

What is a SharePoint hub site?

https://support.office.com/en-us/article/what-is-a-sharepoint-hub-site-fe26ae84-14b7-45b6-a6d1-948b3966427f 

SharePoint 2013 REST call - Get Current User

function getCurrentUser ( ) {               var ajax = $ . ajax ( {        url :    _spPageContextInfo . siteAbsoluteUrl + "/_api/web/currentUser" ,        method : "GET" ,        headers : { "Accept" : "application/json; odata=verbose" } ,        error : function ( data ) {            console . log ( data ) ;            }          } ) ;        return ajax ; } function getUserGroups ( userId ) {       var ajax = $ . ajax    ( {             url :    _spPageContextInfo . siteAbsoluteUrl + "/_api/w...

Custom Date Formats in SharePoint XSL

Use the below code for " DD/MM/YYYY " format < xsl:value-of select ="ddwrt:FormatDate(@DueDate, 2057, 1)" /> Other date formats Output Locale Format 3/23/2009 1033 1 3/23/2009 12:00 AM 1033 2 Monday, March 23 2009 1033 3 12:00 AM 1033 4 Monday, March 23, 2009 12:00 AM 1033 7 3/23/2009 12:00:00 AM 1033 13 Monday, March 23, 2009 12:00:00 AM 1033 15 23/03/2009 2057 1 3/23/2009 12:00 AM 2057 2 23 March 2009 2057 3 00:00 2057 4 23/03/2009 00:00 2057 5 23 March 2009 00:00 2057 7 00:00:00 2057 12 23/03/2009 00:00:00 2057 13 23 March 2009 00:00:00 2057 15

SharePoint: Using PreSaveAction Function on custom list forms

https://social.technet.microsoft.com/wiki/contents/articles/31330.sharepoint-using-presaveaction-function-on-custom-list-forms.aspx 

Show calendar events in modal dialog in SharePoint 2013

Add the below code in the calendar view page using designer or add using script editor / content editor in the page where calendar view inserted < script src ="http://code.jquery.com/jquery-1.11.1.min.js" type ="text/javascript"></ script > < script type ="text/javascript">     $(document).ready( function () {         setInterval( function () {             $( "a[href*='DispForm.aspx']" ).each( function () {                 $( this ).attr( "onclick" , "openDialog('" + $( this ).text() + "','" + $( this ).attr( "href" ) + "')" );                 $( this ).attr( "href" , "javascript:void(0)" );                 $( this )....

Set sender name using SPUtility.SendEmail

SPWeb oWeb = SPContext .Current.Web; StringDictionary headers = new StringDictionary (); string strFromEmailID = "Name to display <" + fromEmailAddress + ">" ; headers.Add( "from" , strFromEmailID); headers.Add( "to" , toEmail); headers.Add( "subject" , _subject); headers.Add( "content-type" , "text/html" ); System.Text. StringBuilder strMessage = new System.Text. StringBuilder (); strMessage.Append(_body); SPUtility .SendEmail(web, headers, strMessage.ToString());