SharePoint 2007 Development Recipes: A Problem-Solution by Mark Gerow

By Mark Gerow

SharePoint 2007 improvement Recipes bargains quite a number ready–to–use code recipes that supply the construction blocks for fixing many universal SharePoint 2007 programming dilemmas. This useful, hands–on consultant categorizes recipes by way of challenge region, for instance web site administration, occasion handlers, clients, lists, and net components, and resource code is supplied in either VB and C#. in addition to delivering a useful reference, Mark Gerow additionally comprises transparent, assisting directions that will help you alter the code samples for the broadest variety of applications.

For each one recipe you are going to find

  • Background and layout considerations
  • Source code in either VB and C#
  • Discussion of diversifications at the supplied examples
  • Cross–reference to middle SharePoint classes

If you end up asking, “How do I remedy this SharePoint improvement problem?” you can find all of the solutions in Mark Gerow’s supremely worthwhile book.

What you’ll learn

SharePoint Recipes will offer ready–to–use examples of the way to programmatically

  • Add internet components to pages.
  • Calculate designated garage used for a listing, web site, or workforce of sites.
  • Track and checklist website, web page, and hyperlink hits.
  • Manage clients, roles, and teams utilizing either home windows and Forms–based authentication.
  • Create websites and location collections.
  • Create lists and a record library.
  • Upload and edit files and record items.
  • Develop occasion handlers and workflows.
  • Use JavaScript to change the habit of internet half pages.
  • Edit built–in website properties.
  • Work with gains and solutions.
  • And a lot more

Who is that this booklet for?

This booklet is for intermediate–to–advanced .NET programmers who are looking to get the main out of SharePoint 2007 by utilizing the periods and net prone supplied within the SDK. it may be used either as an educational for these new to SharePoint programming and as a reference through these extra adventure builders who simply desire operating examples that may be changed to fit a task at hand.

Show description

Read or Download SharePoint 2007 Development Recipes: A Problem-Solution Approach PDF

Similar c & c++ windows programming books

The standard C library

Prentice Hall's most crucial C programming name in years. A spouse quantity to Kernighan & Ritchie's interval. a set of reusable capabilities (code for development info buildings, code for acting math services and medical calculations, and so forth. ) for you to keep C programmers time and cash particularly whilst engaged on huge programming tasks.

C++ in a Nutshell

To-the-point, authoritative, no-nonsense recommendations have constantly been an indicator of O'Reilly books. The In a Nutshell books have earned a high-quality attractiveness within the box because the well-thumbed references that take a seat beside the an expert developer's keyboard. C++ in a Nutshell lives as much as the In a Nutshell promise.

ASP.NET 2.0 Revealed

* in addition to those that obtain the preview at PDC, it really is expected that each one different ASP. internet builders might be hungry for info at the re-creation. * could be one of many first actual books on ASP. internet 2. zero, to be had once the know-how itself turns into to be had to a much broader viewers. * Very fast paced, since it assumes earlier wisdom of ASP.

Pro SharePoint 2013 Branding and Responsive Web Development

Seasoned SharePoint 2013 Branding and Responsive internet improvement is the definitive reference at the applied sciences, instruments, and methods wanted for development responsive web content and functions with SharePoint 2013. The publication specializes in strategies that supply the easiest browser adventure for the myriad of units, browsers, and display orientations and resolutions.

Extra resources for SharePoint 2007 Development Recipes: A Problem-Solution Approach

Sample text

2. Set AllowUnsafeUpdates to true to enable programmatic updates to the site. 3. Check to see whether the page belongs to a document library that might require the page to be checked out before editing. 4. If the page is stored in a document library, temporarily disable the requirement that documents be checked out to avoid an error during processing. 5. Add the new web part. 6. Save changes back to the web site. 7. Determine whether the web-part page is stored in a document library. 8. If the page is stored in a document library, reset the required checkout flag to its original value.

CHAPTER 1 ■ SITE MAN AGEM ENT Process Flow: AddWebPart() 47 48 CHAPTER 1 ■ SITE MANAGE MENT 1. Create an SPSite object that points to the web site containing the web-part page. 2. Set AllowUnsafeUpdates to true to enable programmatic updates to the site. 3. Check to see whether the page belongs to a document library that might require the page to be checked out before editing. 4. If the page is stored in a document library, temporarily disable the requirement that documents be checked out to avoid an error during processing.

Set AllowUnsafeUpdates to true to enable programmatic updates to the site. 3. Check to see whether the page belongs to a document library that might require the page to be checked out before editing. 4. If the page is stored in a document library, temporarily disable the requirement that documents be checked out to avoid an error during processing. 5. Add the new web part. 6. Save changes back to the web site. 7. Determine whether the web-part page is stored in a document library. 8. If the page is stored in a document library, reset the required checkout flag to its original value.

Download PDF sample

Rated 4.11 of 5 – based on 17 votes