Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Wednesday, 28 November 2012

Adding Items to the Welcome Menu in SharePoint 2010


Adding a new menu item to the SharePoint welcome/user menu is fairly straight forward.

Thanks to Sohels blog for pointing me in the right direction.

First create a new empty SharePoint project in Visual Studio 2010, call it "MenuItemProject".



2011-08-30-AddingItems-01.jpg


Deploy as a farm solution and click finish.


2011-08-30-AddingItems-02.jpg

Add a feature to the project. In the solutions explorer box, right click on the feature node and add feature.


2011-08-30-AddingItems-03.jpg

Also in the solution explorer, right click the top menuItemProject node and add > new item.


2011-08-30-AddingItems-04.jpg

Add an empty Element called "MenuAdditionElement".


2011-08-30-AddingItems-05.jpg

Once added, open the menuAdditionElement > Elements.xml file.


2011-08-30-AddingItems-06.jpg
Replace the Elements.xml code with the following:


<?xml version="1.0" encoding="utf-8"?>
 <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <CustomAction
   Id="myCustomAction"
   GroupId="PersonalActions"
   Location="Microsoft.SharePoint.StandardMenu"
   Sequence="1000"
   Title="Google"
   Description="Search away">
     <UrlAction Url="http://www.google.com"/>
   </CustomAction>
 </Elements>

Save the Elements.xml file and then in the solutions explorer double click on the feature1.feature node.


2011-08-30-AddingItems-07.jpg

Ensure the MenuAddition Element is included in the items in the feature.


2011-08-30-AddingItems-08.jpg


Deploy the solution to your SharePoint server.

Once deployed, refresh your site home page and the new menu item should be visible.






KendoUI Chart using in AngularJS with Dynamic data

Here i'm going to do the KendoUI Chart using AngularJS  and getting dynamic data from angular services. First need to down-lode the r...