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

learn more… | top users | synonyms (1)

0
votes
1answer
714 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
4
votes
7answers
20k views

How do I Modify Contents of a WSP File?

I've been provided a WSP file that contains a webpart created by another developer. I have been requested to make modifications to the webpart and repackage as a WSP file again. What steps must be ...
4
votes
1answer
921 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in Visual Studio ...
3
votes
2answers
29 views

Connecting to sharepoint server error

I am currently developing a sharepoint webpart and I need to be connected to our remote Sharepoint site for access to certain variables and functions All is fine and well for some time, I would ...
1
vote
1answer
51 views

Adding a List View Web Part to a Page Layout

Is it possible to add a List View Web Part to a custom page layout that is configurable through SharePoint the same way a normal list view web part is configurable? What I mean by configurable, is ...
1
vote
2answers
3k views

Programmatically altering approval workflow task in separate workflow

Here is my code to programmatically alter the task at hand, the only problem is that the code doesn't alter the "Outcome" of the approval task. The Outcome field is blank. "Task Status" is Complete, ...
5
votes
1answer
3k views

Importing a SharePoint 2013 workflow in Visual Studio

I'm creating a simple workflow in Visual Studio: I can deploy it, and it works. I then try to open it with SharePoint designer: However, the steps/activities/stages are missing. How come I'm not ...
0
votes
0answers
10 views

Can you customise and deploy List forms in a SharePoint Online environment using Visual Studio?

It is possible to use SharePoint Designer to create a new form, and then set it as the Display/New/Edit form for a library and we have done this for a few forms so far. However, this doesn't really ...
0
votes
1answer
19 views

Changing VS 2012 Ultimate to VS 2012 Professional, is there any impact on SharePoint?

In SharePoint 2013 Uninstalling VS 2012 Ultimate & installing VS 2012 Professional on SharePoint 2013 server, will it impact existing applications development on SharePoint 2013?
1
vote
1answer
1k views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
1
vote
1answer
575 views

How to change feature id in an existing Visual Studio solution

I have created a Visual Studio solution containing all the required design elements (like master pages and user controls) that I would be re-using in all my new applications. I created a visual studio ...
0
votes
1answer
20 views

App does not load in elements when deployed

I have a strange issue regarding SharePoint apps. I have installed my own Win Server 2013 R2, SQl for dev and SharePoint 2013 SP1 January 2016 CU. I am able to create and run custom solutions ...
0
votes
0answers
12 views

Sharepoint 2010 designer to visual studio web part issues

I added a web part site page to a basic team site. I then added a couple of filter webparts and a list view webpart to the page. I made some connections in designer and then copied all of the designer ...
4
votes
1answer
339 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
0
votes
2answers
48 views

What is client object model SharePoint 2013?

I am new to SharePoint, I want to know what is CSOM and REST in SharePoint 2013. what is the basic difference between CSOM and REST in SharePoint 2013
0
votes
1answer
47 views

How to add a 3rd party library in sharepoint 2010 event receiver

I am writing a SharePoint item event receiver to OCR documents that are uploaded/added to a library to generate searchable PDF for that document. I'm using a third party library (dll) ...
3
votes
0answers
37 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 ...
1
vote
3answers
50 views

Unable to debug TimerJob in Visual Studio 2012

I have create a timer job and deployed in SharePoint 2013. Debugging worked fine couple of times. After retract and redeploy couple of times. Now while attaching to OWSTIMER getting below error. ...
0
votes
1answer
2k views

Filtering an SPDataSource with a dropdown - selected item is lost through postback?

I'm trying to filter the contents of a dropdown based on the selection in another dropdown, using this MSDN blog post and forum post. The filtered dropdown appears with the correct data the first ...
5
votes
1answer
121 views

What site do you want to use for debugging?

I'm trying to create a SharePoint project on Visual Studio 2015. Validate gives this error: I then updated C:\Windows\System32\drivers\etc(hosts file) with the line: (IP Address of server) ...
1
vote
0answers
12 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a ...
1
vote
1answer
2k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
2
votes
1answer
65 views

Visual Studio 2015 Remote Development

When creating a SharePoint project in Visual Studio on my windows 7 machine I receive this error. The required version of sharepoint foundation or sharepoint server is not installed on this ...
5
votes
6answers
10k views

Problem connecting Visual Studio 2013 to SharePoint 2013

I'm having a big issue in connecting Visual Studio 2013 to SharePoint 2013. When I create a project in VS2013, I choose SharePoint Empty Project and then the URL of my SharePoint site, when I click on ...
4
votes
6answers
8k views

Can't connect to the SharePoint site:

I started VS with admin rights, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 server. But now I'm failing to create a SharePoint project ...
3
votes
2answers
708 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 ...
1
vote
2answers
1k views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...
2
votes
8answers
9k 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
2answers
59 views

Setting up a development environment

I am trying to learn how to develop web parts and custom solutions for SharePoint 2013. I am running into issues in building an environment suitable for development. I have installed VS2015 along ...
1
vote
1answer
40 views

Inherit code file in custom application page within module

My application page code <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register ...
0
votes
1answer
51 views

Retrieve column's source in content type programatically

The source of a column in a content type can be retrieved in the User Interface as follows: Go to List Settings Click on Advanced Settings, set Allow Management of Content Types to Yes and click OK ...
3
votes
0answers
15 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 ...
0
votes
1answer
40 views

Add column to sharepoint list instance in Visual Studio

I would like to add a column to a sharepoint list which is created in visual studio. am not using list definition, only list instance. I could open the list xml and add new items, but how can I add ...
1
vote
1answer
19 views

How to include referenced external assembly into my wsp

I've referenced SPMeta2 dlls into several of my solutions and I'm wondering if there is a way to add them to my wsp. "Copy to local" adds them to the output folder, but they're not included into the ...
4
votes
1answer
40 views

Using Visual Studio, how can I reference a SharePoint 2010 site collection outside of the development machine?

I am creating a custom web service which needs to reference a specific site collection on our SharePoint 2010 farm. The web service is on a development machine not part of the farm (although ...
8
votes
5answers
4k views

Files in feature won't update when marked with GhostableInLibrary

Having an issue updating files with a feature. This is for custom branding. here is a sample of the elements.xml file. If I add a new file, it will provision fine, but any changes to existing files ...
1
vote
2answers
3k views

Visual Studio cannot connect to sharepoint site

I have spent many hours at this issue and still unable to fix it: I read somewhere that one cannot deploy apps to sharepoint using the "system account", so I: Created a new account "admin1" in ...
1
vote
1answer
29 views

Visual Studio “Connect to SharePoint” Dialog stays blank

I'm facing a strange problem here. Yesterday everything worked fine when debugging a SharePoint app in Visual Studio but today I'm stuck. Every time I want to debug the app in Visual Studio the ...
3
votes
6answers
8k views

Create visual webpart for SharePoint Online

I want to create a visual webpart for SharePoint 2013 Online but I find that the requirement is to install the SharePoint on the local machine. Another thing, do SharePoint 2013 Foundation support ...
3
votes
3answers
14k views

“Invalid License Data. Reinstall is required” error when installing SharePoint 2013 after Sql Server 2012 on the same machine

I've already installed SQL Server 2012 on my machine. Then I tried to run the SharePoint 2013 Foundation installer but I received the following error before I even reached the splash screen menu: ...
0
votes
1answer
102 views

Is it possible to install Visual Studio 2010 on a Windows Server 2012 R2 environment for SharePoint 2010 development?

I was wondering if it is possible to install Visual Studio 2010 on a Windows Server 2012 R2 (development) environment for SharePoint 2010 development? Do I need to install Visual Studio 2010 Service ...
0
votes
1answer
54 views

Using knockout in SharePoint for reading list items

I have used the below code for reading list items. But when I try to debug this code, the functions are not getting called.. 'use strict'; var hostweburl; var appweburl; function ...
0
votes
0answers
16 views

Unable to Compile MS Project with Visual Studio Sequential Workflow

While trying to deploy a Microsoft Visual Studio Project with a Sequential Workflow we are stuck with the below listed error. Any help is highly appreciated. Error Message from Visual Studio: ...
1
vote
0answers
47 views

How to add SharePoint 2010 Lists.asmx as a reference to Visual Studio 2013 project?

I am doing the following steps: Add Service Reference Advanced Add Web Reference Enter URL and hit Go (I have tried this "https://spsite/_vti_bin/Lists.asmx?wsdl" and this ...
0
votes
1answer
32 views

Why is my custom welcome menu action only showing up on some sites?

I'm not doing anything terrible complicated here. The solution is exactly the same as the one you'll see reproduced on a thousand blogs (even here, on stackexchange). My code looks like this: ...
0
votes
1answer
2k views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
3
votes
2answers
218 views

Retrieve data from Sharepoint list to ASPX page

I have a sharepoint list named Products with the following columns: ProductID Name Price. In ASPX page there are 3 text boxes that will hold the data for each corresponding column as shown below: ...
4
votes
2answers
57 views

Is SharePoint throttling my load test?

I have a Visual Studio 2015 load test that I am running against SharePoint 2013. Once the test increases to around 100 users, page response times increase dramatically. Once the load test hits 1000 ...
2
votes
1answer
43 views

Web Part or Custom .aspx Page for SharePoint

I am new to SharePoint. I am confused on whether to use WebParts or custom.aspx page for custom development. Which is the better option out of the two? And why? Also, what are the merits and demerits ...
1
vote
0answers
15 views

How to tell an ECT developed in VS to use credentials from Secure Store Service?

I am trying to develop an External Content Type using Visual Studio so I can use External Data Source columns in a SharePoint list. Most of the stuff I am finding online uses Designer, but I don't ...