Solved

Site Action Menu

Posted on 2011-03-22
5
500 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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