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

learn more… | top users | synonyms

0
votes
2answers
617 views

Error occurred in deployment step Uninstall app for SharePoint.The local SharePoint server is not available

Check that server is running and connected to SharePoint farm. After giving database owner rights and farm administrator rights to the user. Yet it is not working. And giving the same Exception.
0
votes
1answer
34 views

What to Import from WSP to build Web Template solution in Visual Studio?

I'm trying to create a custom web template for SharePoint 2010. The client has already configured a prototype web site in SharePoint, which is essentially a standard blog site, with some ...
0
votes
2answers
184 views

Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

I am creating provider hosted app in Visual Studio 2012 using app scoped external content type having OData with Northwind url App manifest start page url : ODataNewAppWeb/Pages/Default.aspx ...
0
votes
3answers
179 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
votes
1answer
910 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
0answers
198 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
606 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 ...
1
vote
1answer
840 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
1answer
658 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
0answers
67 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
98 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
301 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
1answer
769 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: ...
0
votes
1answer
267 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, ...
1
vote
0answers
214 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
141 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

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
422 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 ...
2
votes
4answers
1k 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 ...
0
votes
1answer
797 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
351 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
1k 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 ...
1
vote
1answer
201 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 ...
0
votes
1answer
112 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
1answer
116 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
322 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 ...
1
vote
1answer
475 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
0answers
29 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
2answers
1k 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
68 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
1k 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 ...
0
votes
1answer
3k 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
2answers
229 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
577 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 ...
1
vote
1answer
60 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 ...
2
votes
3answers
912 views

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

As a follow up to this post, I have a document that I am downloading from OneDrive library using CSOM. private static void DownloadFile(ClientContext context, string listTitle, int listItemId, ...
2
votes
1answer
465 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
173 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
1k views

List fields missing in SharePoint 2013 workflow Activity window properties [Visual Studio 2012]

I am creating a sample workflow project in SharePoint 2013 using Visual Studio 2012. An Announcement based List instance is also created. The workflow is linked to this list. In my Sequence window, i ...
1
vote
1answer
326 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
0
votes
1answer
23 views

debugging SharePoint solution

Is there any reason why deploying solution would not deploy the solution? Adding solution 'Booking.wsp'... Deploying solution 'Booking.wsp'.. When I go to Central admin I see the booking.wsp and I ...
0
votes
2answers
388 views

workflow debugging prerequisites failed to complete - Visual Studio SharePoint hosted Apps

When trying to debug a workflow created in SharePoint 2013 App using Visual Studio 2012 version, i am getting the error "workflow debugging prerequisites failed to complete". I tried to publish the ...
0
votes
2answers
274 views

Linq get Distinct or first from multiple group

Ok, I'm not understanding something here with what I am attempting to query here. I have a list like the following. Title Subject Content Date ...
0
votes
1answer
18 views

Visual Studio 2012 options for webparts

In vS2012 I can see Visual Web Part, Visual Web Part (farm only) and webpart. What is difference between these? What governs the choice of one of these?
0
votes
1answer
117 views

SharePoint 2010 web and load testing with VS2012.4: Recorded upload file doesn't add the file to the project

I have a SharePoint 2010 farm for which I have created a Web Performance and Load Test Project in Visual Studio 2012.4 Ultimate. When adding a web test for uploading a file, the uploaded file is not ...
0
votes
2answers
8k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
1
vote
1answer
116 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 ...
0
votes
0answers
2k views

Visual Studio 2012 can't find Microsoft.SharePoint.dll (on 2013)

I'm not sure if this is a problem with VS2012 or with SP2013. We restored a reverted vm yesterday, and there were a ton of weird SP2013 problems we had to overcome. Then after we got a site collection ...
0
votes
1answer
326 views

How do I access a Property argument in a SharePoint 2013 Workflow?

I have a "Property" argument in a workflow. I need to access it and pass it's value to another activity. It seems that I can't do this however. What am I missing? I found this which seems to be ...
2
votes
2answers
3k views

how to specify icon image for 2013 SharePoint custom app built in Visual Studio 2012?

I am creating a "HelloWorld 2013" app in Visual Studio 2012 that deployes to my on-premises developer site. The app deploys to the site with no problems. My goal is to change the app icon (for ...