We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
3k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
3
votes
2answers
3k views

Import wsp with studio 2010

I imported a WSP that was in the gallery (put in there by the old developer) into a new studio wsp import project. It looks really noisy (too much stuff that we don't even use when creating a site ...
3
votes
1answer
975 views

Deploy an image in a feature

I am creating a feature which adds an option to the ECB. I want to have a custom icon/image. In my Visual Studio 2010 project I have created a TEMPLATE/IMAGES/proj folders. I have added my image to ...
3
votes
1answer
71 views

SharePoint Online Add-In: Initialize List with DateTime Field: String was not recognized as a valid DateTime

I want to initialize a list in a SharePoint Online Add-in with the following XML: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> &...
3
votes
2answers
503 views

Unable to run my remote event receiver “Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime, Version=15.0.0.0, Culture=neutral”

I have an office 365 farm + visual studio 2015 professional. now i want to create a new remote event receiver, so i did the following steps:- I create a new project of type "SharePoint Add-in":- ...
3
votes
1answer
5k views

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

I am getting the following error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. while I am trying to read an excel file and than to populate it in GridView, within a ...
3
votes
1answer
50 views

Format data from multiple lists in Visual Web Part formatted like Standard List

I'm trying to roll data from multiple lists into one web part using Visual Studio, preferably a Visual Web Part. I want it to look like a normal SharePoint list view, with options to sort, filter, and ...
3
votes
1answer
909 views

Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013

I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps: 1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) ...
3
votes
2answers
9k views

Add custom NewForm.aspx with code behind to existing list

I have an existing sharepoint list generated by the sharepoint UI. I want to add a custom NewForm to this list that uses its own code behind, because I need to do a lot of stuff in the logic. As far ...
3
votes
3answers
808 views

Should this be a App or Farm Solution

I am new to SP2013 development. I have been asked to create the following for a client timesheet system: 8 custom lists (some of these link to each other) each list has 3 or 4 different views 2 of ...
3
votes
1answer
2k views

Custom Master page is not available under Site Master Page Settings

I have created a Custom Master Page in VS2010 and deploy Project to SharePoint. First I activated site Collection feature "SharePoint Server Publishing Infrastructure" and then i also activated site ...
3
votes
5answers
4k views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
3
votes
2answers
3k views

Create and deploy apps using Visual Studio 2012

I want to build and deploy apps to office 365 preview site using visual studio 2012. Can any one point me some good help links? I have office/sharepoint templates installed in vs2012.
3
votes
2answers
1k views

DropDownList to display External Content Type?

I am creating a visual web part in Visual Studio 2010 for SharePoint 2010 Server. I would like to use a DropDownList that shows data from an external content type (that is tied to a SQL Database ...
3
votes
1answer
107 views

SharePoint workflows and [OptionalField]

Our business processes changed, and now we want to add some pretty important functionality to a series of long-running workflows written using Visual Studio. This involves adding several fields to the ...
3
votes
1answer
122 views

Has Microsoft discussed whether future versions of SharePoint will support MVC?

I haven't heard anything about whether they will be including this in the future or not. I did some Googling and found an interesting project on CodePlex but did not find anything official from ...
3
votes
2answers
2k views

FBA custom login page - membership provider returns “The method or operation is not implemented.”

My SP web application use FBA authentication (AD and aspnetSQLmembership providers). I want log in to SP site from custom SP login page. In code-behind page (my class inherit FormsSignInPage(ns:...
3
votes
2answers
3k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed

Whenever I try to debug (i.e. F5) a SharePoint 2010 Project I get this error. All the SharePoint services are running. Messages in Output window: Add solution Adding solution 'my solution.wsp'... ...
3
votes
1answer
2k views

Adding a class library to a Visual Web Part

I have created a SharePoint 2010 web part through Visual Studio 2010. All works nicely. However, I have several web parts to build in total and I have a class library that will contain standard ...
3
votes
1answer
561 views

How to deploy a workflow as part of a site definition?

We have a customer that will be creating many sites based on a site definition. The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new ...
3
votes
1answer
95 views

How we can create and debug a remote event receiver and attach it to existing list

I have a custom list inside our SharePoint online and it contain many items. Now I want to add some business logic to the list through implementing a remote event receiver which get fired when items ...
3
votes
1answer
86 views

Visual Studio installed on UAT environment

I have UAT environment set up on my client's infrastructure. We don't have Visual Studio installed on it and basically when client reports an error on custom developed features I am digging through ...
3
votes
1answer
6k views

Deploying asp.net web form into SharePoint 2013

I have developed an asp.net web form in Visual Studio 2012 with the code behind in vb.net. I need to deploy this form into SharePoint 2013, in a perfect world I would like to have this form ...
3
votes
3answers
877 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
3
votes
2answers
879 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
3
votes
2answers
839 views

Deploying Site Solution

EDIT to add more detail about what I'm trying to do: This is the first SP project I've worked on, so I might be making a very basic mistake with how the project is set up. The project consists of a ...
3
votes
1answer
445 views

Importing a list from one visual studio project to another

I have sp project (say project a) in visual studio that is supposed to deploy the sp solution to my website (say that its running at http://localhost:xxxx/). My goal would be to add the list ...
3
votes
1answer
81 views

Deploying a custom health rule fails on Add Solution

I've created a custom health rule for checking which mode solutions were built in (following this guide) but am having trouble deploying it. When deploying from VS2010, I get Error occurred in ...
3
votes
1answer
1k views

Setting the DisplayFormURL of a CalendarView item to an absolute URL, SPCalendarView control

Background: I have a WebPart that makes use of the SPCalendarView control and in it I add items (events) dynamically from different Calendar lists from multiple sites. like this (please note that I ...
3
votes
1answer
1k views

Can site columns be deployed in sandboxed solutions?

I have created a package in Visual Studio 2010 for SharePoint 2010 which contains a single feature, called "SiteColumns", which link to a single elements file defining a single site column. I have ...
3
votes
1answer
451 views

Intellisense for Visual WebParts (ASCX) and Custom Application Pages (ASPX) in VS 2010

How can I enable intellisense for visual webparts (.ascx) & custom application (aspx) pages in VS 2010? It would save me a lot of time! Thanks in advance.
3
votes
3answers
991 views

SharePoint 2010 VS development: Intellisense for ASPX files

I'm using Visual Studio 2010 to develop a SharePoint Server 2010 solution. Part of this includes custom Page Layouts, but when editing them, intellisense is completely broken, since Visual Studio ...
3
votes
4answers
3k views

How Can I Add a New Column to All Document Library Lists in SharePoint 2010 Using Visual Studio 2010?

I can't figure out how to create a solution in Visual Studio 2010 that will allow me to alter existing lists in a SharePoint 2010 site. Specifically, I want to add a new column, which contains a small ...
3
votes
4answers
81 views

Where to install Visual Studio?

I'm new in developing SharePoint 2013 (on premises), and I want to use Visual Studio (VS). My question is the following: Where to install VS? In the same server like SharePoint? Or can I install it ...
3
votes
1answer
1k views

Why can't I remove this Add-In?

I've been deploying a SharePoint Add-In from Visual Studio 2015 to our O365 developer site. For the past few days though, it has shown this deployment error: "Skipping the uninstall step because ...
3
votes
0answers
111 views

Visual Studio Workflow Designer - can't access properties in GetODataProperties

I need to edit a workflow I created in VS, but now when I open the workflow in VS, I no longer have access to the specific properties in the "Get Properties" activity. I get the current item and ...
3
votes
1answer
390 views

How to package a workflow with a list definition in a Visual Studio feature?

Here is the scenario: I have created a custom list definition in Visual Studio 2015, and I'm packaging it in a Site scoped feature (Farm solution). I have also created an event receiver that will ...
3
votes
0answers
581 views

SPO list with custom form in Visual Studio

I want to attach a custom list form using Visual Studio. After I added a form my solution explorer looks like this: I also changed the Deployment Type of the Test.aspx to "ElementFile". Now I ...
3
votes
0answers
41 views

Store SP 2013 Work Flow Audit Report in a List or Column in the same List

Has anyone came across any tutorials or links on how to store WF audit reports to a list or in the same list but on a column? I have scoured the net and I am not having any luck in getting the ...
3
votes
1answer
265 views

can provider-hosted app deployed outside the domain when using s2s

I'm creating a SharePoint provider-hosted app using visual studio 2013 in a machine and connecting to SharePoint 2013 on another machine. Visual studio is not in the same domain as SharePoint domain....
3
votes
1answer
1k views

How to read value from custom user field in Workflow 2013

I have a custom user field (it's used in custom task content type): <Field ID="{d3773326-a0a8-45e2-9c60-82fc7f7ba01c}" Name="IM_Task_ResponsiblePerson" DisplayName="Responsible person" Type="User" ...
3
votes
1answer
1k views

How to check Reset all subsites to inherit this alternate CSS URL Programitically?

I had set Alternate CSS URL programmatically. But next CheckBox of "Reset all subsites to inherit this alternate CSS URL" is not checked it self. I want to check it programmatically. Please Suggest ...
3
votes
2answers
3k views

How can I get rid of the ListFormWebPart in a custom form?

I'm pretty new to SP, but I had to bite the bullet and create a custom new form for a custom list schema. I mirrored the field structure with textboxes and such, added some custom javascript, ...
2
votes
2answers
3k views

Can I install Visual Studio 2010 on non Sharepoint server to develop webparts?

Can I install VS 2010 on a separate development server or does it have to be installed on a sharepoint server to develop webparts?
2
votes
2answers
559 views

Using CamlQuery in SharePoint 2010

I'm trying to write a CamlQuery that goes through all of the documents in the library and returns a list of docs that contain certain metadata tags. I have a working version which recursively does ...
2
votes
8answers
10k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...
2
votes
4answers
10k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
2
votes
4answers
998 views

Can I develop web parts just with WSS 3.0 and Visual Studio Express?

Can I get away with building and testing basic web parts just by installing Windows SharePoint Services 3.0 on a VPC with Visual Studio Express Editions?
2
votes
4answers
8k views

How to calculate 12 months from a start date

I am building an application about workers vocation and I need some help on calculating. Here is what I need: I have a column named startdate, after 12 months I want the SharePoint or c# to know ...
2
votes
4answers
6k views

Item added or item edited Sharepoint 2010 event receiver

I am working on Sharepoint list form with 10 fields. The first time when I add the new item I fill in 8 values and id is generated. Next time I edit the form I fill in the one of the two remaining ...