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

learn more… | top users | synonyms (1)

4
votes
1answer
2k 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
5k 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
0answers
128 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 ...
2
votes
0answers
42 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 : ...
1
vote
1answer
52 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 ...
0
votes
1answer
66 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
290 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
1answer
374 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
62 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
22 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 - > ...
0
votes
1answer
144 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 ...
10
votes
3answers
8k 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 ...
2
votes
2answers
1k 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 ...
9
votes
2answers
19k 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
54 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
702 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
43 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
37 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: ...
2
votes
1answer
696 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
15k 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
2k 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
57 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
1answer
17 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
325 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 ...
1
vote
1answer
116 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
4k 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
205 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
59 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 ...
4
votes
3answers
5k 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
314 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
297 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 ...
0
votes
2answers
380 views

SharePoint .wsp retraction error

I am deploying a solution by Visual Studio. I get the error during Retraction: The solution does not have a WSP file associated with it. I tried to do IISRESET and also to restart the server.
0
votes
1answer
82 views

Custom Action Location on Central Administration

I want to add a custom admin application page in central administration. I successfully deployed a custom Group on the default Central Administration Page with the Elements.xml. But now, I have some ...
2
votes
4answers
3k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
8
votes
0answers
227 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 ...
3
votes
1answer
55 views

Visual Studio installed on UAT environment

I have UAT environment set up on my client's infrastructure. We don't have Visual Studio installed on it and basically when client reports an error on custom developed features I am digging through ...
1
vote
3answers
423 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 ...
0
votes
1answer
53 views

How to apply customization through Visual Studio to the SharePoint online?

We have an existing SharePoint online site. Now we are required to introduce some changes in functionality. Can we do it through Visual Studio and send the change to SharePoint Online site? Will it ...
0
votes
1answer
19 views

Associate external content source with list item

I have a custom list with URL column. This URL will be used for crawling external content (e.g. network folder) and I'd like to associate search results with this list item. e.g. Search result ...
0
votes
3answers
1k views

Breakpoints not hitting as 'no symbols loaded'. Visual Studio 2012 c#

I'm attempting to debug an event handler and on the breakpoint I get the message that no symbols have been loaded when attaching to process. Is there any way I can figure out why this is? The ...
0
votes
2answers
30 views

Why this code does not match?

I currently doing simple custom webpart but this line of code will never works: Hello.ascx.cs if (strName == ConstantHelper.List.MYNAME) { ManageError("group " + strName.Trim() + " and " + ...
0
votes
1answer
415 views

ECB custom action by visual studio

How can I create a new ECB custom action by Visual Studio. Which kind of project do I need to create?
0
votes
1answer
61 views

SharePoint Developement | Necessary to open visual studio with “Run as Administrator”?

I have created new environment for SharePoint development, added developers as domain user in AD. In my comapny there is a policy that no one has administrative prevelages. When I start Visual studio ...
2
votes
2answers
78 views

Starting a SharePoint Site with Visual Studio on Office 365

I have been developing a site with SharePoint Designer and a web browser for awhile and I would like to start customizing the site with Visual Studio. I exported a .wsp file for the site and tried to ...
1
vote
1answer
322 views

Error while publishing Provider-Hosted MVC App to catalog site

I am tying to publish SharePoint 2013 Provider-Hosted MVC App to my site. I am getting this error message: Parser Error Message: Could not load type 'Microsoft.SharePoint.WebControls.ListMenu'. ...
26
votes
7answers
7k views

List of best practices on structuring SharePoint 2010 solutions

I am looking for good guidance on how to structure a SharePoint Solution including: Visual Studio Project Structure Features (how to separate features) Namespaces When to use multiple project ...
2
votes
1answer
1k views

Remote development to SharePoint 2013 with Visual Studio 2013

Referring to the following question: Visual Studio 2013 remote development I have tried this method to setup my environment for remote development to my on-premises SharePoint server. However, it ...
0
votes
0answers
57 views

URL field in sharepoint : Points to Control Template when http removed

We have a requirement to display urls based on logged in user . We created a single line of text for url storage in sharepoint list . C# code pulls the data and displays correctly . All is well when ...
1
vote
0answers
38 views

Debugger not coming to javascript written in usercontrol of visual webpart

I had written some javascript and called rest api to get user profile in ascx file within visual webpart. As attaching the process in VS with app pool and refreshing the browser does debugger to come ...