Visual Studio is an integrated development environment (IDE) from Microsoft.

learn more… | top users | synonyms

2
votes
1answer
1k views

How to disable project migration dialogue when opening a SharePoint 2010 project?

We need to develop for SharePoint 2013 and SharePoint 2010 concurrently, so I installed Windows Server 2012 on my machine with a SharePoint 2013 installed, because of the downward compatibility of ...
2
votes
0answers
62 views

visual studio workflow

So I tried to follow the tutorial on the following site: ...
2
votes
0answers
635 views

Upload clickonce to sharepoint

I'm following this tutorial to upload a clickonce application to sharepoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
2answers
3k views

The name 'SharePointContextProvider' does not exist in the current context

I have a Basic Provider Hosted App (which is an on premise hosted app). It has been integrated with SP2013 and hello world Page is working fine. But when I wanted to develop the actual part, I have to ...
1
vote
1answer
786 views

Package designer is missing from visual studio solution

I have a Visual Studio 2012 having a SharePoint solution. Somehow, I was missing the Package folder in the solution. I got it back from the Source Control Explorer as the solution is saved in to the ...
1
vote
1answer
3k views

Error while deploying SP2013 Workflow from VS2012: NullReferenceException

I developed two features, one should deploy a workflow. After hitting F5 in Visual Studio 2012, I get a NullReference-Exception. Here is the output shown: ------ Deploy started: Project: ...
1
vote
2answers
101 views

Visual Studio and Sharepoint development

GIVENS: - We run Sharepoint 2010. - No one here has ever used Visual Studio here to enhance Sharepoint. - They want to stick with SP 2010. QUESTIONS: - Is there any advantage to using Visual Studio ...
1
vote
2answers
607 views

“Feature has conflicting event reciever settings” error

I am new to SharePoint so I apologize if this is not phrased properly, but I created a BDC to a SQL database in Visual Studio 2012. I am trying to have the list created programmatically through an ...
1
vote
2answers
702 views

How to get rss feeds programmatically?

I want to get rss feeds from multiple sources and store into the list. Is there anyway to get rss feeds from specified urls and store them in to the list? Please provide reference links or code ...
1
vote
3answers
317 views

Developing in Windows 8 without Sharepoint installed

I'm trying to install a development environment for Sharepoint (update: 2010) in a Windows 8 box without installing Sharepoint localy. I managed to have VS (2012 by the way) creating SP projects - I ...
1
vote
1answer
49 views

DoesUserHavePermissions not working

I have tried multiple different ways to get this code to work. I will post both methods of code. Neither ones work. The idea is to get all the "Sites a user can access", and create a hyperlink within ...
1
vote
1answer
52 views

Turn off auto activation when deploying SharePoint 2010 feature

I am building a SharePoint 2010 solution in Visual Studio 2012. When I deploy the solution, the features are automatically being activated. How do I disable this? Other answers have mentioned the ...
1
vote
4answers
76 views

Migrating custom solution from 2010 to 2013

I have a custom solution (WSP) for SharePoint 2010, but we are now upgrading to SharePoint 2013. If I upgrade my WSP project in Visual Studio 2012 to the latest version (so all references are .Net ...
1
vote
1answer
166 views

Deploying workflows from Visual Studio problems

I recently ran into a problem while trying to deploy WSP containing workflow 2013 SPIs. Visual Studio 2012 couldn't delete workflows and workflow associations during deployment process.
1
vote
1answer
414 views

Get a specific List in Visual Studio 2012 Workflow (Sharepoint 2013)

designing a visual studio workflow for SP 2013 I wonder how to get values of list items from another list than current list. My workflow is not bound to a list has to access items of another list ...
1
vote
1answer
471 views

How to connect SharePoint 2013 and Visual Studio 2012 to create a simple form?

I am a beginner when it comes to SharePoint so please bear with me, I apologize in advance for my inaccuracies. Here is what I need to do... I need to build a form in C# .NET in VS 2012, deploy it ...
1
vote
2answers
405 views

WritingCustomExceptions to EventViewer using SPDiagnosticsservice

I want to write my customexception to eventviewer , After doing some research I found that I can do that using SPDiagnosticsservice Class. I want to override SPDiagnosticsService and write my ...
1
vote
1answer
2k views

Users can see (and approve!) each other's tasks

Is there a quick and easy way to prevent users from seeing and approving each other's tasks? I do NOT want to create a task list per user and would like to avoid setting up item level permissions / ...
1
vote
1answer
994 views

Create document library structure in a Vs2012 project

Is it possible to create a Visual Studio 2012 project containing multiple document libraries with folders and subfolders that can be builded/deployed to a sharepoint site? My need is to deploy the ...
1
vote
1answer
1k views

Developing for SharePoint 2013 using Visual Studio 2012 offline installer

I am behind a corporate firewall and the company I work for has VS 2012 Ultimate. I want to start developing for SharePoint 2013 using VS 2012. I found out later that the default installation does not ...
1
vote
2answers
60 views

Could not load the Web.config configuration file. The given key was not present in the dictionary.

I'm trying to launch debugging on Visual Studio 2012 and it shows me this error message : By googling a little bit, I read that I should remove the 10 directory located in : ...
1
vote
1answer
12 views

Pre-requisites for installing SharePoint 2010 Project Templates in Visual Studio 2012

I want to start work on SP 2010 with Visual Studio 2012 , but I am unable to see any SharePoint Project Templates for creating a Visual Web Part. What should be installed for getting the ...
1
vote
1answer
158 views

How to save selected item from drop down list into choice field

Actually am fetching data from list to my drop down list(ddlseverity). I want to get selected value from drop-down and display the value in choice filed in SharePoint list. after click submit button ...
1
vote
2answers
54 views

VS Package Designer File Icons - What do they mean?

In a Mapped Folder what do these two different icons indicate about each file? This is just for illustration, the same file is not being deployed twice SharePoint 2013 Visual Studio 2012 Thanks
1
vote
2answers
836 views

ActivityNotFoundException during feature activation

I have a workflow 2013 included in Full trust solution (WSP). When I add a variable of type DynamicValue to the workflow and try to deploy the solution using VS 2012 I get the error during feature ...
1
vote
1answer
603 views

How to get the current site url in SharePoint 2013?

I have a SharePoint 2013 workflow developed in Visual Studio 2012. How can I retrieve the current site url to a local variable?
1
vote
1answer
352 views

Move pdf files from one library to folder within library in sharepoint 2013

I want to move files from the Library into its folder (Which is in the same library). How can I do this using sharepiont Designer 2013
1
vote
1answer
124 views

Can't use the Google API's in a SharePoint Online Visual Studio project

I'm developing a SharePoint Online app in Visual Studio 2012. I have added a link to the Google API JavaScript file. And as you can see from the screenshot's below taken from Chrome developer tools ...
1
vote
1answer
567 views

using $SPUrl when developing visual web part via visual studio 2013 or 2012 and ascx.g.cs file gets empty!

Im developing a Visual Web part for SharePoint 2010 via Visual Studio 2013. And i want to add css link to visual web part in .ascx file like this: <SharePoint:CssRegistration Name="<% ...
1
vote
1answer
610 views

Custom Workflow Feature not available in Site Features or Site Collection Features

I have a Sequential Workflow created in Visual Studio. In VS I can right click and deploy the package without issue. On the TEST environment I use the command add-spsolution and then deploy it to my ...
1
vote
1answer
7k views

How to resolve “One or more field types are not installed properly” Error

I have an SP 2010 Visual Studio 2012/13 solution that creates Site Columns and a document library. The site columns are created correctly since I can see and verify them. The problem I have is with ...
1
vote
1answer
3k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
1
vote
2answers
1k views

SP 2013 VS Workflow error “MTW Client is invalid”

When deploying a Workflow enabled app from Visual Studio (2012/2013), receive the error "MTW Client is invalid". More of the same error in the ULS logs. SharePoint 2013 designer Workflows deploy ...
1
vote
1answer
582 views

Overriding Sharepoint 2013 Web Parts in VS 2012

I'd like to override Content Search Web Part (SharePoint 2013) and I found following articles on this subject Dev Help: SharePoint 2013 Content Search Web Part (CSWP) in Variation Sites SharePoint ...
1
vote
1answer
1k views

Custom Ribbon button in Calendar event edit form SP2013

I am trying to define a ribbon button that appears in the calendar new event and/or modify event form using Visual Studio. I am perfectly able to have a ribbon button appear in the list view and ...
1
vote
1answer
17 views

Visual Studio 2013 Installation Error For SharePoint 2013

I am installing visual studio 2013 for my SharePoint 2013 and I came across this below issue.Can any one help me how can I solve this.
1
vote
1answer
93 views

sharepoint custom workflow terminates automatically after some time

I have created a state machine workflow in visual studio 2013. - initial stage: it sends an email to some members. - second stage : it should wait for 5 days untill all of the users take actions. - ...
1
vote
1answer
18 views

ObjectDataSource - schema seems cached - unable to refresh

Within a Visual Studio 2012 Visual Web Part, I've created a simple FormView referencing an ObjectDataSource to autogenerate an editable form. Creating this the first time, there was no issue. ...
1
vote
0answers
39 views

Set InfoPath Repeating table(DropDown List) field value through VSTA code

I have followed below URL to construct repeating table dropdown list in infopath 2013(reference). Here,In my form loading event i have forming 4 rows with dropdown list and its working fine.But when ...
1
vote
1answer
50 views

How to store data into list with JavaScript? [duplicate]

I want to store these information into my list called QuizList. I have the following code: var dtm = new Date(); var itemCreateInfo = new SP.ListItemCreationInformation(); var listItem = ...
1
vote
0answers
169 views

Update an existing SharePoint 2013 visual studio workflow

An article gave me the below steps to perform the update: Change the workflow assembly's version number Update the workflow assembly version number in the attribute of the Workflow element in ...
1
vote
0answers
17 views

Deploy SharePoint 2010 Project to SharePoint 2013

How to deploy a SharePoint 2010 wsp to a SharePoint 2013 site?
1
vote
1answer
382 views

how to install “Microsoft Office Developer Tools for Visual Studio 2012” without “Web Platform Installer”?

I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" ...
1
vote
0answers
212 views

Sharepoint 2013 workflow internal status goes to Canceled with a System.FormatException

I am running a workflow attached with task pages. The workflow has been designed in visual studio 2012. After completing the first task page, the internal status of the workflow will change to ...
1
vote
1answer
997 views

How to Add Custom Action To Task List in SharePoint 2013?

In one of my POC, there is a requirement to create custom action Ribbon menu for Task List. After lot of research I have tried below code snippet in empty module to add custom action. ...
1
vote
0answers
79 views

Creating new feature for list each time when we create a list with same ListTemplate attribure

We are facing following issues in SharePoint, when we create a custom list in visual studio a separate feature is created for each list automatically and type attribute in ListTemplate tag is set to ...
1
vote
2answers
114 views

SharePoint 2010 web part on 2013 SharePoint environment

Can I create a 2010 visual web part on SharePoint 2013 environment using visual studio 2012
1
vote
0answers
238 views

SharePoint 2013 task url issue

Possible Duplicate I am working on SharePoint 2013 visual studio workflow, while creating the single task activity email body, I am using '%TaskSpecial: TaskUrl%' token <a ...
1
vote
1answer
52 views

Cancel a save of a list item, but still run the workflow

Is it possible to cancel a save of a list item but still run the workflow. How would I go about doing this? Example: I save an item in a list. It runs the workflow, but the save item does not appear ...
1
vote
1answer
460 views

Update current list item c#

When using a custom workflow activity with elevated privileges to create an item in a list. It creates two instead of one. What I am doing is that when a user create an item in the list . It displays ...