Thursday, January 31, 2008

Xslt creation complete

One step closer. The xslt-creating part is now over, a successful copy of the xslt created by sharepoint designer for this particular datasource/list is now complete. To make it dynamic though alot of work is left, but so far this is how it looks when using the web service creating the web part:

The following features are complete:

  • The custom web service deployed on the sharepoint server, using code deployed in the GAC

  • The service executes an aspx page containing the DataFormWebPart, all code is created in the code-behind for the aspx-page residing in an assembly in the GAC.

  • The DataFormWebPart is created in the code-behind, making it very easy to dynamically changing the caml-query used in the datasource

  • The xslt-code is all generated from XmlWriter, making it very easy to change any aspect to the transformation. For example adding fields or changing the formatting of the columns

  • Forms authentication is used on the sharepoint server, so that extranet user can use it



Next weeks mission is to create menu-controls, using as much functionality as possible from sharepoints. All links thats present in the menu has to receive javascript popups instead of the original forms, because postbacks are evil and will break everything. The question is how the forms in the popups will be created, because they must be very customizable and adaptive regarding to what list's showing.

No comments: