Posts

Showing posts from 2018

SharePoint Framework (SPFx) - Dev Setup

Install node.js Click the Link to install node.js Node.js msi installer will also install npm package. After installed node.js msi, to make sure that whether the node and npm is installed, Please run the below command in command prombt node -v it will show the version of the node js installed in your computer To check whether npm installed, run the below command npm -v it will show the version of the npm installed in your computer Install yeoman and gulp After the above installation and check, run the below command to install  npm install -g yo gulp Note that if you are facing any issue while install the yeoman and gulp, Please re-start the computer and try. After successful installation, you will get this message "Everything looks alright"  Code Editor you may user any code editor that supports the client side development 1. Visual Studio Code 2. Atom 3. Webstorm  Hope this will helps you to set up the development environment.

Sharepoint People Picker control : "The control is not available because you do not have the correct permissions"

Image
Steps 1. Go to the SharePoint Group Settings page 2. Change the membership option to "Everyone" Hope this will helps you all !!!.

Bootstrap Tabs Selected on PostBack in .Net

Aspx page < div   id ="Tabs"   role ="tabpanel">      <!-- Nav tabs -->      < ul   class ="nav nav-tabs"   role ="tablist">          < li >< a   href ="#personal"   aria-controls ="personal"   role ="tab"   data-toggle ="tab"> Personal          </ a ></ li >          < li >< a   href ="#employment"   aria-controls ="employment"   role ="tab"   data-toggle ="tab"> Employment </ a ></ li >      </ ul >      <!-- Tab panes -->      < div   class ="tab-content"   style =" padding-top : 20px">          < div   role ="tabpanel"   class ="tab-pane active"   id ="personal">             This is Personal Information Tab          </ div >          < div   role ="tabpanel"   class ="tab-

Reset identity seed in SQL Server

 DBCC CHECKIDENT ('TableName', RESEED, 1000); 

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/web/GetUserById('"    + userId + "')/Groups" ,             method : "GET" ,               headers : { "Accept" : "application/json; odata=verbose" }                   } ) ;         return ajax ;      }   getCurrentUser ( ) . done ( function ( userId ) {    getUserGroups ( userId . d . Id ) . done ( function ( groups ) {      

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