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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

cannot deploy app in visual stuido 2013

I have created a custom ribbon in Sharepoint 2013. The custom ribbon calls an application Page that executes custom c# code I have used this code: <Elements ...
2
votes
1answer
963 views

Add list item through visual studio

I have created a list of links through Visual Studio. Now I want to add items to that list. How can I do it through visual studio itself? I am using visual studio 2013.
0
votes
5answers
3k views

How to get count of list items in SharePoint 2010 if count is more than List View Threshold value?

I have more than 10000 items in my list. I have default List View Threshold value as 5000.I want to get the count of items programmatically. How can I get the count? I think here ...
0
votes
1answer
590 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 ...
0
votes
1answer
610 views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
0
votes
0answers
15 views

'Add Solution': Object reference not set to an instance of an object

I have a WebApplication scoped feature and I am getting this error when I deploy. I have searched all over the internet, and the answers I have found are not much help. Here is the code that is ...
0
votes
2answers
446 views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...
0
votes
0answers
15 views

How can I extract the InfoPath forms for a Visual Studio workflow from SharePoint?

I am looking to extract InfoPath forms from a SharePoint environment that are initiation / association forms of a Visual Studio workflow. The solution obviously puts the forms to the features folder ...
0
votes
1answer
1k 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 ...
0
votes
0answers
10 views

Create Exchange mailboxes and lync accounts through SP

I have a requirement to create exchange mailboxes and lync accounts through sharepoint. Please tell me what will be the ideal way of doing it ? I have thought of enabling RPC on exchange and lync ...
2
votes
2answers
380 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
0
votes
1answer
444 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
1
vote
0answers
18 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 : ...
0
votes
1answer
24 views

How to connect Visual Studio 2013 with Sharepoint?

What do I need to connect Visual Studio 2013 to a Sharepoint 2013 intranet site situated on a server that can only be accessed only form inside a local network? Can I do it with Visual Studio Express ...
-1
votes
1answer
38 views

Do we must need to add hnsc address to host files?

I am facing issue of VS not detecting my sharepoint site url. I know how to fix it, but why bug is not still solved properly ? According to this blog, I should add it to host files, but when i ping ...
0
votes
1answer
19 views

Which event is triggered by SharePoint when the workflow is terminated in VS workflow?

I have created a visual studio workflow (ShaerPoint 2010 sequential workflow). When the workflow is started I am managing the permission on the workflow item. But I have a requirement that when ...
0
votes
0answers
9 views

Updates are currently disallowed on Get requets, Code behind trying to update list item

I am using the below code to get id from url and get list item, then update it. But i am getting an error Updates are currently disallowed on Get requets. To allow updates on a GET , set ...
1
vote
1answer
409 views

Visual Studio cannot connect to sharepoint site

I have spent many hours at this issue and still unable to fix it: I read somewhere that one cannot deploy apps to sharepoint using the "system account", so I: Created a new account "admin1" in ...
0
votes
1answer
21 views

How To Deploy Files Stored in Layouts From Module

I am trying to deploy a .ASPX file using a module in Visual Studio. In all of the examples I have seen the files to be deployed are stored within the module folder in the Visual Studio project. My ...
0
votes
1answer
589 views

toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010 a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
1answer
9 views

Visual Studio Workflow Set People Field

I am new to Visual Studio Workflows, so please excuse my ignorance. I am having an issue setting the value of a People field. I have an Account Id coming from an InfoPath form. I need my workflow to ...
0
votes
1answer
17 views

SP2013 VS WF - add process dynamically

I'm using VS2013 to create SP2013 Workflow. I need to provide user with ability to choose additional approvers while WF is running. For example, normal approval process route is User A -> User B - > ...
3
votes
2answers
4k views

How to read an 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 ...
0
votes
1answer
23 views

Problem with redeployment of Fields, Content Types and List Definitions/Instances

What I did: Create an Empty SharePoint Project Create a simple Text Field Test - (re)deployment and retraction of Solution are causing no problems Create Content Type which consists of this one ...
6
votes
3answers
5k views

Deploying EventReceiver project with target of WebApplication from VS fails when activating features

I am trying to deploy an event receivers project with a deployment target of WebApplication as part of my web parts package (also has a target of WebApplication) through Visual Studio and encountering ...
3
votes
1answer
718 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 VS2010 I use ...
2
votes
2answers
921 views

“Error HRESULT E_FAIL has been returned from a call to a COM component” when executing FullTextSqlQuery?

I am using a FullTextSqlQuery to grab some data from a SharePoint instance. Initially I had a fairly simple where clause in which I filtered the results by the content type and everything worked ...
1
vote
3answers
2k views

Good tutorial for my first Custom Service Application in SharePoint 2010?

I found this one, but it has a step that says to "Select the “WCF Service” project template...", which wouldn't make sense for adding a New Item (at least that doesn't sound right to me). I'm curious ...
6
votes
2answers
13k views

Difference between WebPart & Visual Web Part

I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010. Thanks!
0
votes
2answers
21 views

Provider Hosted App in VM

Is it possible to run a provider hosted app from a vm on the same server as Sharepoint? And if so should i do it or is there a better way? Thanks
2
votes
1answer
35 views

What is purpose of 'View' with 'BaseViewID' set to '0' in schema.xml of List Definition?

In Visual Studio 2010 when I create a List Definition the schemal.xml file looks something like this: <Views> <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE"> ...
2
votes
0answers
30 views

What is the RoadMap of SharePoint and for its Developer community? [closed]

My question is about what is the vision of Microsoft for SharePoint and what ways can we foresee will it affect us, the developers. Will server side technologies remain in priority What ...
0
votes
1answer
426 views

create a custom ListDefinition based on a custom Content Type

I have created a custom content type that inherits from the Basic Page content type. I want to create a custom ListTemplate that will store pages, the library must use my custom content type I ...
0
votes
1answer
11 views

Connect Visual Studio to custom Pages

I would like to connect my Visual Studio to our Sharepoint Sites and edit them. I can see connections in the server explorer, but that is all. Can not open them. I really do want to move away from: ...
1
vote
1answer
22 views

Difference between Assembly Deployment Target set to “GlobalAssemblyCache” or “WebApplication”

When I view the properties for my SharePoint 2010 project I can see an option of Assembly Deployment Target which can be set to either GlobalAssemblyCache or WebApplication. From this question I was ...
5
votes
5answers
12k views

Custom web part deployment produces 'Cannot import this webpart' error

I have built an empty SharePoint project in Visual Studio 2010 with some custom web parts in it. When I've tested these on my local development machine they can be added to a page without any trouble. ...
0
votes
3answers
1k views

Create a survey list through visual studio

How can I create a survey list through visual studio? I am using sharepoint 2013 and visual studio 2013.
0
votes
4answers
37 views

Creating a development Environment SharePoint 2010

I want to install SharePoint on my laptop for development purposes. I'll probably have Windows7/8 in the laptop when purchased. The idea is to have a dual boot system, one for the original Windows7/8 ...
0
votes
0answers
10 views

Create a web template via visual studio

I have a little problem , I'm trying to create a simple web template from Visual Studio using this technique: ...
0
votes
1answer
11 views

Filter a list from a hyperlink?

I currently have a webpart written in C# that displays the latest news headlines from a SharePoint list. What I would like to do from that webpart is that when an item is clicked it returns the full ...
0
votes
1answer
67 views

Recomended starting point for creating custom SharePoint Online workflows with Visual Studio

Not typical question here on StackExchange, but hopefully somebody can point in the right direction to get started. I currently use SPD 2010 to create many workflows on our On Premise instance of ...
0
votes
0answers
32 views

Email current user in people picker

An Admin creates an item in a list. The admin then enters information onto the form. The Admin selects a user from the people picker and saves the item. It will then run a workflow. When the item is ...
0
votes
1answer
25 views

Sync word custom properties with sharepoint custom properties

I had a custom property(columm) on a sharepoint library called 'Status'. Whenever we would save a document(.doc) on a library, word woul ask if I wanted to save the .dot template file(Even though it ...
0
votes
1answer
29 views

Programmatically enable Auto-approval for permission requests on community site collection

I've done some searching and cannot find a solution anywhere. I'm creating community site collections via event receiver. I need to enable "Auto-approval for permission requests" on each site ...
2
votes
3answers
3k views

Unknown server tag 'asp:ListView' error with Sharepoint 2010 / .Net 3.5

I'm developing a visual web part in Visual Studio 2010 for sharepoint and i have a listview control embedded. I keep getting this error message in runtime even though I made sure it's namespaces are ...
0
votes
1answer
46 views

Create Custom Unique ID

I have a requirement to create a unique ID for a list item in SharePoint 2010 where the ID is in the format of [ACC]-[YEAR]-[SEQUENTIAL_INTEGER] but the [SEQUENTIAL_INTEGER] part needs to reset to 1 ...
0
votes
0answers
17 views

Simplest way to connect a Visual Studio SharePoint App to my external Database

Hi all new to developing for SharePoint. As the title indicates I want to connect my Visual Studio SharePoint App that I have created to my external database. I have created the app and it works in ...
3
votes
3answers
3k views

error activate feature list template/instance in site definition

i've created a SiteDefiniton project and a Sharepoint ListDefinition project. In the SiteDefinition I created a listinstance of my template, but in deployment the activation of the ListInstanceFeture ...
0
votes
1answer
38 views

LookupSPListItemId and Person field in SharePoint 2013 workflow

I'm trying to use the LookupSPListItemId activity in a SharePoint 2013 workflow in Visual Studio. The condition I'm trying to set is when a person field equals a specific person. The problem is I'm ...
0
votes
1answer
42 views

Customize CQWP programmatically

Good morning! I am trying to customize a CQWP through Visual Studio. More precisely, what I have done so far is: Add OOTB CQWP to page Customize Query and Presentation fields CQWP is being ...