Com crear element de menú personalitzat en Accions del lloc

La funció d'exemple següent crea un nou element de menú al menú Accions del lloc, Si us plau, substituïu el GUID en el codi de sota.

Mostra Característica Arxiu

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

<Característica

Id =”<GUID>”

Title =”Element de menú personalitzat”

Descripció =” ”

Version=”1.0.0.0″

Scope=”Lloc web”

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

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Característica>

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=”VERITABLE”

Title =”El meu blog”

Descripció =” ”

Sequence=”1″>

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

</CustomAction>

</Elements>

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.

Deixa una resposta

Vostè pot utilitzar aquestes etiquetes HTML

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