Content Query:
We can use a Content Query control to link to pages or
other items that are displayed based on a query that you design. For example,
if you are presenting articles in an online news site, you could add a Content
Query control to your site's Welcome Page layout so that new articles are
highlighted on that page. You can build complex queries by using the Content
Query field control. For example, you can specify which sites in your site
collection to query, which lists to use, and what audience to target. You can
also filter queries based on lists or libraries metadata.
We can add a Content Query control to a layout page in two
ways:
· We can add it directly to the layout page and configure it. When you do this, any
page that uses the layout page will display the results of the query.
· We can add it as a Web Part to a Web Part zone. When you do this, authors can
modify the query or delete the Content Query control.
No comments:
Post a Comment