Create your own Visual Studio Code snippets

Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. In Visual Studio Code, snippets appear in IntelliSense (Ctrl+Space) mixed with other suggestions, as well as in a dedicated snippet picker (Insert Snippet in the Command Palette). There is also support for tab-completion: Enable it with “editor.tabCompletion”: “on”, type […]

Read more >

How to add go back link to my site in SharePoint 2013

We can use this PowerShell script to change SuiteBarBrandingElementHtml: $webapp = Get-SPWebApplication | where {$_.displayname -eq “SharePoint Portal” } $webapp.SuiteBarBrandingElementHtml = ‘<div class=”ms-core-brandingText”><a style=”color:#fff;text-decoration:none;” href=”/”>Contoso</a></div>’ $webapp.Update() References: http://www.wictorwilen.se/sharepoint-2013-central-administration-productivity-tip    

Read more >

List all Sites where a feature is activated with PowerShell

Quick note because it seems like a lot of people are looking for this. I was dealing with a badly behaving feature but had to find all the places it was installed on a fairly ornate farm. Here’s what I finally came up with: Get-SPSite -limit ALL | Get-SPWeb -limit ALL | foreach{ $_.features[“GUID”] } […]

Read more >

Switch language in SharePoint 2013

In SharePoint 2010 we are able to switch the language of a site when additional language packs are installed. This option is not available in the welcome control. So how do you change the language of a site. Switching the language in SharePoint 2013 is moved to the language settings of the browser. So, to […]

Read more >

Sign in as a Different User in SharePoint 2013

SharePoint 2010 had an option “Log in as another user.” In 2013, this option (default) is not present. With a little modification you can retrieve this option. Navigate to the “Login as a different user page” A quick way to go to the page is to adjust the URL. Go to the following URL. http://<siteURL>/_layouts/closeConnection.aspx?loginasanotheruser=true […]

Read more >

Sync to SharePoint Workspace option not visible for one user

Problem One of our users cannot see the option to “Sync to SharePoint Workspace” in on of our sites. However, I can see the option and also sync the site without any problems. Possible solution First, please ensure the user is using the Internet Explorer browser 7 or higher to open his team site. Second, […]

Read more >

Enable Session State in SharePoint 2010

If you are trying to use session state in SharePoint 2010 to store data for use in web parts, application pages, etc. you may encounter the error below if session state is not properly configured and enabled for the web application. Session state can only be used when enableSessionState is set to true, either in […]

Read more >