Kako stvoriti Custom Menu predmeta na stranice Akcije

The below sample feature creates new menu item in Site Actions menu, Please replace the GUID in the below code.

Sample Feature File

<?xml version=”1.0″ encoding=”utf-8″?>

<Feature

Id=”<GUID>”

Title=”Custom Menu Item”

Description=” ”

Version=”1.0.0.0″

Scope=”Website”

Hidden=”False” xmlns=”http://schemas.microsoft.com/sharepoint/”>

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Feature>

Sample Elements file

<?xml version=”1.0″ encoding=”utf-8″?>

<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>

<CustomAction Id=””

GroupId=”SiteActions”

Location=”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator=”TRUE”

Title=”Moj Blog”

Description=” ”

Sequence=”1″>

<UrlAction Url=”http://www.mstechblogs.com/sharepoint “/>

</CustomAction>

</Elements>

1 comment to How to Create Custom Menu Item in Site Actions

  • bok, thank you for this astonishing information. Therefore, I would like to ask for your accept to add some of this information in my blog. Naravno, I will provide a link to your website, as a source of my quoted information.

Dopust jedan Odgovor

Možete koristiti te tags HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>