Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
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 ...
2
votes
2answers
235 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 ...
0
votes
3answers
1k 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 ...
2
votes
1answer
673 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
9 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
92 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 ...
2
votes
1answer
642 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
685 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
677 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
1answer
744 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
1answer
18 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
599 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 ...
1
vote
1answer
724 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. ...
15
votes
3answers
494 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 ...
1
vote
1answer
960 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
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 ...
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 ...
2
votes
1answer
4k 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 ...
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" ...
1
vote
1answer
12 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
1answer
987 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 ...
2
votes
1answer
90 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 ...
2
votes
2answers
948 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 ...
11
votes
2answers
13k 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/. ...
3
votes
1answer
1k 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 ...
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 ...
0
votes
0answers
415 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
12 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
12k 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 ...
7
votes
7answers
16k views

Can't connect to the SharePoint site:

I started VS with admin rights, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 server. But now I'm failing to create a SharePoint project ...
4
votes
1answer
645 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio [closed]

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
1
vote
1answer
27 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
17 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
66 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
17 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
572 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
38 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
58 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
52 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 '...
2
votes
2answers
378 views

Follow site programatically

In SP 2013 on prem, I am developing a web part using c#. All my functions work except follow/unfollow a site for a user. So I am turning here for some inspiration, looking for some code snippets or ...
1
vote
1answer
46 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,...
2
votes
1answer
1k views

Starting Workflow on Button Click

I have added a state machine WF in VS by right clicking my solution and Add -> Add New Item -> then under "Office/SharePoint I added the "State Machine WF (Farm Solution Only). So the WF is now part ...
0
votes
1answer
28 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
26 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
120 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
161 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, ...