Sut i Greu Ddewislen Eitem Custom yn Gweithrediadau Safle

Y nodwedd sampl isod yn creu eitem newydd dewislen mewn Camau Gweithredu Safleoedd ddewislen, Os gwelwch yn dda cymryd lle'r GUID yn y cod isod.

Sampl Ffeil Nodwedd

<?Fersiwn xml =”1.0″ amgodio =”UTF-8″?>

<Nodwedd

Id =”<GUID>”

Title =”Custom Ddewislen Eitem”

Disgrifiad =” ”

Version=”1.0.0.0″

Scope=”Gwefan”

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

<ElementManifests>

<ElementManifest

Location=”elements.xml” />

</ElementManifests>

</Nodwedd>

Sample Elements file

<?Fersiwn xml =”1.0″ amgodio =”UTF-8″?>

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

<CustomAction Id=””

GroupId=”SiteActions”

Location=”Microsoft.SharePoint.StandardMenu”

RequireSiteAdministrator=”GWIR”

Title =”My Blog”

Disgrifiad =” ”

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.

Ad a Ateb

Gallwch ddefnyddio tagiau HTML hyn

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