This project is read-only.
Project Description
This is a webpart for sharepoint that's based on a CAML Query. The webpart implements a lot of tools made to transform & process the results of the query and show them using a XSLT Transformation.

The process is as following:

1.- Read a set of five preprocess parameters (text field that are webpart's properties)
2.- Read the querystring variables passed to the page containing the webpart
3.- If configured, call a PreProcess Class loaded in an external Assembly. This class will receive as a parameter a collection with all the parameters. This class must return the same collection, but with the modifications needed to do to enhance the business logic.
4.- Connect to the configured site where to launch de CAML query (this site could be defined fixed or be determined by one of the previouse parameters)
5.- Load the CAML query. This can be the XML itself or an url referencing a file containing the XML
The XML can contain more than one CAML query. In that case, all the queries will be issued to the same site. There are some parameters that can be configured as an attribute in the Caml tag
6.- Replace all the references to variables in the CAML query text. Pre process parameters are referenced by a @ prefix and querystring parameters by a $ prefix
7.- Issue the query and obtain results in a dataset
8.- If configured, call a PostFilter Class loadad in an external Assembly. This class will receive as a paramter the dataset. The class can make all the modifications to that datasat as the business logic needs.
9.- Transform the dataset into a XMLDocument
10.- Load the XSL Document. This can be the XML itself or an url referencing a file containing the XML
11.- Make the transformation and output the results.

Last edited May 10, 2009 at 8:16 AM by nutrino, version 3