Solved

Site Action Menu

Posted on 2011-03-22
5
533 Views
Last Modified: 2012-06-21
Hello All,

I'm am using wspbuilder to create a feature that is supposed to add an option to the "Site Actions" menu. The option(Brand Sites) appears in the "Site Action" but when I click on it, I get
The webpage cannot be found  HTTP 404 error


Below is my feature.xml and elements.xml files.

lso, I have a folder called "brandFile" with the siteBranding.aspx in it.

Any guidance would be appreciated.  Thanks.
FEATURE.XML
<?xml version="1.0" encoding="utf-8"?>
<Feature  Id="d733c5d3-3d61-4e0c-af9e-864600fdb9dd"
          Title="BrandingFeature"
          Description="Branding of site and sub sites"
          Version="12.0.0.0"
          Hidden="FALSE"
          Scope="Site"
          DefaultResourceFile="core"
          xmlns="http://schemas.microsoft.com/sharepoint/">
  <ElementManifests>
    <ElementManifest Location="elements.xml"/>
    <ElementFile Location="BrandingFeature.webpart" />
    <ElementFile Location="brandFile/siteBranding.aspx" />
  </ElementManifests>
</Feature>


ELEMENTS.XML
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="WebPartPopulation" Url="_catalogs/wp" RootWebOnly="TRUE">
    <File Url="BrandingFeature.webpart" Type="GhostableInLibrary">    
      <Property Name="Group" Value="MyGroup"></Property>
      <Property Name="QuickAddGroups" Value="MyGroup" />
    </File>
    <File Url="brandFile/siteBranding.aspx"
      Type="Ghostable"
      IgnoreIfAlreadyExists="FALSE"/>
  </Module>
  <CustomAction Id="SiteActionsToolbar"
                GroupId="SiteActions"
                Location="Microsoft.SharePoint.StandardMenu"
                Sequence="10000"
                Title="Brand Sites">
    <UrlAction Url="brandFile/siteBranding.aspx"/>
    
  </CustomAction>
    </Elements>

Open in new window

0
Comment
Question by:Isaac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:Minesh Shah
ID: 35195979
ok, have you deployed the feature...
can you see it in central admin.... also share which sp version u are using...
0
 
LVL 5

Author Comment

by:Isaac
ID: 35196122
it's deployed and it's in CA.
Sharepoint 2007 is what I am using.
0
 
LVL 10

Expert Comment

by:Minesh Shah
ID: 35196522
can you see the same feature in site collection features of site in which you are clicking site actions..
0
 
LVL 10

Accepted Solution

by:
Minesh Shah earned 500 total points
ID: 35196592
0
 
LVL 5

Author Comment

by:Isaac
ID: 35198246
Yes...

It looks like I have to place my file in the _layout folder. hmmm......  That does not seem right but I'll give it a try.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question