Sharepoint 2010 Backup and Cleanup Scripts with Notifications

Sharepoint 2010 Backup and Cleanup Scripts with Notifications

Simple scripts that you can automate with the Task Scheduler to backup/cleanup your Sharepoint 2010 farm with email notifications. Backup Script try { $today = (Get-Date -Format dd-MM-yyyy) #Location of the Backup Folder [IO.Directory]::CreateDirectory(“E:BackupDailyFarmBackUp$today”) # This will actually initiate the SPFarm backup. Backup-SPFarm -Directory E:BackupFullFarmBackup$today -BackupMethod full # Backup-SPFarm -Directory […]

Sharepoint 2010 Personalization Site and Global Navigation Audience Targeting

Sharepoint 2010 Personalization Site and Global Navigation Audience Targeting

For whatever reason; the Global Navigation in a Personalization Site template does not support Dynamic FlyOut menus OR Audience Targeting. I had added several custom links in my top navigation bar and audience targeted them according to specific user roles. All users, however, could see every link regardless of the […]

Dynamically Resize Sharepoint 2010 Report Viewer Web Part

Dynamically Resize Sharepoint 2010 Report Viewer Web Part

Came across this blog which shows how to dynamically resize a Reporting Services Viewer Web Part to fit the height of the content/report using JQuery. Here’s the code for completeness. For my execution, I placed this on an HTML page and call it through a Content Editor Web Part. <script […]

Selection is not a valid PerformancePoint content HotFix

Selection is not a valid PerformancePoint content HotFix

There is now a hotfix which addresses my previous post regarding PerformancePoint not setting the location on the web parts without user intervention in manually typing the correct location. The problem was a regression in the June 2011 CU that caused the asset picker to stop functioning properly http://support.microsoft.com/kb/2597936

Interactive Google Map Web Part for Sharepoint 2010

Interactive Google Map Web Part for Sharepoint 2010

I needed a way to display an interactive Google Map against a Sharepoint list over SSL. I did a slight modification to Mazin’s great Google Map Web Part on Codeplex. In MapWebPart.cs – Look for ResolveAddress function and add the following line at the top of function. ServicePointManager.ServerCertificateValidationCallback = delegate […]