Does anyone know how to make a custom list column autofill with thesite's title? I want to be able to use this column (for filtering,etc.) when I combine different lists from different sites using theData View WP.
The SPWeb class property "Title" contains the site title. The link belowshows how to retrieve and set the value for the current context.msdn2.microsoft.com/en-us/library/ms868263.aspxPerhaps this will give you some ideas. I don't have a server to test on atthe moment, so can't take this any further
Thanks for the response, Steve. That's certainly an option. I washoping not to have to use the object model. I wanted to see ifsomeone knew of some nifty way to use a Lookup or Calculated columnto achieve the same end.