Hoe Custom menu-item in Site aksies te skep

Die onderstaande voorbeeld funksie skep nuwe menu-item in Site menu aksies, Vervang asseblief die GUID in die onderstaande kode.

Monster funksie File

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

<Funksie

Id =”<GUID>”

Title =”Custom menu-item”

Beskrywing =” ”

Version=”1.0.0.0″

Scope=”Webwerf”

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

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Funksie>

Sample Elements file

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

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

<CustomAction Id=””

Groepid =”SiteActions”

Location=”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator =”WAAR”

Title =”My Blog”

Beskrywing =” ”

Volgorde =”1″>

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

</CustomAction>

</Elemente>

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

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

Laat 'n Antwoord

Jy kan gebruik maak hierdie HTML tags

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