Функцията по-долу проба създава нов елемент от менюто в менюто Действия за сайта, Моля, замени GUID в кода по-долу.
Примерен Feature на досието
<?XML версия =”1.0″ кодиране =”UTF-8″?>
<Особеност
Id =”<GUID>”
Title =”Custom в менюто”
Описание =” ”
Version=”1.0.0.0″
Scope=”Сайт”
Hidden=”False” xmlns=”HTTP://schemas.microsoft.com/sharepoint/”>
<ElementManifests>
<ElementManifest
Location=”elements.xml” />
</ElementManifests>
</Особеност>
Sample Elements file
<?XML версия =”1.0″ кодиране =”UTF-8″?>
<Elements xmlns=”HTTP://schemas.microsoft.com/sharepoint/”>
<CustomAction Id=””
GroupId=”SiteActions”
Location=”Microsoft.SharePoint.StandardMenu”
RequireSiteAdministrator=”TRUE”
Title =”Моят блог”
Описание =” ”
Sequence=”1″>
<UrlAction Url=”HTTP://www.mstechblogs.com/sharepoint “/>
</CustomAction>
</Elements>
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.