Create a Custom Action for a specific list via Visual Studio 2013 in SharePoint 2013

In this article, I will demonstrate How to Create a Custom Action for only one List via Visual Studio 2013 in SharePoint 2013.

Scenario,

I need to add a new Tab to Display Form Ribbon for only one list in SharePoint 2013 to be like this :

Custom Action Tab at display form

Steps : Continue reading “Create a Custom Action for a specific list via Visual Studio 2013 in SharePoint 2013”

Advertisements

Create Custom WebPart Property for SharePoint Visual WebPart

In this hint, I will explain How to create a custom WebPart property within Visual WebPart properties via Visual Studio in SharePoint 2010 /2013.

Scenario:

I have been created a new Visual Web Part “QuickNews” within SharePoint 2013 via Visual Studio Community 2013 to show all related news based on a project ID field as a property in Web Part properties as shown below.

Web Part Settings - custom property

Steps : Continue reading “Create Custom WebPart Property for SharePoint Visual WebPart”

An error occurred while trying to load a required component. Please ensure that the following prerequisite component is installed: Microsoft Exchange WebServices

I have been developed a SharePoint solution via Visual Studio Community 2013 and Office Developer Tools for Visual Studio Community 2013, when I tried to deploy it, I got the following error:

An error occurred while trying to load a required component. Please ensure that the following prerequisite component is installed: Microsoft Exchange WebServices

Microsoft Exhanage Webservices

I tried to deploy the SharePoint solution again. but unfortunately, I got another error:

predeploymentcommand error

Cause: Continue reading “An error occurred while trying to load a required component. Please ensure that the following prerequisite component is installed: Microsoft Exchange WebServices”

Couldn’t find office/SharePoint template in Visual Studio Community 2013

I am using Visual Studio Community 2013  to develop a SharePoint Solutions, but unfortunately, I couldn’t find Office/SharePoint Template to create a new SharePoint solution via Visual Studio Community as shown below:

Office SharePoint Template missing in visual studio community 2013Cause: Continue reading “Couldn’t find office/SharePoint template in Visual Studio Community 2013”

Visual Studio requires the application to have elevated permissions

During opening Visual Studio, I got the following error message 

This task requires the application to have elevated permissions

This task requires the application to have elevated permissions during opening Visual Studio

Cause: Continue reading “Visual Studio requires the application to have elevated permissions”

SharePoint Workflow Designer Fails to Load in Visual Studio 2013

I am working on SharePoint Server 2013 with Workflow Manager,When I tried to create a new empty SharePoint solution then I added a workflow item where the workflow designer faild to show activity,I tried to build the solution but unfortunately, I got the following error:

Workflow Manager Tools need to be installed to build this project.

SharePoint Workflow Designer Fails to Load in Visual Studio 2013

Cause: Continue reading “SharePoint Workflow Designer Fails to Load in Visual Studio 2013”

How I can comment / uncomment my code from ToolBar in Visual Studio 2012 / 2013

Oh my god,The comment button in Visual Studio 2012/2013 tool bar is missing!

VS Tool Bar

Cause: Continue reading “How I can comment / uncomment my code from ToolBar in Visual Studio 2012 / 2013”