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

learn more… | top users | synonyms (1)

45
votes
5answers
4k views

Migrating a solution from 2007 to 2010

Let's say we have a well-established solution in Visual Studio 2008, using WSPBuilder to bundle it up into a package. It has a handful of features and a whole whack of assets to deploy (.webpart, ...
23
votes
6answers
4k 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 ...
3
votes
4answers
11k views

Error message: “A sharepoint server is not installed…”

Im trying to develop a Visual Web Part using Visual Studio 2010 RC. I have not installed SharePoint 2010 locally on my developer box, but I have installed it on my Windows 2008 Server VPC. When I try ...
1
vote
4answers
1k views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
8
votes
1answer
1k views

Best practices for creating a shared code library for SharePoint projects

I have several projects for SharePoint 2010 (mostly they are separate solutions built each to separate wsp's) in active development. And I have a similar tasks in these projects (logging, ...
1
vote
2answers
4k views

Change XSLT for Discussion Board, deploy via VS2010

So we are creating a branded web site for a client to deploy internally (kind of an intranet), but 99% of users won't see the ribbon, just a branded information site. They want to use the Discussion ...
1
vote
7answers
2k views

How to avoid WSP deployment globally using Visual Studio 2010?

How can we avoid the Globally Deployment of a WSP using Visual Studio 2010?
2
votes
1answer
146 views

Using solutions and features in creation/branding of SharePoint websites

I am new to SharePoint website creation and branding and I need your advice. For my first SharePoint site I have done the following: 1- Created/edited a master page. 2- Added CSS and JavaScript ...
1
vote
1answer
59 views

How to edit web part from wsp solution

I have wsp files that contain some web parts that I need to change the functionality of. Without the actual solution or project files, using just the wsp, is it possible to edit them? I changed the ...
17
votes
2answers
5k views

Multiple Sharepoint projects in one solution - how to package correctly?

I have multiple Sharepoint projects in a solution: MySolution.WF MySolution.Webparts MySolution.UI I also have some common code in a MySolution.Common project. All of the aboe projects ...
8
votes
4answers
3k views

Files in feature won't update when marked with GhostableInLibrary

Having an issue updating files with a feature. This is for custom branding. here is a sample of the elements.xml file. If I add a new file, it will provision fine, but any changes to existing files ...
6
votes
4answers
3k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
4
votes
2answers
2k views

How to read a column type SPUser, DateTime, Currency with EcmaScript?

I have a list in SharePoint 2010 with some columns. All are default types. So I have "Single line of text" "Multiple line of text" "Date and Time" "Choice" "Number" "Currency" "Person or Group" ...
4
votes
1answer
616 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
3
votes
1answer
264 views

Blog Post Read More

I'm using SharePoint 2013. In our blog post we often use allot of images and text so the current layout just doesn't work. I'm looking for a way to display a link to a read more page.
2
votes
2answers
172 views

Unable to Delete Custom Master Page Programmatically During Feature Deactivation 2013

I currently have a custom master page that is being deployed at the Site scope. Once deployed and the feature is activated it makes the master page available for use. I am able to activate the ...
2
votes
2answers
701 views

Check if task has already been submitted on opening InfoPath task form and switching view to reflect so

I am trying to make my custom task form (of Visual Studio Sequential Workflow) to switch view to "Submitted" in case someone has already submitted this task before, since this task could be assigned ...
1
vote
1answer
255 views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
5
votes
2answers
9k 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!
5
votes
4answers
9k views

How to fix “A SharePoint server is not installed on this computer”

To do SharePoint custom development, what is the recommended method? I've read this post, and it appears that if you want to use debugging in VS2010, you'd want to have SharePoint on the same machine ...
2
votes
1answer
339 views

Visual Studio 2013 - Workflow debugging prerequisites failed to complete

I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution: Has anyone encountered this error?
2
votes
2answers
275 views

How to debug sharepoint webservice?

I've followed Walkthrough: Creating a Custom ASP.NET Web Service and everything works fine. I just want to know how to enable debugging for this web service over network. Could you help me?
2
votes
2answers
514 views

SharePoint 2010 — Visual Studio Project Structure

What are your project structures for sharepoint projects. For example my simple structure is: Think of a project named MyPortal MyPortal.sln --MyPortal.Branding (Custom master pages, page layouts, ...
1
vote
1answer
620 views

How to make taxonomy picker required when used in visual web part?

I have created a visual web part in which user has to specify a field's value from taxonomy picker control. I want to make that value mandatory. The control is placed successfully but when I use the ...
1
vote
1answer
469 views

How do I create a Sharepoint hosted app for office 365 in Visual Studio 2013?

I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to ...
1
vote
2answers
577 views

Disable value in dropdown menu after being selected

I have created a library in which i am using the drop down column with some values.These Values will depend on the group to which the user belongs. For Eg. If Drop Values are A, B , C, D, E and ...
1
vote
1answer
1k views

ListAdded Event Receiver not Firing for List Instances

I have a List definition in Visual Studio which is instantiated using a List Instance. This list definition has an event receiver which overrides the ListAdded event. I am able to get the ListAdded ...
6
votes
3answers
796 views

SharePoint Web service requests take 30-60 secs initially

When trying to access SharePoint WSS 3.0 server using the web services API, the software service we are developing will hang anywhere between 30-60 seconds when making any call (pick anyone of them, ...
4
votes
1answer
2k views

Why won't my site column deploy from an elements file?

See Can site columns be deployed in sandboxed solutions? for background on this. I've tried to reproduce the sandboxed feature with a site column as built by Hilton Giesenow shown on How Do I: Create ...
4
votes
1answer
489 views

Use Visual Studio 2010 To Create SandBoxed Site with Content

I have a site that was built with the UI: It has a lot of custom .aspx pages with webparts and there are custom site columns, content types, and even a document library with several support files. My ...
3
votes
2answers
871 views

DropDownList to display External Content Type?

I am creating a visual web part in Visual Studio 2010 for SharePoint 2010 Server. I would like to use a DropDownList that shows data from an external content type (that is tied to a SQL Database ...
3
votes
1answer
868 views

Can site columns be deployed in sandboxed solutions?

I have created a package in Visual Studio 2010 for SharePoint 2010 which contains a single feature, called "SiteColumns", which link to a single elements file defining a single site column. I have ...
3
votes
2answers
4k views

Workflow action SendEmail does not use “From” field

I have a Visual Studio 2010 workflow for a SharePoint 2010 Server. It uses the default workflow action "SendEmail" to send an e-mail. Everything works out perfectly, but the sender of the e-mail is ...
3
votes
2answers
3k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed

Whenever I try to debug (i.e. F5) a SharePoint 2010 Project I get this error. All the SharePoint services are running. Messages in Output window: Add solution Adding solution 'my solution.wsp'... ...
2
votes
2answers
971 views

How to set visual webparts to load one after - another sharepoint 2010

I have a webpart page which have 2 custom visual webparts. When i set the debugger point on both the page loads of the webpart the 2nd visual webpart debugger is hit...that makes me think the 2nd ...
2
votes
4answers
6k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
2
votes
0answers
6k views

How to create the wsp package in visual studio 2010 with following features? [duplicate]

I want to create a wsp package. When I deploy it, it must add features such as two SharePoint lists, one webpart, one image library sequentially. Can I do this in WSPBuilder? I want to deploy this on ...
2
votes
2answers
843 views

Understanding Sharepoint feature scopes

I have read the article about Understanding Scope of SharePoint Features and the MSDN documentation on Feature Scope. So from what I understand you can activate a feature for the following scopes: ...
2
votes
1answer
393 views

Deploying webparts to default.aspx with a SiteDefinition feature dependency

I tried deploying a Site Definition with a custom default.aspx page. Within the <WebFeatures> node of the Site Definition's Onet.xml I tried to reference a Feature which would get a web part ...
1
vote
2answers
253 views

Workflow debugging prerequisites failed to complete - VS2013 Autohosted App

I am creating an auto-hosted app on VS2013. I am working with SharePoint Online and not locally. The problem is that when I try to enable the workflow debugging on my project I receive the error: ...
1
vote
2answers
427 views

Updating 'Created By' field in SP2010 programatically

I'm trying to import data from an .xml file to a custom list in SP2010(created programmatically). I'm able to create and update all fields except 'Created By' as it says that "Cannot update read only ...
1
vote
1answer
586 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...
1
vote
2answers
322 views

Reading contents inside PDF file

How can i traverse the contents present inside PDF file. Suppose i have PDF documents inside a document library and I need to read contents inside PDF file to know the type of PDF file whether its a ...
1
vote
2answers
1k views

error while signing sharepoint assembly with certificate

Our company purchased a certificate to sign our assemblies. But if I go the signing tab in project properties and select the certificate there, I'll get the following error: "an attempt was made to ...
1
vote
1answer
927 views

Custom web part throws error when I try to add it to page

I am working on a custom web part, that keeps error out with: A web part or web form control on this page cannot be displayed or imported. the type is not registered as safe any time I ...
1
vote
2answers
2k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
1
vote
2answers
1k views

MOSS 2007 + Visual Studio 2008 : How to I deploy a Visual Studio 2008 Web Application to SharePoint Server 2007

Q1. How to I deploy a Visual Studio 2008 Web Application to SharePoint Server 2007? I notice that there is not much materials on such deployment except for one which mention Visual Studio 2005 (not ...
1
vote
1answer
2k views

Get related items from a parent list item through lookup

I've got 2 lists: Companies and Employees. In Companies I have a text field called Name and in Employees I have a lookup to Companies based on the company Name. What I'm trying to achieve is to get ...
1
vote
1answer
2k views

WSDL and DISCO file from webservice

Not so long ago, I've tried creating a webservice for sharepoint. I followed this tutorial. In this tutorial you can see that you also need to create a wsdl and disco file. I didn't do this, and ...
1
vote
1answer
1k views

Sharepoint 2010 - wpresources for Bin / web Application Deployment

In SharePoint 2010 , using visual studio 2010 : i have bin / web application deployment. i want to add java script file under Virtual Directories\/wpresources// I cannot use the Resources mapped ...