Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
41 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
0answers
19 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
17 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
31 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
67 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 ...
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
95 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
21 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 ...
0
votes
1answer
14 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
vote
1answer
15 views

Error opening a 2013 template workflow for Sharepoint Online site using designer

When I try to open one of my SPO site 2013 template based workflow in SPD, I am getting error as "Server side activities have been updated you need to restart SharePoint designer". I can open 2010 ...
0
votes
0answers
17 views

Sharepoint addin project cannot connect to Sharepoint site

I've been trying to set up a small test add in project for the corporate sharepoint online site. I have created the developer site (sharepoint online, not local) and when I go to it in my browser I ...
1
vote
1answer
41 views

SharePoint WebPart won't update without IISRESET when deployed

I'm using visual studio 2017 to create a Visual WebPart for SharePoint 2013 and I have deployed it using visual studio but the problem is that the webpart won't update without resseting iis. How can I ...
0
votes
0answers
21 views

How can I connect to on-premises TFS using visual studio code?

How can I connect to on-premises TFS using visual studio code? Is that possible the same way as visual Studio?
0
votes
0answers
111 views

How to call Javascript Function in Custom Login.aspx page

I've created a custom login page for FBA which has this hyperlink for windows login: /_windows/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F . When we try ...
0
votes
0answers
18 views

Visual Studio 2017: New SharePoint Add-In project does not complete

I've been able to create SPO add-ins using VS2017 just fine. However, for some reason when I now create a new project, VS2017 just stays in the status of creating the project (seems like it occurs ...
1
vote
1answer
1k 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
2answers
59 views

Can I install SharePoint Designer on my Home PC

Here is the situation. I work heavily with SharePoint 2016 at work as a low code / no code SharePoint Analyst / Admin. all of our SP Team Sites are on our server farms and not in the cloud. I have a ...
1
vote
0answers
79 views

How to solve “Failed to deploy the manifest file to the Exchange server. The remote server returned an error: (400) Bad Request.”?

I am getting below error while running the outlook web app solution. Failed to deploy the manifest file to the Exchange server. The request failed. The remote server returned an error: (400) Bad ...
1
vote
0answers
61 views

2010 CSOM - Provision document set after creation

I have a requirement to programmatically create a document set in a library. I've done this successfully using the code below, however when I open the document set I see the yellow bar message '...
1
vote
1answer
94 views

Sharepoint client.PostAsync(“Url”, null) Gets 401 unauthorized error REST API Xamarin.Forms

I am developing a cross mobile app using Xamarin and I am trying to post some items to a SharePoint List. I have created a windows form app just to test the SharePoint Rest API and it is working good,...
0
votes
1answer
31 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...
1
vote
1answer
28 views

Send Email After Three Files Uploaded

We're still stuck on SharePoint Server 2010; will hopefully migrate to 2016 in the near future. I could really use some help with this task because I feel like I've spent countless hours, and haven't ...
2
votes
1answer
208 views

Custom Action XML, add Ribbon button to calendar

Can You help to add custom button to Calendar. I have code for Document Library, but have no clue how to do same for Calendar. I see ribbon names in DevTools and tried to change groups and xml ...
1
vote
1answer
273 views

How to add a GridView to a Visual Web Part?

I'm new to SharePoint and am developing a simple World Clock Visual Web Part, following this blogpost from SharePoint Hero. In the blogpost the instructor describes adding a GridView to the Web Part, ...
0
votes
1answer
44 views

Visual Web Part cannot be found or is not registered as safe, and isn't being added to web.config

I'm new to SharePoint development, and I'm making a basic Visual Web Part with Visual Studio 2015, which currently only displays a header. It successfully builds and deploys, however the SharePoint ...
0
votes
1answer
111 views

How to get all Folders tree of a specific user with all the folders( or files ) permissions?

I am new to the SharePoint development. I want to write a C# code that will scan the sharepoint site and return the tree structure of all folders for specific user. It should also show the ...
1
vote
1answer
86 views

Cannot initialize SharePoint project item whenever a project is reopened

I'm developing a SharePoint Visual Web Part for SharePoint 2016 with Visual Studio 2015. When I create a new web part all the relevant extensions initialize correctly. However, when I close Visual ...
0
votes
1answer
30 views

SharePoint 2013: nativehr0x80070002ativehrnativestackativestack error when documents are uploaded to a document library

I am frequently experiencing an error in my SharePoint 2013 on premise environment when users try to upload a document to a document library. When a user uploads a document, the person is asked to ...
1
vote
2answers
449 views

what version of visual studio is needed for sharepoint 2010

what version of visual studio is needed for sharepoint 2010 besides VS2010? My question is whether or not a sharepoint 2010 server can support newer versions of VS?
0
votes
2answers
26 views

Is it possible to use a SharePoint List to display content dynamically added by JS without saving it to the List?

I want to display a list in SharePoint Online in my Add-In using JavaScript, but if possible use all the features a stock List offers, like sorting and filtering (especially those two). Therfore I ...
0
votes
1answer
17 views

SharePoint Hosted Add-in asking for credential

My scenario : I have created a SharePoint 2016 farm and created a simple hello world SharePoint hosted add-in. I have successfully deployed the add-in via visual studio in one of the site. When i ...
0
votes
1answer
27 views

Where to put styles in a VS Project

I'm developing a SharePoint feature, I already know where to put custom layouts and templates, but can't find helps where to put .css styles. I'm not asking how to reference an existing file in any (...
0
votes
1answer
47 views

ConnectionString in SharePoint feature

I have issue with my connectionstring: App.config <?xml version="1.0" encoding="utf-8" ?> <configuration> <connectionStrings> <add name="prod" connectionString="...
1
vote
0answers
72 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
0
votes
1answer
83 views

Creating a development environment on Azure

Is it still possible to create a quick development environment on Azure for SharePoint 2013 or 2016? Like it's described in this very old blog post: https://blogs.msdn.microsoft.com/sharepointdev/...
4
votes
2answers
110 views

Deploying add-in to SharePoint 2016

I am trying to deploy an add in to SharePoint Server but keep getting this error: "A timeout has occured while invoking commands in Sharepoint host procecss" Note: I am using vs2017 and window ...
2
votes
1answer
587 views

Show Item Level Permissions in Column [C# - SharePoint 2013]

I'm trying to show all Item level Permissions in a SharePoint list Column. I already solved this using PowerShell, however it was so slow to run sequentially, I've decided I need a C# Solution: I ...
1
vote
1answer
57 views

SharePoint plugin development automatization

I use Visual Studio 2017 to build and deploy SharePoint-hosted plugin to dev sharepoint environment. Can I authomatize this process? I want SharePoint plugin to be automatically deployed to dev ...
1
vote
0answers
42 views

SharePoint Online Workflow With Visual Studio

I'm trying to learn do build workflows for SharePoint online with Visual Studio. I've been following a PluralSight training session and understand the concepts and can make all the various demos work. ...
1
vote
1answer
711 views

Infopath with VS 2017?

I have Visual Studio 2017 and InfoPath 2013 installed currently and was investigating the custom code options for Infopath and it states that I need to install VS 2012. Is it possible to get Infopath ...
0
votes
1answer
43 views

Workflow activity causing errors with type ViewStateNameValue

I am using visual studio 2017 2017 with SharePoint online (a developer site) to create a SharePoint hosted app. I have just been using the workflow designer so haven't touched the XAML. When I click ...
0
votes
0answers
494 views

field or property \“CreatablesInfo\” does not exist

I´m developing a Sharepoint 2013 on premise webservice and I consult many lists but in one list I have a error: field or property \“CreatablesInfo\” does not exist. Error is in context.ExecuteQuery() ...
1
vote
0answers
119 views

Cannot debug SharePoint Framework command set extension in Visual Studio Code

As mentioned in this guideline I am able to get debugging in VS Code working for a SharePoint Framework web part: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-in-vscode However command ...
0
votes
1answer
79 views

Office 365 sharepoint List connection in Visual Studio

I am trying to connect Office 365 sharepoint List in Visual Studio. But am not able to connect. Is there any solution for this? Or this is not possible at all? Many Thanks Savita
1
vote
0answers
13 views

Cannot update the list item with event receiver [duplicate]

I have a user which has only Adding permissions which means that the user can only add items to a list. But I want to implement some logic in Title column with an even receiver. But the problem is ...
0
votes
1answer
31 views

User Change Event in ASP.Net

We have developed a visual web part in asp.net. With using SPContext.Current.Web.CurrentUser.ID property, we control who is current user. In SharePoint, it is possible to change current user and this ...
0
votes
1answer
62 views

Can i get my Event Receiver source code from a WSP file

I was working on a sharepoint 2013 farm solution to implement an event receiver inside visual studio 2012 professional. now when i try to build/run the project i got an error that there is not space ...
0
votes
1answer
32 views

SP item list join SQL item table in MVC ASP.NET

I'm new in MVC ASP.NET web app develop, I created an MVC WebApp hosted in AZURE App Service that CRUD into my SQL Azure Database. I used Visual Studio 2017 to do it, and it works great, it was ...
0
votes
0answers
66 views

Turn On Versioning in SharePoint Online Add-In List

I want to turn on versioning for lists generated via a SharePoint add-in deployed to SharePoint Online. I've added VersioningEnabled = "TRUE" to the Elements.xml of each list, but still get Vision ...