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

learn more… | top users | synonyms (1)

0
votes
0answers
29 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
0
votes
1answer
22 views

SharePoint Connection Error, Microsoft Visual Studio

I am receiving a SharePoint Connection Error when connecting to Visual Studio 2012 Sandbox or Farm Solution when I create a new project. Here is the Error. SharePoint 2013 on Premise, Alternate ...
2
votes
2answers
458 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
4
votes
1answer
769 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in VS2010 I use ...
0
votes
0answers
12 views

Encapsulating Sharepoint Task Activities into Custom Activity

I have couple of complicated (and long) workflows, I am seeing a pattern of using the "Create Task" -> On Task Created -> While [ On Task Changed ] activities. I am thinking of creating a custom ...
5
votes
3answers
1k views

Why is Microsoft.SharePoint.Search.dll copied in my project?

When working on a VS project that involves referencing Microsoft.SharePoint.dll, building the project causes Microsoft.SharePoint.Search.dll to be copied to my bin folder. Why is this? Okay, maybe ...
0
votes
0answers
22 views

Error deploying SharePoint 2013 Workflow from Visual Studio 2013 with Custom Code Activity

I am currently trying to develop a SharePoint 2013 Workflow in Visual Studio, which includes a Custom Code Activity. While the Workflow is not finished, yet, before adding the Custom Activity, ...
0
votes
1answer
16 views

Enable programmability in InfoPath 2007

I have a 2007 InfoPath form that I'm hosting on my SharePoint (not web-enabled) to which I'd like to add some C# code to make it more robust. I am well aware that InfoPath 2007 is programmable with a ...
-1
votes
0answers
15 views

How to set up application from visual studio 2013 to sharepoint server 2013 , [closed]

I developped an app in visual studio 2013 but when i run the application to the url catalog app on sharepoint.
0
votes
0answers
7 views

How to Execute Powershell commands from a Sharepoint Hosted App?

So I need to create a Site Inventory(collection of all documents) as an OOTB Sharepoint Feature. This is the way I thought of doing it. Create a Sharepoint feature in Visual Studio wherein ...
0
votes
1answer
905 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
1answer
14 views

Stat Workflow after certain time if not started already manually

I have a document library in Sharepoint Online with a Visual Studio Workflow that must be started manually after adding a document to a library. However, I want to automatically start the Workflow ...
0
votes
1answer
652 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
0
votes
1answer
10 views

Sharepoint 2007 sequential workflow in VS 2008

I installed Visual Studio 2008. I try to create Sharepoint 2007 sequential workflow. As soon as I hit: New project -> sharepoint 2007 sequential workflow I get the error: could not load file or ...
0
votes
0answers
12 views

Problem with get value of field selected items when i click on ribbon button

I created ribbon button for copying selected documents from current library to some library. My ribbon button need open application page and pass to url selected documents with query string to ...
0
votes
2answers
23 views

Create list intance for all the sites and subistes in a Site Collection - Visual Studio

I created a Visual Studio SharePoint project that has a custom list in it. When I deployed the solution, the list instance is created for only the root site and not for subsites. The feature scope is ...
0
votes
1answer
11 views

Can't debug SharePoint 2010 on a SP 2010 farm environment

I'm told I can't debug on a farm environment - one admin server, one web server, one SQL database, all separate boxes. But it seems like something you'd need to be able to do, so I'm looking for ...
1
vote
1answer
350 views

Recomended starting point for creating custom SharePoint Online workflows with Visual Studio

Not typical question here on StackExchange, but hopefully somebody can point in the right direction to get started. I currently use SPD 2010 to create many workflows on our On Premise instance of ...
0
votes
0answers
24 views

Project Server Web Service Issue

I am trying to import SharePoint list data into Project Server via the instructions and code here: https://msdn.microsoft.com/en-us/library/ee460779(v=office.12).aspx I have built out all of the ...
0
votes
1answer
940 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 ...
0
votes
1answer
1k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
16
votes
3answers
4k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
0
votes
1answer
621 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
0
votes
1answer
38 views

Create WSP package in Visual Studio 2013

How to create WSP Package in Sharepoint 2013 by Visual Studio 2013. If I see to bin catalog there are two catalog more. The: Debug Catalog Release Catalog How to prepere a WSP Package, to wsp ...
2
votes
1answer
109 views

Will my webpart still work?

If I create a web part using a Visual Studio trial version, and the trial expires, will my web part continue working?
0
votes
1answer
34 views

How to get inner content of Content editor web part Programatically using Client side Object model

I am unable to get Inner content(rich text value) of Content Editor web part, Please Provide some code sample on how to do this
2
votes
3answers
25 views

Able to connect the visual studio 2010 to Remote SharePoint 2010 server?

In my organization they ask to doing the task. I explained to the people that we can’t connect to remote SharePoint url and work, we need SharePoint 2010 server to be installed in the local machine. ...
0
votes
1answer
25 views

Lookup list does not exist error

While looping through my sharepoint's list fields, I found that there are some "in-built" Sharepoint fields (for example, Check In Comment) that are lookup fields. However, when I try to use ...
2
votes
0answers
36 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
0
votes
0answers
15 views

Skin File For SharePoint 2013 WebPart

How Can I apply a custom theme/skin to SharePoint 2013 visual web part in visual studio 2012, like we do in asp.net
1
vote
1answer
1k 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 ...
0
votes
2answers
368 views

The type or namespace name 'MyFeature.Class' could not be found in global namespace

I am replacing the OOTB SharePoint 2010 People Picker Control with a custom People Picker. There are 2 projects in my Solution. One that adds an application page and another that actually replaces ...
0
votes
2answers
668 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 ...
0
votes
1answer
489 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
1
vote
2answers
32 views

Do SP2013 Workflows Run as the Current User by Default?

I have a workflow (developed in Visual Studio) that is started on creation of an item in List A. Most users have permission to create items in this list. The workflow subsequently updates another ...
0
votes
0answers
62 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
0
votes
3answers
45 views

Remove item Content Type from custom list

I have created through Visual Studio a Content Type that inherits from Item and a custom list using this content type. What I would like is to remove the item content type that appears when creating a ...
0
votes
2answers
31 views

Runtime error javascript in Visual Studio

Lately I get this error (see pic), however if I click continue everything works perfectly and the value is assigned correctly to variable xAppWebUrl. In another script I have similar code that runs ...
2
votes
2answers
872 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 ...
0
votes
1answer
694 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
33 views

How to create a SharePoint Workflow in Visual Studio?

I would like to design a workflow in Visual Studio. The workflow consists of 4 approvers. The workflow should start when a new task is created in SharePoint list and it should send an email to both ...
1
vote
1answer
671 views

create a custom ListDefinition based on a custom Content Type

I have created a custom content type that inherits from the Basic Page content type. I want to create a custom ListTemplate that will store pages, the library must use my custom content type I ...
0
votes
0answers
11 views

Sharepoint 2010 workflow in VS - Namespace error

I'm trying to build a reusable workflow solution that I have imported into VS 2010 to add some code-behind. However, when I try and build the freshly imported workflow, I get the following error (27 ...
0
votes
4answers
788 views

pkgobj\Debug\Package_Manifest.xml is read-only?

When I package a Sharepoint 2010 project in Visual Studio 2010, I occasionally get the following error message: Access to the path 'C:\path-to-my-project\pkgobj\Debug\Package_Manifest.xml' is denied. ...
1
vote
2answers
134 views

How to foreach through a list and get distinct values from specific columns C#?

I'm able to loop through a list on sharepoint and get the information I need from selected columns, but how would I loop through a list and get only distinct values from a column in C#. For instance ...
0
votes
1answer
34 views

Getting variable from asp/aspx to workflow

I need to move a variable saved on a SP list item(LIST A) to a workflow that starts on the creation of a new item in a different list(LIST B). This new item on LIST B will be created upon pressing an ...
0
votes
1answer
21 views

There is no site URL in project properties. Where can I change it?

When trying to deploy a SharePoint app, the following error is shown: Error occurred in deployment step 'Uninstall app for SharePoint': Cannot connect to the SharePoint site: http://example.com/. ...
0
votes
1answer
19 views

Deployment from Visual Studio is stuck at “Installation is in progress”

When deploying a SharePoint App, the deployment is stuck. Visual Studio build output shows: Install app for SharePoint: Uploading the app for SharePoint... Installation is in progress ...
0
votes
0answers
22 views

Cannot “Publish” wsp in Visual Studio 2013

I'm having problems with trying to create the .wsp file for a SharePoint project. I assume it was as easy as right-click the project, click "Publish", then set a Local Path. I was able to reach the ...
1
vote
1answer
74 views

Is is possible to create App Parts from an MVC project?

"https://social.msdn.microsoft.com/forums/sharepoint/en-US/93f5ec98-5aeb-40b7-add0-0e83280a6555/is-is-possible-to-create-app-parts-from-an-mvc-project" I am now interested to see if I can create an ...