Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
117 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
33 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
80 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
42 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
71 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 ...
1
vote
2answers
41 views

Develop environment requirement for SharePoint 2016 [closed]

I am just starting on SharePoint and came to know that it is not as easy as another .net project where we just download Visual Studio community edition and start working on an application like web API ...
1
vote
2answers
160 views

Workflow not progressing when a task completes

I have a SharePoint 2013 Workflow deployed through Visual Studio as a farm solution. The workflow is deployed correctly, it starts when asked to and assigns a task to a group. The problem is that ...
2
votes
1answer
71 views

Minimum Requirements for Azure SharePoint Development VM

I'm interested in developing SharePoint Visual Web Parts in Visual Studio but don't have an instance of SharePoint Server running anywhere. Visual Studio points me to this page, which suggests a ...
2
votes
1answer
69 views

Difference between Activating Feature in Site Features and Programmatically

I have this strange situation, i have a site definition, that has a feature that after provisioning the site has code that runs, and one of the tasks is to activate the Publishing Feature in the newly ...
0
votes
1answer
393 views

SharePoint Online: Why am I getting Error 429 while side-loading Add-in to dev site?

Today, for the first time, I'm continually getting Error occurred in deployment step 'Install SharePoint Add-in': The remote server returned an error: (429) while trying to side-load a Add-in to my ...
0
votes
2answers
983 views

The required version of Sharepoint foundation or sharepoint server is not installed on this system

I wanted to create a webpart using SharePoint solutions in visual studio 2015. I'm currently using sharepoint foundation 2013. I don't understand why I'm getting this error because it seems that I've ...
1
vote
0answers
89 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
289 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
6k views

How to create traffic light indicator in sharePoint list? [duplicate]

I have 'Status' column having values 'Draft','Completed','In progress', 'Backlog' Now I want to show corresponding Color code in 'traffic light' column. Draft-->Grey Completed-->Green In progress-->...
2
votes
2answers
97 views

2013 Workflow not starting on “create” after creating item with Visual Studio and impersonating user

SharePoint 2013. I'm using VS to create document sets in SharePoint. When they're created, I'd like to use a workflow to auto-fill a few columns. However, the workflow won't kick off unless I create ...
0
votes
1answer
86 views

SharePoint Online Add-in: getJSON on .txt File in Content Folder Returns 404

I'm using the below code in a SharePoint Online Add-in to import data from a text file to my HTML: $.getJSON("../Content/timeszones.txt", function (data) { $.each(data.items, function (i, item) { ...
3
votes
1answer
85 views

SharePoint Online Add-In: Initialize List with DateTime Field: String was not recognized as a valid DateTime

I want to initialize a list in a SharePoint Online Add-in with the following XML: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> &...
1
vote
1answer
355 views

“SharePoint Add-in is in an invalid state and cannot be uninstalled” from SharePoint Online

I cancelled (CTRL + Break) a SharePoint Add-in install from Visual Studio to a SharePoint Online development site because it was taking forever, and now get this message when attempting to re-deploy: ...
3
votes
2answers
841 views

Unable to run my remote event receiver “Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime, Version=15.0.0.0, Culture=neutral”

I have an office 365 farm + visual studio 2015 professional. now i want to create a new remote event receiver, so i did the following steps:- I create a new project of type "SharePoint Add-in":- ...
1
vote
1answer
382 views

Visual Studio crash during debugging Add-In application

I'm develop provided-hosted app (MVC) in SharePoint Online. I've installed Visual Studio Community 2017. Unfortunately, when I try to debug and install Add-In, Visual Studio freeze and not responding. ...
0
votes
2answers
618 views

Visual Studio Workflow REST API Call

I'm trying to get a user's property using a REST call in a Visual Studio workflow. The rest call: /_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountname='i:0%23.f%7Cmembership%...
4
votes
1answer
433 views

Is there a way to create a new list item with other user using Microsoft.SharePoint.Client namespace

We have a SharePoint list in which each user has permission to view only records created by him. I have a task to write a service that generates list items, list item must be created by another user ...
3
votes
4answers
138 views

Where to install Visual Studio?

I'm new in developing SharePoint 2013 (on premises), and I want to use Visual Studio (VS). My question is the following: Where to install VS? In the same server like SharePoint? Or can I install it ...
0
votes
1answer
47 views

SharePoint 2013/2016 Tool to exports sites, lists and sites configuration

I'm trying to find a tool to see "enumerated" sites, its lists, a site template configuration and then export it to something like Mindmap or Visio. Basically trying to find: Lists Field Types ...
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 ...
0
votes
1answer
36 views

Migrating sharepoint solutions

I have a sharepoint application on a certain server but, somehow it got corrupted and i have another fresh sharepoint server. Is there a way i can move the source code to the new server and run with ...
0
votes
2answers
252 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 ...
2
votes
1answer
777 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
2answers
36 views

Visual Studio retract all data in Sharepoint list after adding another field

I have a project in visual studio to be deployed in sharepoint 2013, every time i change the field's data type or add another field in the list, when i run visual studio, it always retract all the ...
2
votes
2answers
864 views

Using CamlQuery in SharePoint 2010

I'm trying to write a CamlQuery that goes through all of the documents in the library and returns a list of docs that contain certain metadata tags. I have a working version which recursively does ...
0
votes
1answer
440 views

SharePoint App : Lookup field always empty?

I've been struggling for the last couple days to fix this issue with no success. I have a list with this content type and columns : When i go to my list containing the lookup field , which reads ...
1
vote
1answer
33 views

Add Visual Web Part SharePoint server 2010 (add url server)

I have access at the site collections administrator level SharePoint server 2010 Ent, but no one will give me access to the server, only from the workstation, how to be?
2
votes
1answer
868 views

Add-in sharepoint deletion

The solution is not a permanent solution. I am able to delete it with the script provided. But i still cannot redeploy my solution from VisualStudio. Is there a way to get this working or do i need to ...
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 ...
1
vote
0answers
208 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
1answer
147 views

The type or namespace name 'SharePointContextFilterAttribute' could not be found

I created a fresh sharepoint add in but when i try to built it i get this error. i addded the sharepointpnpcoreonline nuget package,but still error persist.
3
votes
1answer
6k views

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

I am getting the following error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. while I am trying to read an excel file and than to populate it in GridView, within a ...
1
vote
0answers
492 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 ...
2
votes
1answer
385 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
1answer
226 views

How to add a DropDownList column to GridView? Visual web part

How can I add a DropDownList column to gridview in code behind? In my case a want to add a dropdown called Employer. I have successfully added 1 string column called Name with the following code: ...
0
votes
1answer
82 views

visual studio custom workflow after publish requires dettach attach to Sharepoint List

we have deployed visual studio workflow and attached to a SharePoint 2013 list. after some changes we do publish it from Visual studio, but changes does not reflects immediately, we need to ...
0
votes
1answer
120 views

Connect and use search service programmatically

I'm building a web service that will search SharePoint site collection for certain items via search service, and then pass results to a list and as the result, display them in my web service method. ...
1
vote
0answers
185 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 ...
3
votes
0answers
126 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 ...
2
votes
2answers
197 views

Is there a way to take only the value of a lookup type field

I am using a workflow where I need the value of a lookup field, My current result is : 210;#AA8888AA It needs to be: AA8888AA Is there a way to take only the value using SharePoint Designer or I ...
3
votes
1answer
526 views

How to display a RDLC report to SharePoint 2013?

I have created an RDLC report with visual studio and it looks like this: But the problem is that I don't know how to publish it in SharePoint page. So how can I display this report to SharePoint Home....
2
votes
0answers
199 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
3answers
701 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 ...
1
vote
0answers
105 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
2
3 4 5
24