Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
32 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
1answer
7 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.
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 ...
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
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
994 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 ...
2
votes
2answers
959 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

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
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
1answer
20 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
18 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 ...
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 ...
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 ...
0
votes
1answer
621 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
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 ...
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
42 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
1answer
690 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
651 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
2answers
200 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
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
1answer
707 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
1answer
781 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. ...
1
vote
0answers
257 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
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(...
1
vote
1answer
734 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. ...
2
votes
1answer
660 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 ...
1
vote
3answers
566 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
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
32 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
76 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
12k 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
254 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
809 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
98 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
22 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
655 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
544 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
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 ...
2
votes
1answer
5k views

How to change the “Parent Content Type”

I have requirement to create multiple content types to a single website in Sharepoint 2013, I have did it using the template files, but the problem in for all newly created content types the parent ...
1
vote
3answers
5k views

How do I run some JavaScript in a web part?

I found some JavaScript code on the web that I want to add to my custom web part so that I can modify a PageViewerWebPart's height to 100%. I just need to know what steps to take to call it. I added ...
1
vote
1answer
16 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 ...
2
votes
1answer
117 views

SharePoint 2013 REST endpoint URI structure. How to get list with localized title?

I can not understand how to work with localized lists. Using the article from msdn, everything works fine if my list has a title in English. But if I want to localize the sheet, I can not take the ...
11
votes
2answers
14k 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
0answers
545 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() ...
0
votes
0answers
19 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 ...
0
votes
1answer
790 views

Adding list forms in Visual Studio 2010

In SharePoint Desinger it is possible to add a new forms to a list (example CustomeEditForm.aspx). Is there some method of doing this in Visual Studio 2010 and how is that done? And is ther some blog ...
4
votes
6answers
14k 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 2 3 4 5 24