/
0
Adding custom action to Personal Actions menu of SharePoint 2010
This example shows how to create a custom action menu item to PersonalActions menu. In order to create custom action menu item we need an empty element and a feature.
Now, let’s us start step by step.
Create an Empty SharePoint Project in Visual Studio 2010. Name the project as “MyCustomAction_PersonalActions”.
Now, in the SharePoint Customization Wizard, type the url of the SharePoint site and Click Validate. After connecting successfully to the SharePoint site, select Deploy as a Farm Solution option and Click Finish.
Now, right click on the project in the solution explorer and select Add -> New Item.
In the Add New Item dialog box select Empty Element and name it as “MyCustomActionElement” and click Add.
This adds the empty element and a feature to the project. Now, in the Elements.xml add the following code
Now, let’s us start step by step.
Create an Empty SharePoint Project in Visual Studio 2010. Name the project as “MyCustomAction_PersonalActions”.
Now, in the SharePoint Customization Wizard, type the url of the SharePoint site and Click Validate. After connecting successfully to the SharePoint site, select Deploy as a Farm Solution option and Click Finish.
Now, right click on the project in the solution explorer and select Add -> New Item.
In the Add New Item dialog box select Empty Element and name it as “MyCustomActionElement” and click Add.
This adds the empty element and a feature to the project. Now, in the Elements.xml add the following code
That’s it. Now you can deploy the solution and test it.
Enjoy this article?
Tagged as:
SharePoint 2010
0
comments
Comments (0)
Subscribe to:
Post Comments (Atom)
Translate
Labels
- ASP.NET (4)
- Cookies (1)
- FileUpload Control (1)
- Office 2010 Errors (1)
- Password Generator (1)
- SharePoint 2010 (4)
Followers
About Me
Powered by Blogger.