I’ll be talking on SharePoint Saturday Bangalore



Hello Folks,


We’re all set for SPS (SharePoint Saturday) Bangalore on Sep 1st 2018 at Microsoft’s new Office in Bangalore where I would be taking on How to build intelligent Azure Bot using Cognitive Services i.e. LUIS and QnA Maker with SharePoint Online . If you’re interested in attending this event , please use the link below to enroll yourself . We have many great sessions lined up for you on SharePoint and Office 365 .
See you all on Sep 1st ….
Happy Coding

Turn OOTB Comment Section From SharePoint Online Modern Page On or Off

The comments section is an important part of any webpage. It appears in all the modern pages by default. However, we can easily turn this feature on or off using the below simple steps.
Step1
Edit the page.

Step 2
The page owner can see the "Turn on or off" option parallel to the comment section.
Step 3
Select the Turn Off toggle.

Step 4
Publish the page and you will not see any comment section.


Happy Coding.

Remove Header Image Banner From SharePoint Modern Pages

SharePoint Online Modern pages have header image banners in all modern pages;  i.e., Communication or Team Sites. Header image banner needs a background image or text, it takes almost 40% of the page, and we can’t remove this section using User Interface.






If you want to turn this section ON or OFF, it is possible using PnP PowerShell command. Basically, it allows us to change the page layout from Article to Home. The homepage layout doesn’t have a header image banner section.
Remove the Header Image Banner Section
Open SharePoint Online Management Shell and run the below command in sequence.
  1. # Connect to the site  
  2. Connect-PnPOnline https://mittal1201.sharepoint.com/sites/teamsite  
  3. # List all pages, and find the id of the modern page  
  4. Get-PnPListItem -List SitePages  
  5. # Change layout from "Article" to "Home" to remove top banner  
  6. Set-PnPListItem -List SitePages –Identity <id> -Values @{"PageLayoutType"="Home"

Screenshot for your reference.


After executing this command, refresh the page. You will not find the header image banner.


Happy Coding.