Skip to main content

Posts

Showing posts from April, 2015

Save SharePoint 2013 publishing site as a template

We all know that SharePoint doesn’t support saving publishing sites as a template . I don’t recommend doing that anyway as the produced template will have errors and isn’t reliable to be used in production to create new sites off of. However, sometimes as a developer you need to save a publishing site as a template to see how SharePoint packages things. This can help you build your own custom web template which is a neat thing and replaces the need to save a publishing site as template. Well, since the Save site as a template option is hidden from the publishing sites settings page we all used the following URL to go there directly: /_layouts/savetmpl.aspx Or /_layouts/15/savetmpl.aspx Well, that is not going to work anymore in SharePoint 2013 if your site is a publishing site or have the publishing features activated . You basically get that following error: The “Save site as template” action is not supported on this site. In order to get around this issue yo

Sign in as different user in SharePoint 2013

It’s been noted that the “Sign in as a Different User” menu command is missing in SharePoint 2013 (e.g., see  http://dirkvandenberghe.com/2012/07/18/sharepoint-2013-login-as-a-different-user.html ). One suggestion for a fix can be found here:  http://www.little.org/blog/2012/07/17/launch-your-web-browser-as-another-user/ . This “Sign in as Different User” menu item is very useful when testing applications, but it can lead to problems especially when opening documents, say in Microsoft Word. So, it may be for these reasons that the option has been removed in SharePoint 2013. You can add the menu item back in, but I would suggest only doing this on test or development SharePoint servers. To do this, repeat this edit on all servers in your SharePoint farm: Locate the file \15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx and open in a text editor. Add the following element before the existing element with the id of “ID_RequestAccess”: 1 2 3 4 5 6 7 <SharePoint