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

learn more… | top users | synonyms

0
votes
2answers
261 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
271 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
23 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
789 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
743 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
0answers
30 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
2k 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
151 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
467 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
53 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
715 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
398 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
136 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
835 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 ...
0
votes
1answer
251 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
21 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
287 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
185 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
15 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
99 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
6k 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
96 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
1k 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
264 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
2k 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 ...
1
vote
0answers
333 views

What is the correct way to grant permissions needed for Visual Studio 2012/2013 to connect to SharePoint 2013?

I'm attempting to use the "Empty Project" template in Visual Studio 2012 or Visual Studio 2013 and I'm having trouble determining the least-privilege way to do so. When attempting to add an event ...
1
vote
2answers
4k views

the name 'initializecontrol' does not exist in the current context visual studio 2013

I am encountering this error when I create a visual web part in Visual Studio 2012: the name 'initializecontrol' does not exist in the current context visual studio 2013 Edit 1: the error appears ...
1
vote
0answers
108 views

Modify SharePoint sandbox manifest.xml

I need to modify the SharePoint sandbox manifest.xml. Can any one help me with how I can do this?
2
votes
0answers
110 views

Change default publish location in Visual Studio

Whenever I want to publish my SharePoint solution, the Target Location is selected as "C:\Users\Administrator\Documents". Is there a way to change the default value for this option?
1
vote
1answer
2k 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: ...
0
votes
1answer
40 views

Why isn't my Master Page visible in Designer when I deploy it from Visual Studio 2012?

In a VS 2012 project I created "TestMasterPage.master" (a duplicate of v4.master) and added it to a module named "Module_MasterPage" below are contents of elements.xml <?xml version="1.0" ...
1
vote
0answers
50 views

“Unselect All” features when importing a site template to Visual Studio 2012?

In Visual Studio 2012 I'm importing a WSP of a site template using the "SharePoint Customization Wizard." The list of features displays with all items selected. I only want to import a couple ...
0
votes
1answer
314 views

'Main' method suitable for an entry point error in SharePoint Event receiver

I have created a simple list event receiver with item adding,updating,and deleting events in SharePoint 2013. But some how it is giving me a strange build error when i try to deploy the event ...
1
vote
1answer
323 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
0
votes
1answer
513 views

Trying to setup a Provider hosted app

We have an on-premise installation of sharepoint 2013 with an app domain configured. So far so good, I can create a Sharepoint Provider hosted app, where the Web-project runs on a local IIS. The ...
2
votes
1answer
7k views

What is the difference between auto hosted, provider hosted and sharepoint hosted app? [duplicate]

What actually happens when we create apps, and where are three types of apps hosted these apps hosted?
1
vote
1answer
112 views

Ordering Custom Properties

I am working on a Client WebPart, and while doing some simple debugging against office 365, i noticed that no matter how i structured the custom properties in the query string they were always laid ...
1
vote
1answer
26 views

In List Design View, List is disabled

I have two lists that the List toolbar item (Columns/Views/List) is disabled. Attempting to click does nothing. I've also noticed that when I deploy it, they don't render appropriately. For example, ...
1
vote
2answers
2k 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
0answers
72 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
2
votes
0answers
69 views

VS2012 won't deploy my SharePoint 2013 Workflow

Well, I have got the same problem as this guy with the equally titled thread. I want to add a SharePoint 2013 Workflow to my App Web. It is a list Workflow. Workflow Manager and Service Bus are ...
1
vote
2answers
92 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 ...
5
votes
2answers
6k views

Get a users Name from their ID

As part of my Sharepoint hosted App i am using a list which contains a Person or Group. I am getting the ID of the person by using the following. var ApproverID = ...
4
votes
4answers
2k views

Visual Studio 2012 Breakpoints do not hit

I have developed a simple visual webpart for SharePoint 2013 in Visual Studio 2012. The .apsx page only has one label. Then I say deploy and attach to process w3wp and refresh the webpage where I have ...
1
vote
1answer
338 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 ...
2
votes
3answers
1k 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 ...
2
votes
1answer
483 views

How to upgrade a Visual Studio Project from SharePoint 2010 to SharePoint 2013 (VS 2010 to VS 2012) - For WebParts, MasterPage, AppPage, User Controls

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc. Foll. is the procedure we ...
0
votes
0answers
66 views

Sharepoint - Visual Studio 2012 Deploy problem

I'm having a problem, when I deploy my solution through VS2012 it looks like it wont update what I already have deployed, the changes I make on code wont take effect. I have the following scenario: 1 ...
3
votes
0answers
521 views

The workflow template has specified no FormURN for this page Error when Associating Out of the box SharePoint 2010 publihsing approval workflow

Hello i have associated a imported a out of the box SharePoint 2010 Publishing Approval Workflow from Sharepoint Designer 2013 to Visual studio 2012 with the import Sharepoint 2010 workflow project in ...