Hi Martin, Two reasons. Firstly, I don't like the idea of using SPD to do this every time it's needed. I want something portable that can be added and configured by any site owner to display a list of their choosing.
Secondly, SPD datasources can only query other sites within the same collection. I could create a custom datasource but again this creates a lot of overhead and isn't terribly reusable. Regards, Paul Online Developer, ICT CEO Sydney From: [email protected] [mailto:[email protected]] On Behalf Of Martin Tse Sent: Friday, 17 July 2009 4:18 PM To: [email protected] Subject: Re: Cross SIte collection list view webpart Although I havent a web part using the ListViewByQuery control the code is quite complete. I believe the control handles the data formatting automatically, e.g displaying the hyperlink values, lookup values etc. I've coded cross site listview by using a SPGridview but this requires manually formatting the data to be correctly display the values. Q: Why are you looking at coding a cross site list view? You could achieve the same by using a dataview web part in SharePoint Designer. No code necessary and hook it up within 10mins. On Fri, Jul 17, 2009 at 9:38 AM, Paul Noone <[email protected]<mailto:[email protected]>> wrote: Anyone got an idea as to how this can be wrapped up into a solution for global deployment?? http://blogs.msdn.com/ramg/archive/2009/04/21/implementing-a-simple-cross-site-collection-list-view-webpart.aspx Will this code even work? It just seems so simple. Regards, Paul Online Developer, ICT CEO Sydney ________________________________ Support procedure: https://www.codify.com/lists/support List address: [email protected]<mailto:[email protected]> Subscribe: [email protected]<mailto:[email protected]> Unsubscribe: [email protected]<mailto:[email protected]> List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists ________________________________ Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists -------------------------------------------------------------------------------- Support procedure: http://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
