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

learn more… | top users | synonyms

0
votes
1answer
199 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
377 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
461 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
385 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
136 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
3answers
12k 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
135 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
394 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
4k 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
593 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 ...
2
votes
4answers
7k 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
146 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
180 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
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: ...
0
votes
1answer
52 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" encoding=...
1
vote
0answers
64 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
441 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
452 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
583 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 ...
4
votes
1answer
14k 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
178 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
35 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
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
0answers
117 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
82 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
105 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
9k 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 = currentItem.get_fieldValues()["...
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
493 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 ...
3
votes
3answers
2k 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
812 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
71 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
644 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 ...
1
vote
1answer
83 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
2
votes
2answers
409 views

SPEmailEventReceiver in sharepoint 2013

I'm stuck in use of SPEmailEventReceiver in sharepoint 2013. this my code: public class EREmail : SPEmailEventReceiver // this error because namespace can't found { public override void ...
2
votes
1answer
384 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 version,...
1
vote
2answers
643 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
1answer
594 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="<% $SPUrl:~...
2
votes
2answers
984 views

I cannot publish (package) a sharepoint solution using Visual Studio 2012

I have received a sharepoint project which has got some visual webparts in it and I would like to create a wsp. I clicked on Publish button, but nothing happens. Nothing happens in the output window ...
1
vote
1answer
669 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 ...
2
votes
2answers
31 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
0
votes
2answers
224 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due Date"...
3
votes
1answer
1k 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 ...
5
votes
1answer
1k views

This projects needs to be migrated?

I have a sharepoint 2010 solution. i migrated it to sp 2013, all sharepoint 2010 projects have been migrated without any problems. Office projects (Excel and outlook addins) however have been acting ...
0
votes
1answer
91 views

SequentialWorkflowActivity cannot be opened in designer

I have a number of Sequential Workflows that I created. Given they all used the same base group of methods I created a new base SequentialWorkflowActivity for my Sequential Workflows to inherit from. ...
1
vote
2answers
913 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