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

learn more… | top users | synonyms

0
votes
1answer
9 views

How do I resolve SharePoint 2013 connection error in Visual Studio 2012

I am trying to start a new SharePoint 2013 empty project in Visual Studio 2012. When I validate the URL to connect to the server, I get a connection error (see attached) . I am a Farm Administrator, ...
2
votes
4answers
6k views

the name 'initializecontrol' does not exist in the current context visual studio 2013

I am encountering this error when I create a visual web part in Visual Studio 2012: the name 'initializecontrol' does not exist in the current context visual studio 2013 Edit 1: the error appears ...
0
votes
0answers
26 views

Cannot extend subfolders in SharePoint 2013 [on hold]

I've created web application using visual studio 2012 now I've deployed this web application in SharePoint 2013 in that I have a button 'Upload document' if I click that I will get Choose folder and ...
0
votes
0answers
26 views

Visual Studio Sharepoint Hosted App Deployment Error [duplicate]

While Deploy My Sharepoint Hosted App in Visual Studio 2012 It Throws the Following Error:_ "Error 1 Error occurred in deployment step 'Uninstall app for SharePoint': Cannot connect to the ...
0
votes
2answers
39 views

Error occurred in deployment step. Cannot connect to the SharePoint site:

While creating a new App For Sharepoint, in Sharepoint Site URL Validation Form. When we click the Validate Button the following error is shown: Cannot connect to the SharePoint ...
3
votes
3answers
2k 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 ...
1
vote
2answers
826 views

ActivityNotFoundException during feature activation

I have a workflow 2013 included in Full trust solution (WSP). When I add a variable of type DynamicValue to the workflow and try to deploy the solution using VS 2012 I get the error during feature ...
0
votes
3answers
26 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
47 views

Retrieving List<T> collection from a REST method within a SharePoint 2013 Workflow

Here is the deal.. I have a REST method that returns Generic.List<DTOSupervisor> which has to be retrieved by using a HTTP Send and GetDynamicValueProperties components. My REST method ...
0
votes
2answers
26 views

Custom Master Page not visible while applying the theme in SharePoint 2013

I have created a custom master page out of seattle master page by renaming it using SharePoint designer(I have also created a master page using visual studio). And then i made some modifications to ...
0
votes
1answer
58 views

How to create master page in SharePoint 2013

I've designed a web application in ASP.Net/VB.Net in Visual Studio 2012. I want to deploy this in SharePoint 2013. I've read many blogs from Internet, one answer I frequently found is: Open master ...
0
votes
1answer
17 views

What settings need to do in following senario to validate Sharepoint Site url in VS 2012?

Question may be basic, but scenario is not understood. scenario is I am having the SharePoint 2010 installed on Windows Server 8 under Domain1. My Developer machine also under Domain 1. But while ...
5
votes
1answer
1k 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
3k views

SharePoint 2013 workflow stuck in started stage

I got the setup recently with workflow client and manager installed(on different servers). I started with developing a simplest of the workflow with just one activity "WriteToHistory". But upon ...
0
votes
1answer
69 views

deploying a sharepoint-hosted app from my visual studio is taking too long

I have created a new simple sharepoint-hosted app using visual studio, but when i try deploying it, it keeps showing installing for around 7++ minutes as follow:- also when i tried accessing the ...
1
vote
1answer
16 views

Visual Studio 2013 Installation Error For SharePoint 2013

I am installing visual studio 2013 for my SharePoint 2013 and I came across this below issue.Can any one help me how can I solve this.
0
votes
1answer
24 views

CreateLabel throws “insufficient permissions” error but CreateTerm does not

I have an event receiver attached to a list in SharePoint 2010. It is a solution built in C# in Visual Studio 2012. By adding items to the list from the browser, the user can add new Managed Metadata ...
0
votes
1answer
49 views

Unable to get data from SharePoint server

when opening my content type designer I get this message: "Unable to get data from the SharePoint server. The designer will only display data from the local project. You can try to reopen the ...
9
votes
4answers
14k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix ...
0
votes
0answers
22 views

How do I capture a change event for a Managed Metadata Form Field?

I am working with SharePoint 2010, building a custom web part in Visual Studio 2012 (C#). I have a Managed Metadata column in my SPListItem, and I want to capture the ValueChanged event of the Form ...
22
votes
5answers
29k 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
3answers
57 views

How can I create a column in SP list which represent current date?

How can I create a column in SharePoint 2013 which represent the current date. For example today is 02/09/2016 tomorrow should be 02/10/2016, 02/10/2016... and so on each day the date must be changed. ...
0
votes
2answers
36 views

Site Master Page Issue in SharePoint 2013

I have a custom master page (that includes top navigation, breadcrumb, etc.) created using Visual Studio 2012 for SharePoint 2013. And I am using it as a site master page. Now I want to use this site ...
1
vote
2answers
56 views

Could not load the Web.config configuration file. The given key was not present in the dictionary.

I'm trying to launch debugging on Visual Studio 2012 and it shows me this error message : By googling a little bit, I read that I should remove the 10 directory located in : ...
16
votes
4answers
7k views

SharePoint project builds but will not package

I have a SharePoint project that references (and includes in its package) a non-SharePoint project. There is a class in my SharePoint project that references the non-SharePoint project, so has a ...
1
vote
1answer
88 views

sharepoint custom workflow terminates automatically after some time

I have created a state machine workflow in visual studio 2013. - initial stage: it sends an email to some members. - second stage : it should wait for 5 days untill all of the users take actions. - ...
1
vote
1answer
48 views

DoesUserHavePermissions not working

I have tried multiple different ways to get this code to work. I will post both methods of code. Neither ones work. The idea is to get all the "Sites a user can access", and create a hyperlink within ...
2
votes
0answers
28 views

how to show less a text [closed]

I have created a function which duty is to Show more text. But i cannot create a Show less to show less my text i have the following html <div class="item"> Ronaldinho joined Barcelona in ...
0
votes
1answer
306 views

SP 2013 workflow initiation form people picker

Using a WorkflowInitiationForm in an VisualStudio workflow for SharePoint 2013 I wonder how to get the Information from people picker. Adding to the project the form delivers code examples for string, ...
1
vote
1answer
18 views

ObjectDataSource - schema seems cached - unable to refresh

Within a Visual Studio 2012 Visual Web Part, I've created a simple FormView referencing an ObjectDataSource to autogenerate an editable form. Creating this the first time, there was no issue. ...
0
votes
1answer
45 views

c#: how to write JavaScript function inside c# [closed]

How to add JavaScript function window.print()in C# code. C# snippet : private void CTRL3_5_Clicked(object sender, ClickedEventArgs e) { //JavaScript function here! }
2
votes
1answer
68 views

How to make a print button in infopath form?

In infoPath form I have a button which duty is to print the current document, I have been trying this one thisXdocument.PrintOut(); but the following error occurs "The name "thisXdocument" does not ...
4
votes
1answer
242 views

How to show and hide a paragraph in html when a button is clicked?

I have the following query. I have a <pre> tag and it has some text inside but i want to hide <pre> when a button is clicked. Following images shows code: When this addNewTest() ...
0
votes
0answers
32 views

Set a value for all field in desired column? javascript

i have the following solution: in my SP list called QUIZ i have a column named koha i also have a userinterface that is build via XML in my javascript solution the current setting are when you ...
0
votes
0answers
30 views

Set style of new SPView object

I have a SharePoint 2010 solution built in Visual Studio 2012 that creates a new list. I modify the default view to use certain fields. I want to change the style to Newsletter (ID 15). What method of ...
1
vote
1answer
51 views

Turn off auto activation when deploying SharePoint 2010 feature

I am building a SharePoint 2010 solution in Visual Studio 2012. When I deploy the solution, the features are automatically being activated. How do I disable this? Other answers have mentioned the ...
0
votes
1answer
201 views

Could Not Load File or Assembly or One of It's Dependencies

I have been building a SharePoint app in the NAPA Office 365 Development Tools. Recently (due to some weird bugs) I wanted to use Visual Studio's debugger so I opened the code in VS. However, when I ...
1
vote
1answer
12 views

Pre-requisites for installing SharePoint 2010 Project Templates in Visual Studio 2012

I want to start work on SP 2010 with Visual Studio 2012 , but I am unable to see any SharePoint Project Templates for creating a Visual Web Part. What should be installed for getting the ...
4
votes
3answers
20k 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 ...
1
vote
0answers
39 views

Set InfoPath Repeating table(DropDown List) field value through VSTA code

I have followed below URL to construct repeating table dropdown list in infopath 2013(reference). Here,In my form loading event i have forming 4 rows with dropdown list and its working fine.But when ...
0
votes
1answer
28 views

Microsoft.SharePoint.WorkflowServices System.FormatException: RestrictAssociationToId

When trying to run provider-hosted add-in containing workflow in Visual Studio output window I get this error: Microsoft.SharePoint.WorkflowServices System.FormatException: ...
0
votes
0answers
21 views

How to convert an item that is retrieved from list to a string datatype?

I am having problems with some strings i have the following code in javascript: _result = currentQuizItem.get_fieldValues()["Audience"]; "Audience" is a column in my sharepoint list, and it has ...
4
votes
6answers
9k 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 ...
2
votes
3answers
158 views

how to get a value from a Sharepoint list with javascript

I have the following code: window.onload = function () { var setTime = // i dont know what to do here var fiveMinutes = 60 * setTime; display = document.querySelector('#timer2'); ...
1
vote
1answer
48 views

How to store data into list with JavaScript? [duplicate]

I want to store these information into my list called QuizList. I have the following code: var dtm = new Date(); var itemCreateInfo = new SP.ListItemCreationInformation(); var listItem = ...
0
votes
2answers
10k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
0
votes
1answer
63 views

Unable to debug SPListEventReceiver

Running VS and SharePoint on the same server, but I am unable to debug my simple Event Receiver to see why it is not firing. Here is the snipp: public class EventReceiver1 : SPListEventReceiver { ...
-1
votes
1answer
73 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"]; ...
0
votes
1answer
200 views

Visual Studio crashes after publishing

I have a SharePoint project as a part of Visual Studio solution. When trying to publish a project to create WSP, WSP gets created successfully but VS crashes. In event log I see the following record: ...
1
vote
1answer
157 views

How to save selected item from drop down list into choice field

Actually am fetching data from list to my drop down list(ddlseverity). I want to get selected value from drop-down and display the value in choice filed in SharePoint list. after click submit button ...