- Create your new Contenet type the have List type "item" name it "MyCustomContentType"
- create custom List Nameit "MyCustomList".
- Go to List setting and allow mange content type.
- Change the content type of "MyCustomList" to "MyCustomContentType".
- Save List as template.
- Open a Windows SharePoint Service v3 Team Site in SharePoint Designer.
- Insert a view on a the Announcements list with the Title, Body, and Modified fields.
- At the top of the Data Source Details task pane, click “MyCustomList” to open the data source properties for the current view.
- Click on Fields and remove all fields except ID, Title, Modified, and any of your custom link.
- Switch to code view, and search for DataSourceMode
- Change the value from List to CrossList
- Next search for selectcommand
- In the select command, type
immediately after the opening quote, and leave the rest of the selectcommand as it. You should see something like this: selectcommand="<webs scope="'Recursive'"></webs><View> ...” - Save the page and browse to it (F12).
Saturday, April 4, 2009
Create view that shows all Lists (With the same type) in the site collection
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment