Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
76 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
0answers
87 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 ...
1
vote
1answer
2k 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 ...
0
votes
3answers
28 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?
0
votes
1answer
33 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
1answer
811 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
267 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) "tesseract.net....
3
votes
0answers
578 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
508 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. ...
5
votes
1answer
417 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) elsanet....
1
vote
0answers
748 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 test ...
4
votes
1answer
3k 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 ...
3
votes
2answers
810 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
228 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 Tagprefix="SharePoint"...
3
votes
0answers
40 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 ...
1
vote
1answer
697 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 ...
2
votes
1answer
542 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
203 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 ...
1
vote
1answer
79 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 "...
0
votes
1answer
6k 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 ...
1
vote
0answers
585 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 "https://spsite/_vti_bin/...
0
votes
1answer
352 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
1answer
118 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: &...
3
votes
2answers
4k 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: ...
2
votes
1answer
56 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 ...
4
votes
2answers
123 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 ...
1
vote
0answers
40 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 ...
0
votes
1answer
676 views

Adding ECB menu to document libraries

I am trying to add custom action to ECB menu but it is not working. Below is my code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> &...
1
vote
1answer
3k views

Customising SharePoint 2013 Workflow Task Form

I have a SharePoint list that has an attached SP 2013 Workflow. I plan to customize the task form using Visual Studio 2012. The idea is that for each task, I will ask the user to input some values ...
4
votes
6answers
12k views

Error occurred in deployment step 'Recycle IIS Application Pool'

I am trying to build a WebPart project and I am trying to deploy the same into my SharePoint dev site which I created using the SharePoint Central Administration. But the issue which I am facing while ...
1
vote
2answers
79 views

SharePoint 2013 Contribute permissions

I have a contribute permission on SharePoint 2013 Site. Can I open that SharePoint site in visual studio and design it? Can we use current user filter webpart for contribute permission site. If yes,...
-1
votes
1answer
188 views

Can anyone explain me this code in c# for SharePoint

I was wondering if anyone could explain me the following code what it does. SPWebApplication webApp = this.Parent as SPWebApplication; SPList taskList = webApp.Sites[0].RootWeb.Lists["MyList"]; ...
1
vote
1answer
943 views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another site(...
2
votes
3answers
2k views

Problem in Deploying a sharepoint-hosted application

I am using visual studio for creating my application, at first I had created 2 lists, the deployment is good and no issues but when I created more lists, I get this error during the deployment : @"...
0
votes
1answer
38 views

Access denied accessing web part

We have created a custom web part that sends e-mail. A page is created, the web part is added on the page, and the page is published by an administrator. The issue now is that all other users have ...
2
votes
4answers
7k 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 ...
0
votes
0answers
96 views

How to attach file in sharepoint list using sand box solution

I have tried so many ways and I searched so many articles, I didn't get any solution for attaching file in a SharePoint list using sand box solution. I got solution using farm solutions. How can we ...
1
vote
0answers
416 views

Deploying a list workflow without a list association (SharePoint 2013)

I am creating a workflow which I want users of certain sites in a site collection to be able to use. When they activate the feature, the workflow should be created and automatically get attached to ...
0
votes
1answer
597 views

Error when adding custom web part to a page

I have a web part I have developed in Visual Studio. It just goes out to a document library and gets all the items: SPListItemCollection collListItems = oDocumentLibrary.GetItems(); This works fine. ...
0
votes
1answer
90 views

Visual Studio Scripts folder not in Features

I have SharePoint hosted app in Visual Studio 2015 Professional and recently completed a git merge from other developer. After merge Scripts are no longer available online and the scripts folder is ...
1
vote
1answer
643 views

How to use Web.GetFileById

I've found the following link on msdn and I've been struggeling to get it running. I had to use Microsoft.SharePoint.Client.dll from 16 hive (I'm using SharePoint 2013 server) inside Visual Studio to ...
0
votes
1answer
39 views

Fate of List Definitions in VS App for SharePoint Project

I cannot seem to find any information on the behaviour of lists added to a VS "App for SharePoint" project. The process of adding a custom list is quite similar to what you would do in SP Designer. ...
1
vote
2answers
253 views

Access denied during TimerJob activation

I have a custom timer job that kicks off a workflow on a items in a Custom list. When trying to activate it I encounter this error: 09/08/2015 11:16:26.93 w3wp.exe (0x1B170) ...
0
votes
1answer
510 views

no style for SharePoint:DateTimeControl when add bootstrap CSS

when i try to set a bootstrap style for my sharepoint page by adding css file, all SharePoint:DateTimeControl in my page loose their style and become something like this :
2
votes
1answer
82 views

How to get a Full Trust Proxy to use the correct SharePoint DLL?

I've created a Full Trust Proxy to help out a sandbox feature that needs to deploy a lot of list view web parts on activation, because full trust has access to SPLimitedWebPartManager and sandbox code ...
0
votes
2answers
258 views

Sharepoint 2013 flowchart workflow custom code

I'am SharePoint 2013 beginner and i have a project where i need to create a workflow (With Visual Studio), so i started my workflow as flowchart workflow then at some point i needed to write custom ...
1
vote
1answer
45 views

Where to store often used class in Sharepoint 2010?

I have a helper class which is often used in number of webparts. The file contains useful methods. Everytime when I create a new webpart in Visual Studio, I need to import this file into the project. ...
4
votes
1answer
136 views

SharePoint 2013 Load Testing

All I am sure this topic has been discussed in a few occasions, but I am still unsure what route I should take. I need to prove that our sharepoint farm is performant enough for x users. I started ...
0
votes
0answers
93 views

Visual Studio Sequential Workflow : spexception was unhandled by user code

I have created simple sequential workflow in visual studio with one application page(which has 3 buttons like Approve,Reject & Close buttons) for editing the task. i deployed it to site collection ...
0
votes
1answer
304 views

Cannot validate SharePoint URL in Visual Studio

Using VS 2013 Update 4. Office tools Udpated. SharePoint 2013 installed locally. I can browse the site as expected. However, when I go to VS and try to create a solution I get this I also cannot ...