Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
-1
votes
4answers
6k views

How to add script reference on master page?

I have applied master page using JavaScript in my SharePoint Hosted App. This script reference is added on default.aspx. Now I want to add script reference on master page which I have applied so that ...
0
votes
1answer
85 views

How to set ContentTypeID in CreateTaskWithContentType activity using VS 2013

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". I created a new content type and select the "Task" as parent, then added this ...
1
vote
0answers
79 views

SharePoint hosted app development, Less/Typescript and side-loading

I am doing some technology test for developing SharePoint hosted apps using Visual Studio 2013 in my SharePoint 2013 development environment. For that reason, I am trying to see how far I can push ...
-1
votes
1answer
393 views

How to create variable in visual studio workflow

I am first time creating Workflow in visual studio for SharePoint 2010. Now i need to create variable (Workflow variable) in my workflow but i am not getting any reference or tutorials for create ...
0
votes
1answer
913 views

“collection was modified enumeration operation may not execute”: error while deleting attachments from sharepoint list

I am trying to delete the attachments from my SharePoint 2013 list Programmatically : foreach (string attachment in listitem.attachments) { listitem.attachments.delete(attachment); listitem....
2
votes
2answers
58 views

Visual Studio not breaking on unhandled Exception

Usually when I debug a SharePoint Web Part, if I have an unhandled Exception the Debugger breaks at the line where the Exception occurred. However, I have a Web Part, that my predecessor made, that ...
1
vote
0answers
20 views

Difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013 [duplicate]

What is the difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013? This doesn't seem to be clearly documented. Which one ...
6
votes
3answers
3k views

When to use Server side event receivers Versus using Remote event receivers?

I read a long article about two types of event receivers inside SharePoint server 2013:- Server side event receivers (available inside SP 2013 & SP 2010) Remote event receivers(available inside ...
0
votes
1answer
19 views

How to open and manipulating an already developed and deployed SharePoint feature using visual studio

After SharePoint migration from 2010 to 2013, I have imported a solution, using power shell, which was developed for the SharePoint 2010. Now the feature is deployed and is available but does not ...
0
votes
1answer
140 views

Sharepoint app, missing styles and images when debug

Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site ...
0
votes
1answer
42 views

Custom Master Page deployed at site collection level using visual studios in SharePoint 2013

I have created and deployed a custom master page using visual studio'. Deployed and i can see the master page under _catalog/masterpage folder in sharepoint designer under the root site collection. ...
1
vote
1answer
81 views

Existing InfoPath form to Visual Studio

Can we convert existing InfoPath 2010 form to visual studio and make it applied to list? I am using SharePoint 2010 and InfoPath designer 2010. We have an existing InfoPath form used by a list in our ...
2
votes
1answer
889 views

SharePoint 2010 project templates missing in Visual studio 2015 Enterprise Edition

On windows server 2012 we have installed Visual studio 2015 Enterprise Edition but unfortunately, I can't see the SharePoint 2010 project templates. Can anyone help me out to get those templates? ...
2
votes
1answer
320 views

Sharepoint Visual studio workflow

I am new to developing apps in Visual Studio for SP. I have a problem to use the standard functions for creating a workflow. Currently I need the workflow action Set field in current item, but I don't ...
4
votes
2answers
83 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
92 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
30 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
849 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
328 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
585 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
588 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
463 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
799 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
900 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
263 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
43 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
746 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
689 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
229 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
86 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
7k 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
660 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
399 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
124 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
5k 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
60 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
141 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
715 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
7answers
16k 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
225 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
1k 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
43 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
10k 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 ...

1
3 4
5
6 7
24