Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
711 views

Convert Sharepoint Designer 2007 workflows to Visual Studio solutions

Does anyone have experience or know of how to convert workflows created in SPD 2007 (moderate complexity -10 steps) to Visual Studio? This blog almost has the answer except for the caveat it doesnt ...
0 votes
2 answers
22 views

Changing Date Format in Sharepoint DateTimeControl Visual Studio

I'm currently developing a SP Project using Visual Studio. Apparently the default date format for Sharepoint:DateTimeControl is 'yyyy/mm/dd', by using LocaleId="2057", I can change it to 'dd/...
0 votes
1 answer
2k views

default.aspx renaming

I manage rip-off SharePoint team site. Some reason, I cannot rename default.aspx. If I rename default.aspx -> demo.aspx and I create new site collection, it gives me 404 error message. Also, if I ...
3 votes
1 answer
1k views

How to read value from custom user field in Workflow 2013

I have a custom user field (it's used in custom task content type): <Field ID="{d3773326-a0a8-45e2-9c60-82fc7f7ba01c}" Name="IM_Task_ResponsiblePerson" DisplayName="Responsible person" Type="User" ...
0 votes
1 answer
1k views

Extending the Content Search web part to display a "Show all" link

I want to use the Content Search web part to display a site's latest news articles. Also, I need a "Show all" link to the bottom of the web part - this link would take the user to a search results ...
0 votes
1 answer
1k 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 ...
3 votes
1 answer
2k views

Why can't I remove this Add-In?

I've been deploying a SharePoint Add-In from Visual Studio 2015 to our O365 developer site. For the past few days though, it has shown this deployment error: "Skipping the uninstall step because ...
0 votes
1 answer
10 views

Custom workflow action - added new FieldBind and Parameter to .actions4, but not showing up in .xaml designer?

I'm updating a custom workflow action to add a new text parameter. I've updated the .actions4 XML with a new FieldBind element mapped to a new Parameter element. I've cleaned and rebuilt the project ...
4 votes
1 answer
3k 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 ...
6 votes
1 answer
1k 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 Visual Studio ...
4 votes
1 answer
2k 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 ...
0 votes
3 answers
2k views

custom timer job is running multiple times in SharePoint 2013

I have created a Web application scoped timer job in SharePoint 2013. This timer job is supposed to be running only once in a month , and should send an email only once . The problem i am facing is ...
0 votes
0 answers
35 views

Visual Studio 2022 deploy SharePoint, Error occurred in deployment step 'Recycle IIS Application Pool': A task was canceled

I am working on SharePoint Subscription Edition, the system is Windows Server 2019 standard, Visual Studio is VS 2022 professional. When deploying any sharepoint project, output window will display ...
0 votes
0 answers
20 views

SharePoint remote event receiver debugging stuck at grant permissions page

I'm trying to create a remote event receiver for a SharePoint online dev site (referred guide - https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/handle-list-item-events-in-the-provider-...
2 votes
1 answer
941 views

Deploy code from Visual Studio to Sharepoint online

does anyone know any good reference on how to deploy code from Visual Studio 2015/2017 to Sharepoint Online? I haven't found any helpful information about it. Any help would be appreciated, thanks in ...
0 votes
1 answer
895 views

Option to upload and download file to SharePoint Document library

I want to give option to user on .aspx page to upload and download file to SharePoint Document library. I created an ASPX form page. There is an option to upload / download the document for storage. ...
0 votes
1 answer
18 views

Unable to find remote event receiver template in Visual Studio 2019

I'm trying to create a remote event receiver solution for SharePoint Online using VS 2019 community edition. I created an empty SP Add-in project, but when I try to add a new item, the event receiver ...
1 vote
1 answer
2k 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(...
2 votes
2 answers
973 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
0 answers
19 views

SharePoint 365 column data help

I have a basic Visual Basic program written in visual studio that watches folders for xml files and then parses though them and uses the included data to create a pdf via word mail merge and an access ...
0 votes
1 answer
29 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
5 votes
8 answers
20k views

Error occurred in deployment step 'Recycle IIS Application Pool'

I am trying to build a WebPart project and I am trying to deploy the same into my SharePoint dev site which I created using the SharePoint Central Administration. But the issue which I am facing while ...
1 vote
0 answers
64 views

Custom List deployed using Visual Studio 2010 unavailable under All Lists -Closed

I tried creating a custom list by the method mentioned in this tutorial by Saurabh Khatri. I deployed the list to another site. After deployment the instance of the list was visible in the Quick ...
20 votes
4 answers
10k 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
2 answers
207 views

SharePoint 2010 Dev Machine Deploy to Stage Machine

Machine 1: Virtual Development box with Visual Studio 2010, SharePoint 2010 Foundations, Designer 2010. Machine 2: SharePoint 2010 Enterprise (Staging Environment) Question: Does Machine 2 need to ...
0 votes
2 answers
784 views

How to deploy an EventReceiver which writes to SQL Server correctly

following scenario. I have a client machine on which I have all the permissions for: SQL-databases (db_owner) Full access to a Sharepoint Application. Created a Sql-account (db_owner) and included ...
2 votes
1 answer
153 views

Will this code lead to an object not being disposed?

Say I have the following code: SPList promo1List = site.WebApplication.Sites[0].RootWeb.Lists.TryGetList("promotions"); Will this lead to the SPSite object Sites[0] not being disposed? I ...
1 vote
1 answer
822 views

Can not open the package designer in visual studio 2010

I can not open the package designer in a SharePoint project. When I double-click Package or when I right-click Package and then select "View designer" then the XML file Package.package is displayed. ...
0 votes
1 answer
304 views

SharePoint Features Properties

I have to set my feature properties from VS. When I double-click on the file FeatureName.Feature , I do not see the properties window but VS open the feature design manager. How can I change the ...
3 votes
2 answers
5k views

How to delete site columns, deployed via feature (not visible in Sharepoint UI)?

Well it seems like this is a problem some people are having, but I can't seem to find the definite solution. I deployed some Site Columns to Sharepoint using a feature, let's go with the following ...
2 votes
0 answers
2k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
1 vote
0 answers
160 views

Project Online OData Source - SSIS

I have an MS project online environment and I want to replicate all data from online to our SQL servers. I found this article to do this with VS2012. I'm using VS2019 and SSDT, SSIS, SSAS extensions, ...
3 votes
2 answers
3k views

How can I get rid of the ListFormWebPart in a custom form?

I'm pretty new to SP, but I had to bite the bullet and create a custom new form for a custom list schema. I mirrored the field structure with textboxes and such, added some custom javascript, ...
0 votes
1 answer
820 views

validating people picker; allow submit only if all entries are resolved as valid

In people picker when I give an invalid id and valid id and click on submit button, both are resolved and list get updated with valid id. What I need is if I give no values in people picker and ...
0 votes
1 answer
753 views

InfoPath 2013 data connection error message

A developer has created an InfoPath form (Designer 2013), the form has some custom code behind the scenes, it also has 2 drop down option boxes that connect to a list on a SharePoint 2013 site. When ...
0 votes
1 answer
115 views

SharePoint Server 2019 On Hyper V - The required version of SharePoint Foundation or SharePoint Server is not installed on this system

Hello Experts, I had installed SharePoint 2019 and Visual Studio 2019 in Hyper V. When i try to create an Empty project in Visual Studio Getting this error, Please help. Please find the below ...
1 vote
0 answers
39 views

Custom list definition solution migrated and not rendering the Sharepoint:Formfield controls

I have a NewForm.aspx and EditForm.aspx from a custom list defined by a WSP where the SharePoint:FormField controls stop to render after the page is loaded for the first time after deployed (not ...
2 votes
1 answer
157 views

Make wsp compatible for sp2019

I will do a migration from SP2016 to SP2019. My question is for WSP , what I need to change exactly to be compatible with SP19, and how to do it? Using visual studio is there a config file to change.
0 votes
1 answer
703 views

How to get document title in a workflow (2013) developped with Visual Studio 2012

I have got a 2013 workflow (developped with Visual Studio 2012) on a document library. It starts when a new document is created. How can I get the document title to use it in my workflow? Thanks ...
0 votes
1 answer
205 views

VS 2019 cannot deploy Sharepoint App - Missing AddSharePointResolver task

We have a Sharepoint App that we have been maintaining & improving for a few years now. The app is javascript/html code. I recently (about 3 weeks ago) moved the solution to a new computer and ...
6 votes
3 answers
3k views

When to use Server side event receivers Versus using Remote event receivers?

I read a long article about two types of event receivers inside SharePoint server 2013:- Server side event receivers (available inside SP 2013 & SP 2010) Remote event receivers(available inside ...
4 votes
1 answer
351 views

Sharepoint 2019 visual webpart with SQL database

We are planning implement SharePoint 2019 on-prem to replace existing SP 2010 intranet . we have few SP visual webparts with SQL data sources that was build using VB.net . we like to know if it is ...
1 vote
2 answers
175 views

Error: Check that the server is running and connected to the SharePoint farm

I'm trying to debug my custom SharePoint page but I'm getting the following error: Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. ...
1 vote
1 answer
3k views

SharePoint 2019 Development which version of Visual Studio to download Enterprise or Professional?

For developing Solutions for SharePoint 2019 which version of visual studio can i download according to article it shows it supports Visual Studio 2017 v15.9. MS documentation here. Visual Studio ...
2 votes
1 answer
683 views

Creating Workflow from asp.net form

I have deployed an asp.net web form in an application page in SharePoint 2013. The form was developed in Visual Studio 2013 with asp.net being used to build the form and vb.net for the code behind. I ...
2 votes
0 answers
524 views

Visual Studio and SharePoint online connection

I recently began experiencing an issue with connecting my Visual Studio SharePoint add in projects to SharePoint online. Others (here, here, and here) have also reported similar behavior; however, I ...
5 votes
4 answers
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 it'...
0 votes
1 answer
118 views

How to connect AzureDevOps TFVS in Visual Studio Code

is there a way to connect TFVS in Visual Studio Code since Github private repository can only be shared for 3 persons.
2 votes
1 answer
1k views

Set welcome page view for Document Set in VS project?

I know you can set the view to use on a Document Sets welcome page through SharePoint. But is there a way to do this in a project, like either in the content type Elements.XML or the libraries schema ...
0 votes
1 answer
41 views

How to tell which event triggered a workflow from inside the workflow?

I have a SharePoint 2013 workflow created in VisualStudio (not Designer). Originally this workflow only ran on ItemAdded, but now I need it to also run on ItemUpdated. Is there a way to tell from ...

1
2 3 4 5
24