U2U SharePoint Developer Additions for SharePoint 2007

 
  This feature has been developed to ease the work of a SharePoint 2007 developer. The first version consists of an application page where you can build a caml query. The caml query itself is stored in a document library from where you can further work with it.

You can download it here...
 
 

Build CAML Queries for SharePoint interactively with the U2U CAML Query Builder feature.

  CAML (Collaborative Application Markup Language) is an XML-based query language that helps you querying, building and customizing Web sites based on Windows SharePoint Services. The XML elements define various aspects of a WSS site. This tool will help you build your CAML Queries.

When you deploy the package, you can activate the feature in the site collection features gallery

U2U Sharepoint Developer Additions V1

Open the list or document library for which you want to build a CAML query. Click on the Actions button and there you see a new feature: Build a CAML Query.

Build a CAML Query

This brings you to a page where in the future you will be able to choose between different developer features but at the moment you can only choose to build a basic CAML query. Click this hyperlink to open the basic CAML Query builder page. Select the fields you want to show…

Build a CAML Query

Define a sort order….

Build a CAML Query

And set some conditions….

Build a CAML Query

The user interface is very easy to use and self-explanatory and follows the user experience of the standard SharePoint pages. You can preview the result of your query before saving it.

Clicking the Preview button will open a new page with a result grid. If your query is ok, you can save it by clicking the OK button. The CAML Query Builder stores your query to a special document library Caml Queries from where you can copy/paste the CAML query into your code, web part or view. Also from here you can preview the result from each query:

Build a CAML Query

 
 

Internals

  For those who are interested in the technical part of it, this feature consists of a document library definition, two aspx pages and a bunch of user controls. The U2U Developers pages follow the theme of your site and inherit from the SharePoint LayoutPageBase page. An assembly that performs the tasks for building up the CAML query is installed in the Global Assembly Cache. It has all been packaged in a SharePoint solution by using a DDF file and the makecab utility.
 
 

Installation Steps

 
  1. Download the U2U SharePoint Developer Additions
  2. stsadm -o addsolution -filename U2UDevFeaturesPackage.wsp to add the solution to the SharePoint solution store.
  3. stsadm -o deploysolution -immediate -allowgacdeployment -name to deploy the solution to all content urls.
  4. Activate the feature at site collection level.
Contact me Contact


Contact me Receive U2U Newsletter.
Looking for a challenging job Download Brochure On Site Training Looking for a challenging job
Favorites Favorites
Copyright © 1999-2010 by U2U