Member since Jan 21, 2008, follows 1 people, 0 public groups, 12 public bookmarks (493 total).
More »
Tags
| Recent Tags: |
|
|---|---|
| Top Tags: |
|
More »
Recent Bookmarks and Annotations
- Allison and Bret's Wedding on 2009-10-25
-
Create and manage publishing pages - SharePoint Designer - Microsoft Office Online on 2008-07-11
-
However, if you choose, you can edit a publishing page in Office SharePoint Designer 2007 by detaching it from the page layout that it is based on. For example, you might want to customize the Search Results Web Part on a publishing page. You can do so by detaching the publishing page from the page layout, then customizing the Web Part in SharePoint Designer, and finally reattaching the publishing page to the publishing page layout. To do so, right-click the page in the Folder List, and then click Detach from Page Layout on the shortcut menu. You will see the following message.
-
This message tells you that you can copy all of the content from the page layout into the publishing page and then customize the publishing page. However, note that any changes that are subsequently made to the page layout are not reflected in the publishing page. After you make changes to the publishing page and save the file, you can reattach it to the page layout. To do so, right-click the page in the Folder List, and then click Attach to Page Layout on the shortcut menu.
-
-
Managing Metadata on 2008-06-25
-
Indicates whether all string crawl properties are mapped to content. Default setting is true for the SharePoint category, false for all the other categories
-
-
How to: Customize the Content Query Web Part by using Custom Properties on 2008-06-20
-
-
Retrieves a Created field.
-
Sets the query to retrieve items updated in the past seven days and sorts them in descending order.
-
Specifies the list type to query from.
-
Retrieves data recursively from the specified Web site and its children.
-
Retrieves values for a specific field to display for each item.
QueryOverride, ListsOverride, WebsOverride, and ViewFieldsOverride Properties
Each override property—QueryOverride, ListsOverride, WebsOverride, and ViewFieldsOverride—overrides a default Content Query Web Part behavior. To override a behavior, construct a CAML query that defines the conditions you want to set.
Note: To learn more about CAML syntax and commands, see the Collaborative Application Markup Language Core Schemas in the Windows SharePoint Services 3.0 SDK.
In the following example, we demonstrate setting custom properties for the Content Query Web Part using a CAML query. The CAML query does the following:
The whole query is shown, and it is described in detail in the following sections.
Xml1 <ViewFields>
2 <FieldRef Name="Title" Nullable="True" Type="Text"/>
3 <FieldRef Name="Comments" Nullable="True" Type="Note"/>
4 </ViewFields>
5 <Lists ServerTemplate="850"></Lists>
6 <Webs Recursive="True" />
7 <RowLimit>15</RowLimit>
8 <![CDATA[
9 <Where>
10 <Gt>
11 <FieldRef Name="Created" Nullable="True" Type="DateTime"/>
12 <Value Type="DateTime"><Today OffsetDays="-7"/></Value>
13 </Gt>
14 </Where>
15 <OrderBy>
16 <FieldRef Name="Created" Nullable="True" Type="DateTime"
17 Ascending="FALSE"/>
18 </OrderBy>]]> -
-
ListsOverride property
You can also use a CAML query to retrieve items from Windows SharePoint Services 3.0 and Office SharePoint Server 2007 lists. The following table shows three CAML statement examples that retrieve items from distinct list types.
<!---->
List Type
Property Statement
Page Libraries
Xml<![CDATA[
<Lists ServerTemplate="850">
</Lists>
]]>General List base type
Xml<![CDATA[
<Lists BaseType="0">
</Lists>
]]>A specific type of list
Xml<![CDATA[
<Lists>
<List ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"/>
</Lists>
]]>In the example, Line 5 defines the ListsOverride property.
Xml5 <Lists ServerTemplate="850"></Lists>
-
-
AllowUnsafeUpdates Error When Updating Profiles - SharePoint Magician on 2008-06-20
-
SPWeb web = SPControl.GetContextWeb(this.Context);web.AllowUnsafeUpdates = true;
-
-
Don't forget: Web Services/SOAP isn't the only path to XML from SharePoint - The Dean's Office on 2008-06-19
-
- http://server/site/_vti_bin/owssvr.dll?Cmd=Display&List={E1D9FED5-2531-413F-8C0F-CAA5C6280E51}&XMLDATA=TRUE
-
List=%7BED640BE4%2D7D8C%2D4F8D%2D882A%2D230EE7D334C5%7D
-
-
Customizing the Content Query Web Part and Custom Item Styles - Best Practices - Michael Hofer - SharePoint Blog on 2008-06-19
-
Use the old "_vti_bin/owssvr.dll?Cmd=Display&List={E1D9FED5-2531-413F-8C0F-CAA5C6280E51}&XMLDATA=TRUE" trick to get the rowsetSchema and the internal name of any field in the list view can then be determined simply by removing the leading "ows_".
-
msdn2.microsoft.com/.../aa973474.aspx
-
-
Customizing the Content Query Web Part and Custom Item Styles on 2008-06-19
-
- Text
- Note
- Number
- Currency
- Integer
- Boolean
- DateTime
- Threading
- Lookup
- Choice
- URL
- Counter
- DisplayOnly (DisplayOnly field type has no storage of its own)
- RichHTML
- Image
-
- MOSSchampions : Using SharePoint Designer to help with creating content types and columns XML/CAML on 2008-06-18
-
DEFAULTPROPERTIES explained - Larry Kuhn on 2008-06-18
-
Any Managed Property with a non-zero weight is included in the definition of DEFAULTPROPERTIES, therefore any Managed Property accessible via the SharePoint Object Model* can be included in the list of DEFAULTPROPERTIES by setting its weight to a non-zero value.
-
Contents (Hidden)
-
overhols follows 1 people
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo