Tag Info

New answers tagged

1

The answer to this problem is solved by retrieving the site collection administrator. private static void AddManagerToList(SPSite site, string listTitle) { try { var web = site.OpenWeb(); var list = web.Lists.TryGetList(listTitle); if (list != null) { ...


1

Their is no OOTB way to convert the Public site into team site as both using the different template. Now two things you can do. Create a team site and move all the content manually Use the 3rd party tool to convert it. you can try Sharegate, Metalogix.


2

Go to Site Content Types, then, go to the Document Content Types section Click Document in that section Click Advanced on the Site Content Types for that content type In the Read Only section of that page click YES Click OK Source: Geoff Evelyn's answer here: ...


0

This might also help someone: Get-SPSite -Limit All| Where-Object {(Get-SPFeature "PublishingSite" -ErrorAction SilentlyContinue -Site $_.Url) -ne $null } | Select Url Taken from this blog post. See full reference: https://technet.microsoft.com/en-us/library/ff607945.aspx


0

Ok. So this answer is long overdue, but here is what I found out. Apparently the web that is created, has some code-behind to do that and a lot of other things, so that is why I was getting the error. I could not do anything about that, so I instead created a thread to do my dirty work and waited 10 seconds before doing so. Here is my implementation: ...



Top 50 recent answers are included