Add a Notification Message in Top Banner of the SharePoint Site using PowerShell

Requirement: Add a message to the top banner area of a SharePoint site collection PowerShell to Add Site Notification Message in SharePoint: After migrating from SharePoint 2013 to SharePoint 2016, we wanted to add a message at the top banner of a migrated site. To Set a notification at the web level,…

Read more

How to Remove Custom Action in SharePoint using PowerShell?

Requirement:  Remove a Custom Action in SharePoint using PowerShell. Delete Custom Action using PowerShell in SharePoint Here is how to remove custom action in SharePoint 2013 using PowerShell: To delete all custom actions from the given scope, simply remove the “Where” class from the script! Let’s make it a re-usable function: My…

Read more

How to Add a Custom Action in SharePoint using PowerShell?

Requirement: Add Custom Action using PowerShell in SharePoint. PowerShell to create a User Custom Action in SharePoint: Here is the PowerShell to add user custom action – which adds a link to the site settings menu. And the result of user custom action: Here is another post to add user custom action…

Read more

SharePoint Online: Hide a Ribbon Button using Custom Action in PowerShell

Requirement: SharePoint Online Hide New Document Button in the ribbon. PowerShell to Add Custom Action to Hide New Document Button of a Library Here is the PowerShell to hide the new button in the SharePoint Online document library: This hides the new document button of the given document library in SharePoint Online….

Read more

SharePoint Online: Remove Custom Action Using PowerShell CSOM

Requirement: Delete a Custom Action in SharePoint Online using PowerShell. SharePoint Online: PowerShell to Remove Custom Action Here is the PowerShell CSOM script to remove custom action: This deletes all custom actions with the provided title. You can get and delete them using their name, ID, or other parameters as well. PnP…

Read more

SharePoint Online: Add Custom Action using PowerShell

Requirement: Create Custom Action in SharePoint Online using PowerShell. How to Add Custom Action in SharePoint Online? User custom action in SharePoint Online is recommended to customize the user interface, such as adding a new link to the Site Settings page, adding menu items, ribbon buttons-groups, and injecting JavaScript or CSS to…

Read more

SharePoint Online: How to Inject CSS using Custom Action in PowerShell?

Requirement: Add Custom CSS to SharePoint Online without editing the Master page. PowerShell to Add CSS to SharePoint Online: Adding custom CSS to your SharePoint Online site can help you customize the look and feel or apply branding to your site and make it more visually appealing. You can use PowerShell to…

Read more

SharePoint Online: PowerShell to Inject JavaScript using Custom Action

Requirement: Inject JavaScript into SharePoint Online using PowerShell. SharePoint Online Inject JavaScript using PowerShell: Let’s insert JavaScript to SharePoint Online using PowerShell without modifying the Master page! This inserts the JavaScript under the ⁣<head> tag. This adds JavaScript to site-wide! If you want to add a piece of JavaScript to a modern…

Read more

Add a Link to Site Settings Page in SharePoint 2010

There was a requirement to get list owners info who created the lists, we developed a custom application page in SharePoint 2010: How to Create Custom Application Page in SharePoint 2010 to get List Owners But the link to the application page to be placed somewhere on the site for easy access…

Read more