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

learn more… | top users | synonyms

2
votes
3answers
209 views

“The activity named 'WorkflowXaml_GUID' from scope was not found” when deploying SP 2013 Workflow

Ok. I have been getting this issue once in a while and I need to know how to fix it. Scenario: I wanted some custom actions performed on my workflow. So created an activity library and a class that ...
10
votes
5answers
13k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
0
votes
3answers
24 views

SP2013 - Console app on DEV server unable to connect to PROD site

I'm working on a console application in VS2012 installed on my SP2013 dev server. The app is called from a command line and sets up a new FBA account using info provided by the user. When it reaches ...
1
vote
1answer
329 views

Create infopath form using visual studio 2012 and bind it to list

Can we create infopath form with visual studio ? and can we bind the same with list ? please give me some links to do this task
3
votes
1answer
283 views

SharePoint Project does not deploy

I upgraded SP 2010 Solution created using VS 2010 to SP 2013 solution in VS 2012. The Solution has one SharePoint project which references another SharePoint project in the same solution. There are ...
2
votes
2answers
672 views

How to add tooltips to sharepoint 2013 form fields

I am working with a User (sandbox) Solution created in Visual Studio 2012 for SharePoint 2013. I have been asked to add custom tooltips to the default new and edit form fields. I have not been able ...
1
vote
1answer
47 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
48 views

SharePoint 2010 Farm Solution Deployment Error Using Non-admin Accounts

I am trying to deploy a farm solution using Visual Studio 2012 on SharePoint 2010. I receive the following error when I try to build or deploy using any admin group accounts other than the Farm Admin ...
-1
votes
1answer
94 views

Custom Workflow Task with custom content type not working in VS 2012

I have created custom content type inherited from Workflow Task (SharePoint 2013) as i have to remove and add fields according to use. I also created a custom workflow task list, which uses ...
1
vote
1answer
62 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. ...
0
votes
0answers
31 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 ...
0
votes
1answer
51 views

C# - Creating new SharePoint user in .Net Membership provider

I have an external-facing SharePoint site that uses a .Net membership database to house claims user accounts. I'm attempting to build a solution in C# that creates a new user account in the database ...
0
votes
1answer
47 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 ...
0
votes
0answers
17 views

Workflow Custom Activity deploy in multi server environment

I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when ...
0
votes
1answer
73 views

Unable to fetch the SPWorkflow object programmatically

I have a requirement of fetching the SPWorkflow object on a SPListItem object. The assocaiated workflow is a sharepoint 2013 visual studio workflow. I have tried the following approaches, but none of ...
0
votes
0answers
10 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 ...
8
votes
3answers
3k views

SharePoint project builds but will not package

I have a SharePoint project that references (and includes in its package) a non-SharePoint project. There is a class in my SharePoint project that references the non-SharePoint project, so has a ...
2
votes
1answer
151 views

How to send the Assignment Email with a link to the task in it SharePoint 2013 Visual Studio Workflow

I have developed a Visual Studio 2012 workflow for SharePoint 2013. I am trying to find a way to simply send a link to the actual Task in the Assignment email. I have created a variable and set the ...
1
vote
2answers
29 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
0
votes
1answer
3k views

Creating and deploying a visual webpart using VS 2012

I'm new to sharepoint. I managed to create a visual web part in VS 2012. But I don't know how to deploy it properly. I only added a button control to the webpart page. After that I used F5 to deploy ...
0
votes
1answer
280 views

SharePoint 2013 workflow stuck in started stage

I got the setup recently with workflow client and manager installed(on different servers). I started with developing a simplest of the workflow with just one activity "WriteToHistory". But upon ...
0
votes
1answer
39 views

Microsoft.SharePoint.Security namespace missing

I am making a custom timer job in VS 2012 that targets .Net Framework 4.5. I am using namespace Microsoft.SharePoint and Microsoft.SharePoint.Security but problem is it is showing following error: ...
2
votes
1answer
230 views

Unit Testing Of SharePoint Custom Code with Emulator

I am trying to test my Sharepoint custom code, using Microsoft.SharePoint.Emulator with VS2012 Premium ( because I have MSDN Premium subscription) I know its officially comes with VS Ultimate ...
0
votes
1answer
63 views

SP 2013 workflow initiation form people picker

Using a WorkflowInitiationForm in an VisualStudio workflow for SharePoint 2013 I wonder how to get the Information from people picker. Adding to the project the form delivers code examples for string, ...
11
votes
1answer
367 views

Invoking an ActivityAction in a SharePoint workflow

In a Visual Studio, SharePoint 2013 workflow, the "IF" Activity provided by Microsoft can take a condition and two activities as parameters: I want to write a custom activity that can similarly ...
1
vote
0answers
55 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 ...
0
votes
2answers
732 views

Get rid of a TimerJob/Feature which throws an exception

I created a TimerJob which is activated upon Feature activation. Because I didn't know better, I forgot to add an public default constructor and now I always get this exception: "Error occurred in ...
1
vote
1answer
26 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
176 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 ...
0
votes
1answer
155 views

Sharepoint 2013 workflow REST: service response on filter request with httpSend activity

in a declarative / visual studio workflow we want to filter a list and use a httpSend activity with http://mysite/_api/web/lists/GetByTitle('myList')/items?$filter=Title eq 'customer' for the uri ...
1
vote
1answer
90 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 ...
0
votes
1answer
279 views

Get User from List Item in Visual Studio 2012 workflow for Sharepoint 2013

Got to implement a seq. workflow based on http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx#bm3 Notice: My Entity Type is "ListItem" (the workflow will be bound to the ...
0
votes
0answers
19 views

InfoPath 2010 and Visual Studio 2012

I would like to generate InfoPath forms (2010) with managed code and debug the form template with Visual Studio 2012. I have downloaded and installed the Visual Studio Tools for Applications 2012 plus ...
0
votes
0answers
59 views

SP2013 VS Workflow Farm Solution deployment update workflow definition

We have SharePoint 2013 workflow developed using visual studio 2012. We need to send updates for the workflow in production. What is observed that after deployment the workflow definition doesn't ...
0
votes
2answers
78 views

Unrecognized tag prefix user control

I'm create default webpart and creat default user control, drug and drop control to designer on web part and it generate code: <%@ Register ...
0
votes
1answer
39 views

Custom Workflow activities in SharePoint 2013 for 2010 Workflows

We need to create custom workflow activity in Visual Studio 2012 for SharePoint 2013 using 2010 workflows. Can someone PLEASE guide me on how to do this as I am finding blogs for either SharePoint ...
0
votes
2answers
133 views

Deploying Visual Studio 2012 solutions to SharePoint 2010 like WSPBuilder

I have spent several years developing SharePoint solutions for WSS 3.0 using Visual Studio 2008 and the WSPBuilder add-in. WSPBuilder would generate a folder containing a setup.exe file. This file ...
0
votes
1answer
89 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?
0
votes
1answer
240 views

Calling a WCF web service from a SharePoint 2013 Visual Studio Workflow

I have a scenario where I need to access a WCF web service (locally hosted) from a SharePoint 2013 Visual Studio workflow. Below given is what I have done so far: This is what the workflow does: ...
0
votes
0answers
21 views

How to start workflow independently

Good day, I have a list that has a custom workflow that starts when an idem is created. I the workflow i have a codeActivity that creates multiple items on the list. This in turn starts multiple ...
0
votes
0answers
62 views

Custom activity shows as “started” even after completion in list workflow settings

I have created a custom workflow activity and used it in another sequential workflow project. This custom activity is the last step in the workflow process.The workflow settings in list shows two ...
0
votes
1answer
254 views

SharePoint 2013 workflow not showing up in the associated list's workflow settings page

I followed the steps mentioned by Prabath See steps here However when I deploy the SP 2013 workflow on the server, I can't see it in the 'Workflow Settings' page of the associated list. The ...
0
votes
0answers
28 views

Display Fields from another List

I am building an app with Visual Studio and I want to use one fields as a lookup and then default some of the other fields to also display. Similar to how you would use the "Add Column to show each of ...
0
votes
1answer
92 views

custom code as a part of SharePoint 2013 Workflow

I am creating a SharePoint 2013 workflow project using Visual Studio 2012. I have added a sequence where i need to update some database table. Is it possible to write custom code as a part of ...
1
vote
1answer
45 views

Deploy VS solution (List) to all users' “My Site”

I wrote a custom document library that we use to manage our Proof of Activities at work. I used VS2012 for development and our portal is based on SP2013. Is there any way besides PowerShell to ...
1
vote
2answers
363 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 ...
2
votes
3answers
395 views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post: http://sharepoint.stackexchange.com/a/111685/32419 I have a document that I am downloading from OneDrive library using CSOM. private static void ...
2
votes
1answer
254 views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
0
votes
1answer
89 views

Custom SP Workflow within Visual Studio 2012 - Create Doc Set and then move document

First of all my apologies if this has already been asked and answered elsewhere, i have been trawling. I have the task of creating a workflow that is triggered on a specific list upon a items field ...
0
votes
2answers
388 views

Build SharePoint 2013 solutions by simply copying the assemblies to your machine

Let me start off by saying that I know you can't install SharePoint 2013 on a Windows 7 machine (confirmed here). However my situation is this: I am in the process of upgrading a large SharePoint ...