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

learn more… | top users | synonyms (1)

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
89 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
62 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"...
0
votes
1answer
90 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
17 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
142 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
40 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
53 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
5k 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
5k 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
37 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 "...
4
votes
6answers
10k 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 ...
4
votes
3answers
16k 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
734 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
68 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
43 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
97 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
36 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 informations....
3
votes
2answers
615 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
67 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
46 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
16 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
145 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
134 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 ...
1
vote
2answers
45 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,...
0
votes
0answers
59 views

How to use Site URL property available in Visual Studio during WSP deployment using PowerShell?

I have an application page based solution in Visual Studio 2013. The Web application has a site collection, under which we are doing the deployments during development from Visual studio by setting ...
2
votes
3answers
1k views

How do I create a Sharepoint hosted app for office 365 in Visual Studio 2013?

I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to ...
2
votes
1answer
2k views

Correct Way to Reassign Workflow Tasks in Visual Studio WF

What is the correct way to programmatically reassign a task to another individual in a SharePoint 2010 custom workflow? We do not want to simply change the person to whom the task is assigned although ...
0
votes
0answers
36 views

SP Thumbnail Gallery

I am new to SharePoint and I have no knowledge in creating SharePoint applications. We came across one requirement to create a thumbnail gallery in SharePoint Site. This thumbnail should be generated ...
1
vote
1answer
117 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(...
-1
votes
1answer
80 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
27 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 ...
0
votes
4answers
203 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
67 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
95 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
0answers
16 views

Do custom InfoPath User Controls absolutely have to be registered with the COM interop?

Is it possible to design a custom User Control using C# in VSTA for InfoPath without registering it with the COM interop? It's not a control that I'm going to use on any other form, but I have a very ...
0
votes
1answer
216 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
46 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 ...
0
votes
1answer
90 views

Provision File in ' Features ' in 15 hive [closed]

I have a requirement in which I have to add NWF (Nintex workflow) file in the Features folder. Means on feature activation the file for the workflow should get provisioned in the physical folder, say, ...
1
vote
1answer
95 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
0answers
58 views

Custom Status Value -SharePoint 2013 Workflow

i am new in this forum. i dont know if a selected the right category, but i making my quenstion anyway (please let me know) Context: Enviroment: SharePoint 2013 Foundation Tools: Sequential ...
0
votes
1answer
29 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. ...
0
votes
0answers
56 views

Connect to test sharepoint 2010 environment using sharepoint 2015 community edition

I am trying to create a custom list to receive emails and process them using email events. For that I downloaded Visual studio 2015 community edition and the office tools. The SharePoint admin has set ...
1
vote
2answers
77 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) ...
5
votes
2answers
148 views

Branding the suiteBar in SP 2013

I need to rebrand default look of sharepoint suiteBar. I have no problems with logo or custom links but I need something more. I need to change whole look of suiteBar - background color, height, ...
0
votes
0answers
8 views

Modifiy workflow mails and predefine initialisation data

i got the requirement that I must create an approval process. So I decide to use the Standard approval workflow. I use a visual Studio Solution to create an Association to the list. So now i got the ...
4
votes
1answer
67 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
1answer
235 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 :