sharepoint - How do I use HideCustomAction to remove the "Site Contents" link from Quick Launch in SP2013? -
i've created feature should (according numerous articles) remove "site contents" link quick launch.
one problem: doesn't happen.
here's in elements.xml:
<?xml version="1.0" encoding="utf-8"?> <elements xmlns="http://schemas.microsoft.com/sharepoint/"> <hidecustomaction id="hidesitecontents" groupid="siteactions" hideactionid="menuitem_viewallsitecontents" location="microsoft.sharepoint.standardmenu"> </hidecustomaction> <customaction id="siteactionstoolbar" groupid="siteactions" location="microsoft.sharepoint.standardmenu" sequence="1000" title="added test button"> <urlaction url="javascript:alert('button added , working');" /> </customaction> </elements>
the test button added site settings menu (showing file read , working) can't remove site contents link this.
given constraints under, doing via feature acceptable solution - of course other means won't result in workable solution.
my guess deploying sandbox solution?
hidecustomaction needs deployed farm solution.
Comments
Post a Comment