SharePoint Online: Remove Web Part from Page using PowerShell

Requirement: Remove web part from a page in SharePoint Online using PowerShell How to Delete a Web Part from a SharePoint Online Page? Web parts are the widgets to show information, add business functionality, implement the process, act as an interface to databases or provide any other application-specific functionality. Web parts on…

Read more

Style SharePoint 2016 List View Web Part with Custom CSS

Requirement: Add a custom style to SharePoint 2016’s standard list view web part to make it look like a dashboard! By default, the SharePoint list view web part looks dull, isn’t it? So, let us add some custom CSS to the SharePoint 2016 list view to make it look like a dashboard!…

Read more

How to Reload SharePoint Page Every 60 Seconds Automatically with JavaScript?

Requirement: I was required to reload the Intranet SharePoint site’s home page for a monitoring dashboard every five minutes. Solution: Use this JavaScript placed in a Script editor or content editor web part to refresh a SharePoint page every 60 seconds. Here is how to refresh the current page in SharePoint, step…

Read more

Remove a Web Part from All Pages in SharePoint Site Collection using PowerShell

Requirement: After the SharePoint migration from SharePoint 2013 to SharePoint 2016, we decided to remove a broken web part from all pages wherever it’s being used. How to Remove a Web Part from Page in SharePoint? To remove a web part from the page, you can edit the page and simply delete…

Read more

Find All Web Parts in Use in a SharePoint Site using PowerShell

Requirement: Generate a report to get the Inventory of all web parts in use, in a SharePoint site collection. PowerShell script to generate web parts in use in a site collection: This script gets all web parts in a site collection and generates a report in CSV format. How to find a…

Read more

How to Create a Web Part Page in SharePoint 2013 / 2016?

To create a web part page in SharePoint, follow these steps: Go to your SharePoint site >> Click on “Site Contents” link from Left navigation >> Click on “Site Pages” library.  Go to the “Files” tab, expand the New Document drop-down list and click on the “Web Part Page” Enter the Name…

Read more

Expand Collapse SharePoint Web Parts using jQuery

Requirement: Expand Collapse SharePoint list view web parts in Home page. Solution: We can implement Expand collapse functionality in SharePoint 2013 using jQuery. Here is how to expand/collapse web parts in SharePoint using jQuery. Just grab the IDS of List view web part (WebPartWPQ3) and Web part header (in my case: WebPartTitleWPQ3)…

Read more

SharePoint Web Part Usage Report – Find All Locations where a Particular web part is being Used

During Migration, I had to get the URLs where a particular web part is being used. So, Used this PowerShell script to generate the SharePoint web part usage report. This script made compatible with SharePoint 2007, So it can be used in SharePoint 2010 and in SharePoint 2013 as well. Don’t forget…

Read more

SharePoint 2013 “Get Started with your site” Web Part – FAQs

“Getting Started” tiles are new addition to SharePoint 2013 team sites. These tiles intend to provide shortcuts to common actions, such as sharing your site, applying a theme. In SharePoint 2013, They replaces the “Getting Started” links from its previous version: SharePoint 2010. Disable Getting Started Web Part: From the home page…

Read more

Update Web Part Properties using PowerShell in SharePoint

Ever wanted to update SharePoint web part properties programmatically? After a company acquisition, We had to change the company name from a custom web part’s title, throughout the web application. SharePoint update web part properties using PowerShell:  Update Web Part Properties in entire Web Application: Say, we want to update all web…

Read more