Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Site Action Menu

Posted on 2011-03-22
5
Medium Priority
?
547 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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. …
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses

886 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