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

learn more… | top users | synonyms

0
votes
0answers
5 views

Deploying Master Page to Site Collection Level using Feature Receiver Sharepoint 2013

I am getting an access denied error while deploying the custom master page,feature reciever to the Site collection. How ever when scoped to web it works fine.
0
votes
2answers
26 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
27 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 : ...
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
58 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
38 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
25 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
31 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! }
1
vote
1answer
16 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. ...
2
votes
1answer
34 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
190 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
27 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
23 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
26 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 ...
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 ...
1
vote
0answers
22 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
15 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 ...
2
votes
3answers
139 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
39 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
1answer
43 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
65 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
139 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
92 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 ...
1
vote
4answers
56 views

Migrating custom solution from 2010 to 2013

I have a custom solution (WSP) for SharePoint 2010, but we are now upgrading to SharePoint 2013. If I upgrade my WSP project in Visual Studio 2012 to the latest version (so all references are .Net ...
0
votes
1answer
110 views

Visual web part, SharePoint 2013 with VS 2012. Gridview with paging , export to excel

Created a visual web part for SharePoint 2013 with VS 2012 template. Web part has gridview with paging enable. On the same I have a button for export to excel. Gridview works perfect , but when I ...
0
votes
0answers
30 views

WaitForCustomEvent Sharepoint 2013 Workflow

I am trying to create a 2013 workflow for SharePoint 2013 in VS2012. Every thing works fine except for my "WaitForCustomEvent". The first thing my workflow does is collecting parameters and call this ...
0
votes
0answers
27 views

Requirements for a Timer Job deployment

I created a timer job to kick off a workflow on all items in a List. I followed this template and converted the code to VB. What do I need to deploy this to my SharePoint site using the command: ...
0
votes
0answers
35 views

SharePoint hosted app submit multiple items to list

I am developing a SharePoint 2013 hosted app and I currently have a 'repeating' table that is being cloned each time a button is clicked. I currently have three tables which all submit to separate ...
0
votes
1answer
267 views

SharePoint 2010 Adding Web Part Error: Object reference not set to an instance of an object

I created a Farm Solution visual web part in a development environment (VM). I've run into issue while attempting to deploy this Visual Web Part in a test environment. I added (Add-SPSolution), ...
0
votes
0answers
238 views

Using Visual Studio 2015 with SharePoint 2013 - WF Projects changing reference version automatically

I have some SharePoint 2013 Visual Studio workflow projects in my solution. Once I opened the solution using Visual Studio 2015, It changed the WF project dll reference as mentioned below. ...
2
votes
1answer
107 views

SharePoint 2013 Visual Studio Workflow not getting updated (WSP Deployment)

Here's the scenario: I have a SP 2013 Visual studio workflow in my Staging Server. I want to replace the current workflow with the updated version. (Not add as a new version, I want to replace it) ...
0
votes
0answers
19 views

Workflow state shows as 'completed with errors' instead of 'completed'

I have a custom workflow which is developed using visual studio 2012. It works fine with all the functionalities, but only difficulty which i am facing is that if i terminate a project, workflow state ...
0
votes
0answers
29 views

Call a PowerShell .ps1 file from Visual Web Part

I want to call a .ps1 file from my visual web part which is part of my wsp. Is this possible? Does it similar to calling a notepad.exe file from a console or web part's .cs file. Customer wants to ...
0
votes
1answer
88 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
0answers
100 views

Update an existing SharePoint 2013 visual studio workflow

An article gave me the below steps to perform the update: Change the workflow assembly's version number Update the workflow assembly version number in the attribute of the Workflow element in ...
0
votes
0answers
18 views

Visual Studio 2012 SharePoint 2013 Workflow - calling a method during manual workflow termination

I am using a Visual Studio 2012 SharePoint 2013 workflow. I need to perform a task once the workflow is terminated manually. Any idea of how to do that?
1
vote
0answers
17 views

Deploy SharePoint 2010 Project to SharePoint 2013

How to deploy a SharePoint 2010 wsp to a SharePoint 2013 site?
0
votes
1answer
637 views

How to deploy custom page via visual studio

I am looking for a way to deploy a custom page to sharepoint. Currently I was able to do it via sharepoint, by adding an aspx page to the project. This added an aspx pages to layouts and it deployed ...
0
votes
2answers
306 views

Creating a Custom SharePoint Picture Library from Visual Studio?

Currently I have created a custom Picture User-control, and retrieving images from Picture Library,. Now I'm trying to create Picture Library from Visual Studio, means Picture Library must be created ...
0
votes
1answer
88 views

Unable to Update Yes/No Field in document library within ApplicationPage Code-Behind

I am trying to read the value within my CustomApplicationPage.aspx.cs file and update the value from No to Yes.By default when this site column was created in the Content Type Hub's custom content ...
1
vote
1answer
484 views

Package designer is missing from visual studio solution

I have a Visual Studio 2012 having a SharePoint solution. Somehow, I was missing the Package folder in the solution. I got it back from the Source Control Explorer as the solution is saved in to the ...
0
votes
0answers
25 views

Visual Studio 2012 and VSTA and SharePoint; and InfoPath

I hope this is enough for you to help me... I've got an older development environment with SharePoint 2010 SP1 installed on a web server and an app server in a very simple farm (SQL instance on a 3rd ...
0
votes
0answers
20 views

Custom initiation form for sequential work-flow?

I am creating a custom initiation form my sequential work-flow using visual studio. In that form i have two people picker fields one with multiple selects and other with single select. I want to ...
0
votes
1answer
88 views

Workflow codeactivity to download file from document library

The following code works in a console application but returns a 401 error from a workflow code activity. The aim is to download and process a .eml file from a Sharepoint 2013 document library. SP and ...
1
vote
1answer
223 views

how to install “Microsoft Office Developer Tools for Visual Studio 2012” without “Web Platform Installer”?

I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" ...
1
vote
2answers
51 views

VS Package Designer File Icons - What do they mean?

In a Mapped Folder what do these two different icons indicate about each file? This is just for illustration, the same file is not being deployed twice SharePoint 2013 Visual Studio 2012 Thanks
0
votes
0answers
337 views

Edit list form with Visual Studio

I'm trying to figure out how I can edit the list forms in Visual Studio instead of SP designer, but seem unable to find anything about this, only how to create a new form. Please tell me it's possible ...
0
votes
0answers
27 views

How to create Data Driven Custom Web Application in Sharepoint

I wanted to create dynamic web page and application based on my Excel or XML data. Is it possible to do in Sharepoint? How should I do?
0
votes
2answers
606 views

Error occurred in deployment step Uninstall app for SharePoint.The local SharePoint server is not available

Check that server is running and connected to SharePoint farm. After giving database owner rights and farm administrator rights to the user. Yet it is not working. And giving the same Exception.