Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Can not find web.Config of Empty SharePoint Project to Create an authorized type entry

I'm trying to write a custom workflow action and after searching I find this article and some other that referred to it. I follow the instructions step by step, but at the last step, author said: ...
Reza Owliaei's user avatar
3 votes
2 answers
988 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, ...
0 votes
3 answers
4k views

How can I access Controls in VisualWebPart1.cs from UserControl.ascx

I make a Webpart and want to use the controls from the VisualWebpart1UserControl.ascx in the VisualWebpart1.cs. Is this possible? I wrote following code in the VisualWebpart1.cs: ...
grekko's user avatar
  • 47
2 votes
1 answer
159 views

Feature with List and registration form

I am new to SharePoint and want to discuss an issue I want to create a feature that will create custom application page (registration form) and a custom list to store registration form's data. I can ...
SPBeginer's user avatar
  • 2,547
1 vote
1 answer
341 views

“HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools” Entry Does Not Show Up in Registry

I am trying to make changes to the registry entry at "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools" But the SharePointTools does not show up in my registry. I do have ...
Rahul's user avatar
  • 123
2 votes
1 answer
336 views

ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken

I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
MgSam's user avatar
  • 822
1 vote
1 answer
952 views

send email from workflow based on loopkup column

I have a workflow in visual studio and I need to send an email to a domain user whose name is entered into a sharepoint Person or Group lookup. The value will not be in a sharepoint group, it is from ...
steveareeno's user avatar
  • 1,185
0 votes
2 answers
368 views

Create a Ribbon for one list only and change it depending on a value

So, I created a custom list named "Events" and one named "attendees" for an event-management-solution (lets call it attendee training) in a site-collection at my SP2010 Server. My Problem: I want to ...
Dominik's user avatar
  • 392
1 vote
1 answer
50 views

Move discussion list to another discussion list

How to move a discussion list with all its messages to another discussion list maintaining the proper tree structure of the messages(replies)??
ankit's user avatar
  • 11
1 vote
1 answer
5k views

InfoPath 2010, Sharepoint Liist Form and Custom code

I'm editing SharePoint 2010 list's Form in InfoPath 2010. Heard I can edit/add custom code via Visual Studio. Checked all buttons on ribbon but cannot find anything referencing to 'custom code' or ...
Maciej's user avatar
  • 135
2 votes
2 answers
3k views

Visual Web Part vs Visual Web Part (Sandboxed)

While I was creating a visual web part in Visual Studio 2010, I also saw an option to create Visual Web Part (Sandboxed) under Visual Studio Template Gallery. I need to know how does a Sandboxed ...
xorpower's user avatar
  • 453
0 votes
3 answers
523 views

Is it better to create your application in sharepoint designer or visual studio?

I have been asked to create a sandboxed sharepoint application/site, multiple developers will be working on this. All the team members are .Net developers. Which is the best/maintainable/...
user1786107's user avatar
0 votes
0 answers
1k views

How Sharepoint pages life cycle works?

I built a HttpModule for sharepoint. But when I begin to debug the page request, I notice that the debugging has an strange cycle: 1 - context_PreRequestHandlerExecute() 2- page_PreInit() 3 - Init()...
hello B's user avatar
  • 681
1 vote
3 answers
12k views

How to add .aspx page in sharepoint 2010 project with visual studio 2012?

I went through following links: http://www.codeproject.com/Tips/312544/How-To-Add-Custom-ASP-NET-Page-Using-Layouts-Folde http://sharepointsolution2010.blogspot.in/2011/05/add-custom-aspx-page-in-...
Anuja's user avatar
  • 3,103
1 vote
3 answers
2k views

How can I debug sharepoint app attaching to IIS?

I built a HTTP Module, insert the DLL into the GAC, changed the webConfig Now , if on visual studio , I Attach to process W3WP , Open the web page where the module must work, I notice that ...
hello B's user avatar
  • 681
0 votes
1 answer
29 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
grekko's user avatar
  • 47
15 votes
2 answers
30k 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!
xorpower's user avatar
  • 453
2 votes
2 answers
986 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 ...
Gomiunik's user avatar
  • 392
0 votes
0 answers
79 views

How can Solve problems while debugging sharepoint web application?

Everytime I try to run my sharepoint application in debug mode, I get the error bellow:
hello B's user avatar
  • 681
1 vote
1 answer
145 views

Embedding images files in sandboxed webpart

Fairly new to SharePoint development but have been asked to into developing some simple web part features for a solution we're working on. I need to add some basic image/logo files into the .wsp for ...
markhlong's user avatar
0 votes
2 answers
3k views

Error occurred in deployment step 'Activate Features': Invalid field name

SharePoint Error message Error occurred in deployment step 'Activate Features': Invalid field name.{guid}
Ravi Ranjan's user avatar
0 votes
1 answer
966 views

Visual Studio 2010 Workflow Error

I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history. When I change ...
Lin Zhang's user avatar
0 votes
1 answer
527 views

Adding style sheet to feature

I have created a feature in sharepoint 2010. The feature has a visual web part (sandboxed), the web part has controls etc. I have added some styles to the web part. How do i upload the stylesheet ...
user1786107's user avatar
0 votes
2 answers
578 views

Are ID of default fields same for SharePoint installed on different machines?

Are ID of default fields (or SharePoint components) in 14 hive same for SharePoint installed on different machines ?
Ravi Ranjan's user avatar
0 votes
3 answers
2k views

ListItem Update from Client Object Model Not Triggering OnWorkflowItemChanged Activity

I am experiencing difficulty creating a file in a document library using the client object model. My custom Visual Studio 2010 workflow is not detecting the updates I am making to the file's list item ...
lthibodeaux's user avatar
1 vote
1 answer
945 views

Installing VS 2012 Tools for Office 2013 - Workflow Client 1.0 Beta.problem

Installing my development environment, I have: Virtual Machine with Windows Server 2012 SharePoint Server 2013 Visual Studio 2012 I need Visual Studio Tools for Office 2013. Using Platform ...
Tschareck's user avatar
  • 2,155
1 vote
1 answer
72 views

Creating tasks simultaneously, freeze.

I am working with two workflows, both of them have been done in C# by using Visual Studio within SharePoint 2007 , the first one is activated when a document has been updated and copies the file into ...
user1211929's user avatar
0 votes
1 answer
93 views

Is it bad practice to copy and paste pages in sharepoint?

I am a new sharepoint developer. I am creating a web template from scratch in visual studio. I am finding it time consuming when creating/editing pages in visual studio e.g. adding web parts to ...
user1786107's user avatar
0 votes
1 answer
95 views

Is it better to create a web template from scratch or import it?

I was wondering what most people do when setting up web templates. Do they create/customize it in sharepoint and then export the template and open it up in visual studio. Or do they create a ...
user1786107's user avatar
0 votes
1 answer
156 views

How to create a Web Template programmatically

I want to create a Web Template programmatically in Sharepoint 2010. I have read Vesa "vesku" Juvonen blog where he creates a web template using the elements.xml file and onet.xml file, but i want to ...
user1786107's user avatar
4 votes
4 answers
5k 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 ...
user avatar
1 vote
1 answer
47 views

Feature setup. Best approach

I am creating a custom sharepoint feature (2010) it will have the following: -5 custom lists -3 workflows -Adding some fields to existing lists All this can be done in sharepoint designer, ...
user1786107's user avatar
2 votes
2 answers
2k views

How to programmatically create editable wiki pages within the Pages library of an Enterprise Wiki site

I'm new to SharePoint. I'm trying to programmatically create a wiki page within the Pages library of an Enterprise Wiki site in SharePoint 2010. Here is my code: using (SPSite site = new SPSite(...
Zzz Zzz's user avatar
  • 23
0 votes
1 answer
229 views

Can't reference Microsoft.VisualStudio.SharePoint

I installed the Visual Studio 2010 SDK on my development machine and a tutorial I am following asks me to reference Microsoft.VisualStudio.SharePoint. It is supposed to be under the .NET tab ...
Sean's user avatar
  • 404
1 vote
2 answers
3k views

SharePoint 2013 Site Definition Template Missing

I am using Visual Studio 2012 Ultimate RC, and I did install the Sharepoint 2013 tools. But cant find the site definition templates. Any thoughts??
akki's user avatar
  • 11
0 votes
3 answers
83 views

How to build a complex feature to collect and store user options that drive a delegate control

A long title but hopefully will be enough! Basically, I want to create a feture in Visual Studio that will do the following: When activated, places an option/link in the site collection options in ...
spevilgenius's user avatar
  • 1,341
0 votes
2 answers
1k views

Deploy folder/files to Web Application Root

How to deploy folder to a SharePoint 2010 Web Application Root folder (inside inetpub\wwwroot\wss\VirtualDirectories\80) in the solution package(wsp)? Which kind of item I should use in the visual ...
Ahmed Magdy's user avatar
10 votes
1 answer
8k views

Where is Package menu item in Visual Studio 2012

I'm using visual studio 2012 for developing SharePoint 2010 solutions, back in vs2010 there was a menu item names "Package" so I can get the package without deploying it and I noticed it's disappeared ...
Ahmed Magdy's user avatar
1 vote
0 answers
819 views

Missing my custom content type in UI List instance

In visual studio I defined some content types. In addition I added each content type to a list definition and created a list instance from each list definition. When I install my solution in ...
Arash's user avatar
  • 11
5 votes
2 answers
24k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
spry's user avatar
  • 53
7 votes
4 answers
6k 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 ...
Tom Resing's user avatar
  • 3,589
3 votes
5 answers
4k views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
ironman's user avatar
  • 1,110
0 votes
1 answer
290 views

Custom Ribbon Button Not Appearing in Contacts List

Ive done some dev work with sharepoint last year but nothing like what im building today so Im not very experienced with it. I am trying to add a custom button to the ribbon in a list modeled on the ...
Brian Morrison II's user avatar
1 vote
2 answers
2k views

SharePoint OOTB List and Lookup field problem

I am working in a project with SharePoint Server 2010. I have the hole project inside a Visual Studio solution (site columns, content types, lists, workflows...) Everything were working well until I ...
Manuel Meroño Baños's user avatar
0 votes
2 answers
360 views

Results.aspx Page Layout Broken

I have deployed a custom branding project as a Feature, to a SharePoint 2010 Publishing site (Intranet) - just some stylistic tweaks and a custom master page. When I perform a search and land on the ...
IrishChieftain's user avatar
0 votes
2 answers
3k views

Cannot edit form in InfoPath when list was created in Visual Studio

I am using SharePoint 2010 Enterprise, InfoPath Designer 2010 and Visual Studio 2012. When I create a list using the SharePoint UI, I can use the "Customize Form" button on the "...
Manuel Batsching's user avatar
0 votes
1 answer
25 views

Local setup Vs live setup when developing web parts

I'm developing lots of web parts and of course i'm doing this all locally then uploading to the live online SP2010. I'm needing to write a lot of extra code to accommodate the file paths of images ...
Stephen's user avatar
  • 1,812
0 votes
0 answers
91 views

Auto-generated code for "Using", "SQLConnection", "ReadItem", "ReadList" methods

I am beginner in SharePoint 2010 development. and doing following lab: Module 6: Accessing external data with Business Connectivity Services in SharePoint 2010 http://msdn.microsoft.com/en-US/...
SPBeginer's user avatar
  • 2,547
2 votes
1 answer
220 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 ...
user avatar
0 votes
2 answers
363 views

Opening a custom webpart created in 2005 in visual studio 2010

We are migrating moss 2007 site to SharePoint 2010. I am faced with a challenge with manual migrating a custom webpart from Moss 2007 to SharePoint 2010. When i open the webpart created in visual ...
SandeshR's user avatar
  • 1,992

1
12 13
14
15 16
24