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

learn more… | top users | synonyms (1)

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 ...
3
votes
2answers
542 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
63 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
45 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
15 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
117 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
114 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
42 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 ...
0
votes
0answers
54 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
34 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
102 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 ...
-1
votes
1answer
78 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
167 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
59 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
82 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
15 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
195 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 ...
0
votes
1answer
45 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
84 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
82 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
54 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
54 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
70 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
143 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
7 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
66 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
217 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 :
1
vote
1answer
23 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 ...
6
votes
4answers
5k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
0
votes
1answer
865 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
0answers
10 views

Where to find proper resource for developing SharePoint forms using Visual Studio

Since Microsoft is not continuing with InfoPath in their next Office, so I wanted to learn proper way of developing forms using Visual Studio. What else- Creating lists using Visual Studio so that ...
0
votes
0answers
19 views

Upgrade Sharepoint 2007 vs2008 projects to Sharepoint 2013 vs2012 projects

My Sharepoint 2007 farm was migrated to Sharepoint 2013, but i have multiple projects which were developed in Visual studio 2008 and i need to upgrade to Visual Studio 2012 (Sharepoint 2013). I try ...
1
vote
2answers
2k views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
1
vote
1answer
43 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. ...
0
votes
0answers
27 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
2answers
15k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
2answers
616 views

What is the significance of Visual Studio Package File and how to use it?

What is the significance of Visual Studio Package File and how to use it? See the image below. Can any one provide an explanation?
0
votes
0answers
35 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField ...
0
votes
1answer
2k views

Toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010, a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
0answers
42 views

Visual Studio 2013 doesn't allow me to change Target List assignments in workflow

My Visual Studio 2013 (v12.0.30501.00 Update 2) doesn't allow me to change target task list assignments. I can see my new task list among items to choose but after selecting it nothing changes. ...
0
votes
0answers
40 views

Send mail activity after Create task results “Error Occured” in Workflow

I came across very strange behavior of SharePoint workflow (Using Visual Studio). If I add Send Email Activity after Create Task activity, it gives me result- Error Occured . I thought, there will be ...
0
votes
0answers
16 views

FBA web.config Modifications using SPWebConfigModification

General question: Will using SPWebConfigModification deploy the modifications for the membership roles and providers to all 3 web.config files for FBA? I am needing to apply these providers ...
0
votes
0answers
62 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
70 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 ...
0
votes
2answers
110 views

Sandboxed Vs Farm solution to create site columns using visual studio

I find this article which describe how i need to create site columns programmatically using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx. they mentioned that I should use the ...