Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
819 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
2answers
244 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 ...
1
vote
1answer
744 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. ...
1
vote
1answer
1k 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(...
0
votes
1answer
60 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 ...
2
votes
1answer
744 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
1answer
1k 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 ...
6
votes
3answers
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 ...
3
votes
1answer
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" ...
2
votes
2answers
966 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
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
1answer
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
1answer
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 ...
4
votes
1answer
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 ...
4
votes
1answer
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
0answers
14 views

Provider Hosted AddIn has incorrect reference of AppForSharePointOnlineWebToolkit with Visual Studio 2019

So I have created a test provider hosted app with Visual Studio 2019 and it adds below list of packages in "packages.config" <?xml version="1.0" encoding="utf-8"?> <packages> <...
6
votes
1answer
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
1answer
114 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 ...
0
votes
3answers
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 ...
1
vote
2answers
28 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. ...
4
votes
7answers
15k 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 ...
0
votes
1answer
695 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
695 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 ...
2
votes
1answer
655 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 ...
0
votes
1answer
716 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 ...
1
vote
0answers
60 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
4answers
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
1answer
32 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
1answer
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
1answer
23 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 ...
0
votes
0answers
22 views

Read Write file using csom

I was wondering, if there is any suggestion to read write the files from local machine using CSOM. Scenario : i have one .xml file and one .txt file, now i need to copy content from .txt and paste ...
0
votes
1answer
1k views

Display template js file not created while deploying the custom display template via visual studio in Sharepoint 2013?

I added Custom display template by using visual studio, Our custom display template is added but js files are not created. If I Unpublished the file then I publish again means it's creating , I tired ...
0
votes
1answer
46 views

Updating List item from Event Receiver of another List

According to my requirement, I've 2 Lists within the same site List A and List B. Below are the columns in List A: User [PeoplePicker], City [dropdown (2 choices)], Company [dropdown (5 choices)], ...
0
votes
2answers
234 views

Change ClientId - Update on Installation of provider hosted App

When you publish a new provider hosted app using F5 - deployment, the new version of the app will be installed and a new ClientId will be generated. In addition that ClientId will automatically be ...
0
votes
0answers
19 views

How to upload static aspx / html to SharePoint using Visual Studio

I have a tool that generates a set of html pages, they are just referenced within an index page (also a static html page). My main goal is to upload this group of pages to an on-premises SharePoint ...
1
vote
0answers
277 views

The remote event receiver callout failed. Details: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost'

I want to host some Remote Event Receivers inside my Local machine to be able to test/ebug them. so i follow this procedure on how i can create low trusted Apps and host them on local IIs http://www....
1
vote
3answers
648 views

SharePoint Site url is not working for debugging a solution

For debugging a SharePoint solution I want to give test site URL in visual studio. but since web application URL is already access mapped (http://example:2344 -> http://example.com). When I ...
0
votes
0answers
18 views

In my application, new workflows are running fine, but the old workflows are not running fine

My workflows are custom developed workflows using Visual Studio 2013. The Visual studio is migrated from VS 2012 3.5 framework to VS 2013 4.5 framework and SharePoint environment is also migrated from ...
0
votes
1answer
33 views

Missing dll error

I am getting this error that Microsoft.exchange.webservices can not be added to GAC while deploying solution. We have got solution from other team which work on their environment. When we trying to ...
0
votes
0answers
96 views

Unable to Debug Remote Event Receiver using Ngrok reverse proxy. ClientContext will be null + Error “iisexpress.exe has exited with code -1”

I want to test and debug a remote event receiver for my custom list inside sharepoint online. So i did these steps:- Inside our sharepoint online i created a new developer site collection. using ...
14
votes
6answers
13k views

Deploying EventReceiver project with target of WebApplication from VS fails when activating features

I am trying to deploy an event receivers project with a deployment target of WebApplication as part of my web parts package (also has a target of WebApplication) through Visual Studio and encountering ...
2
votes
2answers
283 views

SharePoint Framework development using Visual Studio

I am going through the new development approach that is introduced in SharePoint which seems to be open source and suggested approach by Microsoft. If i look from developement perspective then it has ...
2
votes
1answer
952 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
11 views

Limited Custom List on Visual Studio

Why is it when I try to create a new List on Visual Studio, I do only get Document Library as the only option? Do I need to install other plugins?
3
votes
1answer
104 views

How we can create and debug a remote event receiver and attach it to existing list

I have a custom list inside our SharePoint online and it contain many items. Now I want to add some business logic to the list through implementing a remote event receiver which get fired when items ...
1
vote
1answer
23 views

Convert Single line of text to Person

I've done a small program to export data from Project Server to Sharepoint Server 2016, as the number of exporter field is dynamic, I had to use sql db (because CSOM doesn't allow to use other ...
2
votes
1answer
703 views

Property access conversion to an activity is not supported for property 'Today' defined on type 'System.DateTime'

I am developing a Sharepoint 2013 add-in. Writing the workflow, when using DateTime.today, I get this error: Property access conversion to an activity is not supported for property 'Today' defined on ...
15
votes
3answers
595 views

SharePoint 2013 Site Definition Toolbar Type Standard not showing

I have a problem with the toolbar type "standard" in SharePoint 2013. If I insert a XsltListViewWebPart with , there is no "New Element" button. And no "View Choice" and something like that. I've ...
0
votes
1answer
17 views

How to add “<” in Site Column Calculated (Sharepoint Online Add-in)

I'm development a sharepoint add-in in sharepoint online and visual studio 2017. I was used calculated fields with conditions like ">", but when I put "<" inside, I get a IDE error? Anyone know ...

1
2 3 4 5
24