Empty SharePoint Recycle Bins Programmatically with PowerShell

August 30, 2012    , , , , ,
Requirement: Empty recycle bin in SharePoint In a Database attachment method migration project, we decided to clear all the recycle bins to get some additional free space in databases. There were 3000+ site collections. Automation? SharePoint Automation = PowerShell :-) Empty SharePoint S…

Empty SharePoint Recycle Bins Programmatically with PowerShell Empty SharePoint Recycle Bins Programmatically with PowerShell Reviewed by Salaudeen Rajack on August 30, 2012 Rating: 5
Create Shortcut in SharePoint Document Library Create Shortcut in SharePoint Document Library Reviewed by Unknown on August 23, 2012 Rating: 5

Creating Dependent Features in SharePoint

August 21, 2012    ,
In a recent project, had to create a feature which provisions bunch of Lists, Libraries and Pages with custom web parts. Those custom web parts also deployed as feature based solutions. So the requirement is: Activate the features which brings the custom web parts first, and then activate the fe…

Creating Dependent Features in SharePoint Creating Dependent Features in SharePoint Reviewed by Salaudeen Rajack on August 21, 2012 Rating: 5

Install Features Programmatically in SharePoint

August 16, 2012    , ,
Generally, we use STSADM command line to Install features by STSADM –o installfeature –name FeatureName . or Install-SPFeature PowerShell Cmdlet. At times, we may have to execute stsadm programmatically to install a Feature. Say for e.g. from console applications or from another feature activat…

Install Features Programmatically in SharePoint Install Features Programmatically in SharePoint Reviewed by Salaudeen Rajack on August 16, 2012 Rating: 5
How to Create Site Columns Programmatically in SharePoint? How to Create Site Columns Programmatically in SharePoint? Reviewed by Salaudeen Rajack on August 12, 2012 Rating: 5
Deploy Custom List templates(.stp) as Feature based Solution in SharePoint Deploy Custom List templates(.stp) as Feature based Solution in SharePoint Reviewed by Unknown on August 10, 2012 Rating: 5
Delete Attachments from SharePoint List Items using Powershell Delete Attachments from SharePoint List Items using Powershell Reviewed by Unknown on August 04, 2012 Rating: 5

How to Add Web Parts to the Page Programmatically?

August 04, 2012    , ,
Requirement is to add OOTB and Custom web parts to a web part page programmatically via features. I'm sharing the code snippets: To Add Out Of The Box Web Parts: (E.g. Content Query Web Part, Content Editor, Page Viewer Web Part, etc): SPWeb web = properties.Featur…

How to Add Web Parts to the Page Programmatically? How to Add Web Parts to the Page Programmatically? Reviewed by Salaudeen Rajack on August 04, 2012 Rating: 5
SharePoint List Registration IDs Reference SharePoint List Registration IDs Reference Reviewed by Salaudeen Rajack on August 03, 2012 Rating: 5
Event Receivers vs Workflows - Decide Which One to Use Event Receivers vs Workflows - Decide Which One to Use Reviewed by Unknown on August 02, 2012 Rating: 5
Get SharePoint Recycle Bin Storage Size using PowerShell Get SharePoint Recycle Bin Storage Size using PowerShell Reviewed by Salaudeen Rajack on August 01, 2012 Rating: 5
Powered by Blogger.