Como crear elemento de menú personalizado en Accións do sitio

O recurso de exemplo a seguir crea un novo elemento de menú no menú Accións do sitio, Por favor, substitúe o GUID no código embaixo.

Recurso File Mostra

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

<Característica

Id =”<GUID>”

Title =”Elemento de menú personalizado”

Description =” ”

Version =”1.0.0.0″

Scope =”Website”

= Oculta”Falso” xmlns =”http://schemas.microsoft.com/sharepoint/”>

<ElementManifests>

<ElementManifest

Location =”elements.xml” />

</ElementManifests>

</Característica>

Arquivo de elementos da mostra

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

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

<CustomAction Id =””

GroupID =”SiteActions”

Location =”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator =”CERTO”

Title =”O meu Blog”

Description =” ”

Secuencia =”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.

Deixe unha resposta

Pode usar estas etiquetas HTML

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