Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
74 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 ...
1
vote
3answers
4k 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-->...
0
votes
1answer
71 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
71 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
304 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
506 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":- ...
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 ...
4
votes
1answer
232 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
81 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 ...
2
votes
4answers
8k views

How to calculate 12 months from a start date

I am building an application about workers vocation and I need some help on calculating. Here is what I need: I have a column named startdate, after 12 months I want the SharePoint or c# to know ...
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 ...
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
565 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 ...
4
votes
2answers
2k views

Getting a “Content types that are available to this Document Set have been added or removed”

I am creating document sets through workflows. Edit: I just tested and I'm getting this message for manually created documents sets as well. Every new document set is showing the message: Content ...
1
vote
1answer
926 views

C# - How to 'rollback' update in ItemUpdated event receiver in SharePoint 2013?

I have some code in an event receiver in ItemUpdated that checks for duplicates when an item is updated. I would like to if the item already exists after the changes, the updates are not applied. How ...
0
votes
1answer
416 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 ...
2
votes
1answer
653 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 ...
1
vote
1answer
32 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?
1
vote
0answers
195 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 ...
3
votes
1answer
5k 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
1answer
115 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.
1
vote
0answers
425 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 ...
9
votes
3answers
27k views

How to read a User field value for a list item

I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
2
votes
1answer
203 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: ...
1
vote
0answers
211 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 ...
0
votes
1answer
74 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
84 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. ...
4
votes
2answers
4k views

Error occurred in deployment step 'Activate Features':

I am trying to deploy a SharePoint solution on my local machine.But it is giving me the following error: Error occurred in deployment step 'Activate Features': Failed to load receiver assembly "...
5
votes
2answers
7k views

troubleshoot a timeout happening while deploying via VS

Hi I am getting timeout error while trying to deploy my sp solution via visual studio 2010. It happens when my a particular feature is trying to activat. The generic error message I get goes something ...
1
vote
1answer
2k views

ribbon custom action template in visual studio 12

I want to create a ribbon custom action for SharePoint 2013 using Visual Studio 2012 but I am not finding where the Ribbon Action Control is. I can see it here but I cannot see in my setup.
1
vote
0answers
181 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
112 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
153 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
438 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
162 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
0answers
74 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
484 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
195 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
34 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 ? ...
0
votes
1answer
251 views

Retrieve all lists and libraries Sharepoint Online

I'm trying to retrieve all lists from my online tenant from Visual Studio. After much fumbling and unsuccessful attempts with: ListItemCollection listItemCollection = oList.GetItems(query); and ...
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
2k 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 ...
1
vote
0answers
111 views

Create workflow that contains the state machine action

I'm using SharePoint Designer 2010 in order to use the SharePoint workflow. I need to implement a "State Machine" action. so I assisted with: the Visual Studio program (I Create a project that uses ...
0
votes
1answer
254 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....
1
vote
0answers
50 views

SP2010 VS2010 Sequential Workflow not able to create a Task in Tasks List With Custom content type

I have created the sequential workflow for three level approval workflow with while condition. I am starting the workflow manually using SOM since I need to update one of the fields later inserting ...
1
vote
4answers
868 views

Visual Studio 2013 Error: workflow “could not generate view for item”

Yesterday I switched from VS12 to VS2013 Ultimate, opened my app in VS2013 and deployed it. Worked as expected. However I have one Workflow Issue, when I go to the XAML and drag an item from the ...
5
votes
4answers
22k views

“Invalid License Data. Reinstall is required” error when installing SharePoint 2013 after Sql Server 2012 on the same machine

I've already installed SQL Server 2012 on my machine. Then I tried to run the SharePoint 2013 Foundation installer but I received the following error before I even reached the splash screen menu: I'...
2
votes
1answer
872 views

SharePoint 2010 project templates missing in Visual studio 2015 Enterprise Edition

On windows server 2012 we have installed Visual studio 2015 Enterprise Edition but unfortunately, I can't see the SharePoint 2010 project templates. Can anyone help me out to get those templates? ...
1
vote
1answer
76 views

Existing InfoPath form to Visual Studio

Can we convert existing InfoPath 2010 form to visual studio and make it applied to list? I am using SharePoint 2010 and InfoPath designer 2010. We have an existing InfoPath form used by a list in our ...