Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
1
vote
3answers
3k 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
66 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
67 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
62 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
247 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
452 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
331 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
395 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
193 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
76 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
46 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
1answer
163 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
494 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
32 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
484 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
392 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
30 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
595 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
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 ...
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
1answer
98 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
4k 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
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 ...
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
1answer
180 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
65 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
77 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
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 ...
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 ...
2
votes
2answers
131 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
411 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
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 ...
1
vote
2answers
441 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
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
2answers
453 views

Create a user group from a SharePoint list item people or group

I am trying to create a user group from a item in a SharePoint list. The list has a column person that is typed as person or group. In the event handler I am trying to take this column and create a ...
0
votes
1answer
147 views

Visual Studio 2013 cant connect to sharepoint site, on same server

i have a problem, sorry for my english. I have a virtual server where I have installed SharePoint 2013 Enterprise, SQL Server 2012 R2 and Visual Studio 2013. When opening visual studio 2013 and ...
1
vote
1answer
33 views

Can't find Sharepoint timerjob service among process to attach

I would like to attach Visual Studio to OWSTIMER service to debug the execution of a sharepoint timer job, but the service stopped to appear among services to attach in Visual Studio. Any idea why ? ...
1
vote
2answers
908 views

SharePoint Designer workflows not working when Visual Studio is installed

I'm unable to open and edit SharePoint workflows in SharePoint Designer 2013. However, when I uninstalled Visual Studio 2015 Enterprise from the machine, I was able to open and edit workflows just ...
0
votes
1answer
33 views

How to create a job in SharePoint Central Administrator 2010 using Visual Studio 2008?

I am new to SharePoint and Visual Studio. I read some articles, regarding my topic. I understood,for creating jobs in SharePoint, we have to use the Visual Studio then we have to create SharePoint ...
0
votes
1answer
1k views

Can't create SharePoint 2013 solution in Visual Studio 2017

I have a strange problem, I'm running Visual Studio 2017 on SharePoint 2013, the SharePoint 2013 template is displayed fine, but the SharePoint 2013 solution is not created! I cannot detect anything ...
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 ...
0
votes
1answer
66 views

Error Deploying Simple Workflow VS 2013/SP2013 Foundation

need your help. Environment: Sharepoint 2013 SP1 Foundation, Visual Studio 2013 Community (also tried 2015,2017) with OfficeToolsForVS2013. I`m new to Sharepoint solution development via Visual ...
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 ...
0
votes
1answer
231 views

Valid ClientContext Web Lists GetByTitle returns Null

I currently do have a working method in VB and proven through usage on other lists. Below will be my code Public Sub getWiki(ctx As ClientContext) Dim WaterIce As SP.List = ctx.Web.Lists....
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....
1
vote
1answer
311 views

Developing SharePoint Online master pages

Here's the main question: what is the best practices for designing custom master pages on SharePoint Online? Here's some background info: I've been designing and developing SharePoint master pages on ...
2
votes
1answer
85 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 ...
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 ...