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

learn more… | top users | synonyms

0
votes
0answers
19 views

Sharepoint 2013 BDC : How to set Yes/No (Boolean)

I have struggled to set a Yes/No column to Yes by simply assign true on the TypeDescriptor, but it allways turns out be set to 'No". I am using Sharepoint 2013, BDC Explorer and Visual Studio 2013. ...
1
vote
1answer
36 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
17 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
10 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
22 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
votes
0answers
13 views

Add custom field to an OTB WorkFlowTaskList in Visual Studio

Why is it that you can't add a field to an OTB WorkFlowTaskList in Visual Studio??
0
votes
1answer
57 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
33 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 ...
0
votes
0answers
17 views

Design tab and content assist missing for Application Page's aspx file

I have created a simple Application Page which I am deploying in SharePoint 2013. Everything works fine except the Visual Studio 2012 designer for aspx file does not show any content assist for ...
0
votes
1answer
48 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
24 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
19 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
1answer
71 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
28 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
26 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
47 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 ...
4
votes
2answers
240 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
264 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
38 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
1answer
89 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
88 views

How to upgrade a SharePoint 2010 Project to SharePoint 2013 (WebParts, MasterPage, App Page, User Controls) in Visual Studio 2012?

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
29 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 ...
0
votes
0answers
9 views

Announcements list does not show on site after deploying application from Visual Studio

I have just started studying custom workflows. I am following the procedures in this link and I am stuck in 5. Test the workflow. It says in step 2 that I should navigate to the Announcements list, ...
1
vote
0answers
19 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 ...
0
votes
1answer
36 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 ...
0
votes
0answers
46 views

How to change icon from plus to minus when adding/removing rows in SP2013 using VS2012?

I just received this project and need to make a minor change, but I cannot figure out how the original developer added the icons to make the change. At the end of the row is a plus icon so the users ...
2
votes
2answers
95 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 ...
0
votes
0answers
22 views

Can't get Workflow 2013 to work

In my Farm Solution, I want to add a new Workflow with Visual Studio. It's a 2013 Workflow. I run the wizard to create it, and add something to the sequence. Then I click on Deploy. It's a List ...
1
vote
0answers
59 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
0answers
17 views

Deploy silverlight xaps to clientbin

I have some xaps being built by other projects in my solution and I need the xaps to be included in the resulting WSP. I have a mapped folder Layouts with a sub-folder ClientBin and then in the ...
0
votes
0answers
52 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
82 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="<% ...
0
votes
0answers
20 views

Assign a same workflow task form to multiple users and collaborate their inputs

Sharepoint 2010 I need to assign a custom workflow task form to multiple users and collaborate each users input from the task form programmatically using visual studio. Any pointers on how this can ...
2
votes
2answers
69 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
58 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
25 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
62 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 ...
3
votes
1answer
69 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 ...
3
votes
0answers
42 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
21 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
1answer
67 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
0
votes
1answer
28 views

Content type form in infopath for Content type created in Visual studio

I have created content type in Visual Studio and I have to apply infopath form to that content type in infopath. How do i proceed further ?
1
vote
2answers
78 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 ...
3
votes
3answers
1k views

Retrieve list item using CSOM on SharePoint online isn't working

I've been stuck on this problem for couple days, I develop app model on SharePoint online using provider hosted model. From clientwebpart, i want to access sharepoint list item. I can access list ...
0
votes
1answer
57 views

Is there a better way to edit Elements.xml while creating a custom ribbon?

I am creating my own custom ribbon button using this article as reference. My code in the file Elements.xml goes something like this: <CommandUIHandler Command="NewRibbonButtonCommand" ...
0
votes
1answer
64 views

How to use versioning when using same .snk file for multiple SharePoint projects in the same solution?

I am trying to find the right way to set up my SharePoint solution with miltiple projects (in VS2012). In that, I am having difficulty understanding the concept of reusing the strong name key file. ...
3
votes
1answer
184 views

Unable to find Event Receiver template in Visual Studio 2012

This would probably be right under my nose but I am having a hard time finding it. I am trying to create an event receiver in Visual Studio 2012. From this video in YouTube I gather that in Visual ...
0
votes
1answer
166 views

Provision a 2013 list using a lookup with content in Visual Studio 2012

I have a list, List A, which contains a lookup column to List B. When I deploy these lists I pr epopulate the lookup list (List B) with some sample items. I also want to deploy List A with some ...
2
votes
2answers
3k 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
1answer
558 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 ...