Posts

Sub Site Disappeared

I cam across such issue where subsite disappeared so I found this useful blog http://blogs.technet.com/b/fromthefield/archive/2013/08/28/the-magically-disappearing-sub-site.aspx

Efficient and Effective Collaboration with SharePoint

http://h30507.www3.hp.com/t5/Applications-Services-Blog/Efficient-and-Effective-Collaboration-with-SharePoint/ba-p/180228#.VOMKz_mUdP3

Update Master Page for apps

some times you can face issues with apps due to change in master pages The error happens when the master page of the parent site is applied to the app web  of the Sharepoint App. In my case I could reproduce this by reapplying the master page in the UI and selecting the  “Reset all subsites to inherit the master page option”.  # if no arguments added display error and exit if ($args.Length -eq 0) { Write-Host -ForegroundColor Red "Missing Required Argument" Write-Host -ForegroundColor Red "Usage - 'ResetAppMasterPages <<site collection url>>' " Exit 0 } $siteCollUrl =$args[0] Add-PSSnapin Microsoft.SharePoint.PowerShell -ERRORAction SilentlyContinue | Out-Null #start logging $LogFile = "$($FarmConfig.Farm.ScriptConfig.ScriptLoggingFolder)$($MyInvocation.MyCommand.Name.Replace('.ps1',''))-$(Get-Date -Format yyyy-MM-dd_h-mm-ss).txt" Start-Transcript -Path $LogFile -Force Start-SPAssignment -Global

5 PowerShell snippets for SharePoint branders

http://www.enjoysharepoint.com/Articles/Details/5-powershell-snippets-for-sharepoint-branders-218.aspx?utm_content=buffer33ae0&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer

Set Regional Setting SharePoint 2013 using Powershell

$siteURL = "http://siteURL" $site = Get-SPSite $siteURL  Write-host - starting for $siteURL   $web = $site.OpenWeb() $web.RegionalSettings.Time24 = $true $web.Update()

SharePoint 2013 – Office 365 Custom Metric

http://dotnetsifu.com/sharepoint-2013-office-365-custom-metric/ https://gallery.technet.microsoft.com/office/Read-most-popular-5fdc07fc

Get all workflows in all sites and lists

http://sharepointrelated.com/2011/11/21/get-all-workflows-in-all-sites-and-lists