Questions tagged [visual-studio]

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

224 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
15
votes
3answers
489 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 ...
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 ...
5
votes
0answers
188 views

Office ui fabric react not working with SharePoint hosted app!

I have created SharePoint hosted app using VS2015, and in that i have used Office ui fabric react components. I have installed it and other packages of React and React-dom using npm, App is ...
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 ...
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 ...
3
votes
0answers
105 views

Visual Studio Workflow Designer - can't access properties in GetODataProperties

I need to edit a workflow I created in VS, but now when I open the workflow in VS, I no longer have access to the specific properties in the "Get Properties" activity. I get the current item and ...
3
votes
0answers
578 views

SPO list with custom form in Visual Studio

I want to attach a custom list form using Visual Studio. After I added a form my solution explorer looks like this: I also changed the Deployment Type of the Test.aspx to "ElementFile". Now I ...
3
votes
0answers
40 views

Store SP 2013 Work Flow Audit Report in a List or Column in the same List

Has anyone came across any tutorials or links on how to store WF audit reports to a list or in the same list but on a column? I have scoured the net and I am not having any luck in getting the ...
3
votes
1answer
265 views

can provider-hosted app deployed outside the domain when using s2s

I'm creating a SharePoint provider-hosted app using visual studio 2013 in a machine and connecting to SharePoint 2013 on another machine. Visual studio is not in the same domain as SharePoint domain....
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
492 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 ...
2
votes
1answer
279 views

Send email with attachment in visual studio workflow using event reciever

I a have a SharePoint 2013 list. This list has a visual studio sequential workflow. This Form will go to director then if he approved it will go to the approver to approve and then it will reach to ...
2
votes
0answers
154 views

Error occurred in deployment step 'add solution': Value does not fall within the expected range

I'm getting this error trying to deploy my solution. Error occurred in deployment step 'add solution': Value does not fall within the expected range I' Using One Feature, and a Page Layout ...
2
votes
0answers
57 views

add Control on field date time

Is there a way to add a control on field datetime in schema.xml file without javascript and without c#. For exemple my date file cant be less than the current date . od date 2 must be more than date 1....
2
votes
1answer
591 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 ...
2
votes
0answers
58 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : http://...
2
votes
1answer
640 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
0answers
239 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
2
votes
0answers
26 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
2
votes
0answers
105 views

How do I utilize CustomTemplate property of BaseFieldControl

Using Visual Studio, I am creating custom templates for rendering Content Types in a SharePoint 2010 environment. If I want to control which fields, and in which order, I can elect to remove the <...
2
votes
0answers
40 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
2
votes
1answer
325 views

ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken

I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
2
votes
2answers
945 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 ...
2
votes
0answers
673 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
1
vote
0answers
52 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
46 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
58 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 ...
1
vote
0answers
60 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 ...
1
vote
0answers
36 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
0answers
109 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 ...
1
vote
0answers
74 views

OnClick Submit Button and Populate 2 Lists

I'm new to C#, ASP.Net I am trying to populate 2 SharePoint Lists off 1 submit button. C# code: public partial class Default : System.Web.UI.Page { static Uri _site = new Uri("https:...
1
vote
0answers
215 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
19 views

Visual Studio 2012 Professional

I'm quite a novice in SharePoint development (but not new to programming ;-)) My question is: Where to install Visual Studio 2012 Prof. ? On the server on which ShP 2013 is installed? On my local ...
1
vote
0answers
185 views

“Wait for field changes in current item” in visual studio workflow?

I'm developing sequential workflow for document library in visual studio. I want to wait for field changes in current item. I am seeking for the action Just similar to "Wait For Field Change in ...
1
vote
0answers
384 views

Sharepoint 2013 Hosted Add-in using React and React router

I have a reach JS app that uses react router. As a stand alone it works perfectly. I am now trying to use it in a SharePoint hosted app. I created the app using create-react-app from github. When I ...
1
vote
0answers
174 views

Create modified Subsites using CSOM C# or PowerShell

I am currently looking into solutions to optimize the create subsite function within SharePoint Online. I would like to have my SharePoint clients fill in a form or list with several configuration ...
1
vote
0answers
63 views

SharePoint copyTo moveTo with document library error

Using event handlers and workflows I am trying to archive a document library after a certain amount of time has passed. However I am having an issue with moving the document library. This is the code ...
1
vote
1answer
129 views

Subscribe SharePoint online integrated add-in workflow to library on site using CSOM

Is there a way to subscribe workflows from integrated apps/add-ins using C# CSOM? Currently I have: Created an integrated app/add-in in visual studio Added the app package to the app catalog in ...
1
vote
0answers
37 views

Upgrade SharePoint app fails

When I try to upgrade a SharePoint 2013 app with an integrated workflow (add-in created in Visual Studio) it fails. There was a problem accessing the file system on the server. Details: Cannot ...
1
vote
0answers
98 views

establishing visual studio 2015 project connecting to SharePoint 2016

I'm new to SharePoint, but have knowledge in c# developing. I have a SharePoint site that already has Lists in it. I need to create a form (in visual studio environment) that could read and write data ...
1
vote
0answers
86 views

How can I create a DateTime for a specific time with the correct UTC offset in an SP2013 workflow in VS?

I'm trying to pause a workflow until 8 AM on a specific day. I am on the East Coast of the US: UTC -5. I can create a DateTime object with a time of 8 AM like this: new DateTime(DateTime.UtcNow....
1
vote
0answers
56 views

Get foreign key in external content type to show up in list view using Visual Studio

How can I setup external content types in such a way that when in the list view of these external content types, I can jump between and possible lookup values to that other type? Note: No 3rd party ...
1
vote
0answers
87 views

Deploying Sharepoint Add-ins updates not updating

I have developed a SharePoint hosted Add-in and deployed it on our internally hosted SharePoint 2016 environment. This works fine, but if I update the project (for example make a list field required) ...
1
vote
0answers
62 views

Customise SharePoint Lists' EditForm & NewForm

I want to merge the EditForm or the NewForm of two Lists into One. For exemple :NewForm of List A and NewForm of List B The List A has an lookUP item from List B. Following the traditional Way , I ...
1
vote
1answer
20 views

Why is Designer 2010 not adding my web part to the zone?

I'm currently working on a SharePoint 2010 site, and I've been using both Designer 2010 and Visual Studio 2010 to create Web Parts for the pages. One of the Web Parts I created in VS 2010 was built ...
1
vote
0answers
24 views

Sharepoint Designer 2010+ Add-In Development Not Documented

Well, I've been searching for a while around the MSDN documentation, questions here and other sites and even some books but I can't find any clear reason why there isn't any information about how to ...
1
vote
2answers
35 views

Is it advisable to develop web-parts using VB.net?

Hope everyone is doing well. our public facing website has around 50 parts and among those 50,23 webparts are developed on VB.net and remaining on C#.net, Sometimes performance of the website is ...
1
vote
0answers
177 views

My first Sharepoint Hosted App is stuck in “installtion in progress” inside visual studio 2012

I am working on my first Sharepoint-Hosted APP inside sharepoint server 2013. now i am using Visual Studio 2012, where i did the following steps:- create a new sharepoint hosted app. specify my team ...
1
vote
0answers
26 views

Trying to Remove a SPWebConfigModification results in it being added to the web.config again

I am having an issue with SPWEBConfigModification. Instead of removing the item I added , it is adding a second copy of the added Line ! I am using SP2013 SP1 Aug 2016 CU. (I have changed the value ...