title: How do I use HideCustomAction to remove the "Site Contents" link from Quick Launch in SP2013?
body: <p>I've created a feature which should (according to numerous articles) remove the "Site Contents" link from the Quick Launch.</p>
  
  <p>One problem:  This doesn't happen.</p>
  
  <p>Here's what is in my elements.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt;
  
    &lt;HideCustomAction
      Id="HideSiteContents"
      GroupId="SiteActions"
      HideActionId="MenuItem_ViewAllSiteContents"
      Location="Microsoft.SharePoint.StandardMenu"&gt;
    &lt;/HideCustomAction&gt;
  
    &lt;CustomAction Id="SiteActionsToolBar" GroupId="SiteActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="1000" Title="Added test button"&gt;
      &lt;UrlAction Url="javascript:alert('Button was added and working');" /&gt;
    &lt;/CustomAction&gt;
  &lt;/Elements&gt;
  </code></pre>
  
  <p>The test button is added to the site settings menu (Showing that the file is read and working) but I can't remove the Site Contents link like this.</p>
  
  <p>Given the constraints I am under, doing this via a feature is the only acceptable solution - I could of course do it by some other means but that won't result in a workable solution.</p>