вторник, 30 сентября 2008 г.

MOSS Updates

Перепечатка новости из моей ленты, ниже приводиться текст новости. Основной смысл если все нормально работайте себе дальше, если есть проблемы скачивайте новый хот-фикс.

Announcing August Cumulative Update for Office SharePoint Server 2007 and Windows SharePoint Services 3.0

The Microsoft Office team has changed the way that it delivers hotfixes for reported problems. This change comes in the form of cumulative updates and critical on-demand hotfixes. The objective is to deliver high-quality fixes in an acceptable time and on a predictable schedule. Cumulative updates are scheduled for every two months, so customers can be better prepared to test and apply new updates. Those who need an emergency fix can request critical on-demand (COD) fix. For information, please refer to http://support.microsoft.com/kb/953878.

The detail of August Cumulative Update (CU) for Office SharePoint Server 2007 and Windows SharePoint Services 3.0 can be found here:

Description of the Windows SharePoint Services 3.0 hotfix package (Wssmui.msp): August 26, 2008

Description of the Windows SharePoint Services 3.0 hotfix package: August 26, 2008

Description of the SharePoint Server 2007 hotfix package: August 26, 2008

Customers are not needed to install these updates unless they are affected by specific problems described in the KB articles. And these cumulative updates will be rolled in to Service Pack 2.

To upgrade from RTM to this new CU, you need to follow the path below:

1. Windows SharePoint Services 3.0 Service Pack 1

2. The 2007 Microsoft Office Servers Service Pack 1

3. the Microsoft Office Servers Infrastructure Update x86 x64

4. KB 953397: Excel Server Security Update x86 x64

5. KB 955586: Document Lifecycle Workflow Update

6. August Cumulative Update for Windows SharePoint Services 3.0 (Global)

7. August Cumulative Update for Windows SharePoint Services 3.0 (Local)

8. August Cumulative Update for Microsoft Office Servers

After applied all these updates, run SharePoint Products and Technologies Configuration Wizard or “psconfig –cmd upgrade –inplace b2b” in command line. This need to be done on every server in the farm with SharePoint installed.

The version of databases should be 12.0.6327 after all these updates.

For a better guided update process, customers would also like to check out the following guides. These articles provide a correct way to deploy updates, as well as known issues and how to do slipstream builds.

Deploy software updates for Windows SharePoint Services 3.0

http://technet.microsoft.com/en-us/library/cc288269.aspx

Deploy software updates for Office SharePoint Server 2007

http://technet.microsoft.com/en-us/library/cc263467.aspx

 

Jie Li

пятница, 26 сентября 2008 г.

http://www.itquiz.ru/

mi

MOSS master page

В ходе выполнения данного задания мы получим кастомизированную мастер страницу предоставляющую следующий функционал:

  • Базируется на основе мастер страницы по умолчанию
  • Левая панель отображается постоянно
  • Левая панель расширена за счет элемента AjaxToolKit

Для поддержки AjaxToolKit необходимо добавить следующие директивы в файл web.config

В секцию <SafeControls>
<SafeControl Assembly="AjaxControlToolkit, Version=3.0.20229.24914, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TypeName="*" Safe="True" />

В секцию <system.web><controls>

<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.0.20229.24914, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" tagPrefix="ajaxToolkit" />

<!--

ScriptManagerProxy-->

<

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Подробные инструкции здесь: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx

Далее с помощью SharePoint Desinner'a создайте мастер страницу и внесите следующий код.

<%@Master language="C#"%>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<HTML dir="<%$Resources:wss,multipages_direction_dir_value%>" runat="server" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-dir="ltr">
<HEAD runat="server">
<META Name="GENERATOR" Content="Microsoft SharePoint">
<META Name="progid" Content="SharePoint.WebPartPage.Document">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META HTTP-EQUIV="Expires" content="0">
<SharePoint:RobotsMetaTag runat="server"/>
<Title ID=onetidTitle><asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/></Title>
<SharePoint:CssLink runat="server"/>
<SharePoint:Theme runat="server"/>
<SharePoint:ScriptLink language="javascript" name="core.js" Defer="true" runat="server"/>
<SharePoint:CustomJSUrl runat="server"/>
<SharePoint:SoapDiscoveryLink runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server"/>
<SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>
</HEAD>
<BODY scroll="yes" onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">
  <form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
<WebPartPages:SPWebPartManager id="m" runat="Server"/>
  <ajaxToolkit:ToolkitScriptManager  runat="Server" ID="ScriptManager1" />
  <TABLE class="ms-main" CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%" HEIGHT="100%">
<tr><td><asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server">
  <table CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%">
  <tr>
   <td colspan=4 class="ms-globalbreadcrumb">
   <span id="TurnOnAccessibility" style="display:none">
      <a href="#" class="ms-skip" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();return false;">
   <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
   </span>
   <A href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-skip" AccessKey="<%$Resources:wss,maincontent_accesskey%>" runat="server">
   <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></A>
   <table cellpadding=0 cellspacing=0 height=100% class="ms-globalleft">
     <tr>
   <td class="ms-globallinks" style="padding-top: 2px;" height=100% valign=middle>
    <div>
     <span id="TurnOffAccessibility" style="display:none">
    <a href="#" class="ms-acclink" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();return false;">
    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
     </span>
     <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server">
    <asp:SiteMapPath SiteMapProvider="SPSiteMapProvider" id="GlobalNavigationSiteMap" RenderCurrentNodeAsLink="true" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/>
     </asp:ContentPlaceHolder>
     </div>
    </td>
     </tr>
   </table>
   <table cellpadding="0" cellspacing="0" height=100% class="ms-globalright">
    <tr>
     <td valign="middle" class="ms-globallinks" style="padding-left:3px; padding-right:6px;">
     <SharePoint:DelegateControl runat="server" ControlId="GlobalSiteLink0"/>
     </td>
    <td valign="middle" class="ms-globallinks">
   <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">
   </wssuc:Welcome>
    </td>
    <td style="padding-left:1px;padding-right:3px;" class="ms-globallinks">|</td>
     <td valign="middle" class="ms-globallinks">
    <table cellspacing="0" cellpadding="0">
     <tr>
      <td class="ms-globallinks">
     <SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/></td>
      <td class="ms-globallinks">
     <SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/></td>
     </tr>
    </table>
     </td>
     <td valign="middle" class="ms-globallinks">&nbsp;
    <a href="javascript:TopHelpButtonClick('NavBarHelpHome')" AccessKey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"><img align='absmiddle' border=0 src="/_layouts/images/helpicon.gif" alt="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"></a>
     </td>
     </tr>
   </table>
   </td>
     </tr>
    </table>
   </asp:ContentPlaceHolder></td></tr>
<tr>
  <td class="ms-globalTitleArea">
   <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
  <td id="GlobalTitleAreaImage" class="ms-titleimagearea">
  <SharePoint:SiteLogoImage id="onetidHeadbnnr0" LogoImageUrl="/_layouts/images/titlegraphic.gif" runat="server"/></td>
  <td class="ms-sitetitle" width=100%>
    <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
   <h1 class="ms-sitetitle">
     <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle">
    <SharePoint:ProjectProperty Property="Title" runat="server" />
     </SharePoint:SPLinkButton>
    </h1>
    </asp:ContentPlaceHolder>
  </td>
  <td style="padding-top:8px;" valign=top>
    <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
    <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
    </asp:ContentPlaceHolder>
  </td>
    </tr>
   </table>
  </td>
</tr>
<TR>
  <TD id="onetIdTopNavBarContainer" WIDTH=100% class="ms-bannerContainer">
  <asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
   <table class="ms-bannerframe" border="0" cellspacing="0" cellpadding="0" width="100%">
     <tr>
   <td nowrap valign="middle"></td>
   <td class=ms-banner width=99% nowrap ID="HBN100">
    <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
<SharePoint:AspMenu
   ID="TopNavigationMenu"
   Runat="server"
   DataSourceID="topSiteMap"
   EnableViewState="false"
   AccessKey="<%$Resources:wss,navigation_accesskey%>"
   Orientation="Horizontal"
   StaticDisplayLevels="2"
   MaximumDynamicDisplayLevels="1"
   DynamicHorizontalOffset="0"
   StaticPopoutImageUrl="/_layouts/images/menudark.gif"
   StaticPopoutImageTextFormatString=""
   DynamicHoverStyle-BackColor="#CBE3F0"
   SkipLinkText=""
   StaticSubMenuIndent="0"
   CssClass="ms-topNavContainer">
  <StaticMenuStyle/>
  <StaticMenuItemStyle CssClass="ms-topnav" ItemSpacing="0px"/>
  <StaticSelectedStyle CssClass="ms-topnavselected" />
  <StaticHoverStyle CssClass="ms-topNavHover" />
  <DynamicMenuStyle  BackColor="#F2F3F4" BorderColor="#A7B4CE" BorderWidth="1px"/>
  <DynamicMenuItemStyle CssClass="ms-topNavFlyOuts"/>
  <DynamicHoverStyle CssClass="ms-topNavFlyOutsHover"/>
  <DynamicSelectedStyle CssClass="ms-topNavFlyOutsSelected"/>
</SharePoint:AspMenu>
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource">
  <Template_Controls>
   <asp:SiteMapDataSource
     ShowStartingNode="False"
     SiteMapProvider="SPNavigationProvider"
     id="topSiteMap"
     runat="server"
     StartingNodeUrl="sid:1002"/>
  </Template_Controls>
</SharePoint:DelegateControl>
    </asp:ContentPlaceHolder>
   </td>
   <td class=ms-banner>&nbsp;&nbsp;</td>
   <td valign=bottom align=right style="position:relative;bottom:0;left:0;">
    <table cellpadding=0 cellspacing=0 border=0>
     <tr>
      <td>
    <table height=100% class="ms-siteaction" cellpadding=0 cellspacing=0>
     <tr>
        <td class="ms-siteactionsmenu" id="siteactiontd">
        <SharePoint:SiteActions runat="server" AccessKey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"
      PrefixHtml="&lt;div&gt;&lt;div&gt;"
      SuffixHtml="&lt;/div&gt;&lt;/div&gt;"
      MenuNotVisibleHtml="&amp;nbsp;">
      <CustomTemplate>
      <SharePoint:FeatureMenuTemplate runat="server"
       FeatureScope="Site"
       Location="Microsoft.SharePoint.StandardMenu"
       GroupId="SiteActions"
       UseShortId="true"
       >
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create"
        Text="<%$Resources:wss,viewlsts_pagetitle_create%>"
        Description="<%$Resources:wss,siteactions_createdescription%>"
        ImageUrl="/_layouts/images/Actionscreate.gif"
        MenuGroupId="100"
        Sequence="100"
        UseShortId="true"
        ClientOnClickNavigateUrl="~site/_layouts/create.aspx"
        PermissionsString="ManageLists, ManageSubwebs"
        PermissionMode="Any" />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
        Text="<%$Resources:wss,siteactions_editpage%>"
        Description="<%$Resources:wss,siteactions_editpagedescription%>"
        ImageUrl="/_layouts/images/ActionsEditPage.gif"
        MenuGroupId="100"
        Sequence="200"
        ClientOnClickNavigateUrl="javascript:MSOLayout_ChangeLayoutMode(false);"
        />
       <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings"
        Text="<%$Resources:wss,settings_pagetitle%>"
        Description="<%$Resources:wss,siteactions_sitesettingsdescription%>"
        ImageUrl="/_layouts/images/ActionsSettings.gif"
        MenuGroupId="100"
        Sequence="300"
        UseShortId="true"
        ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"
        PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"
        PermissionMode="Any" />
      </SharePoint:FeatureMenuTemplate>
      </CustomTemplate>
     </SharePoint:SiteActions>
     </td>
     </tr>
    </table>
      </td>
     </tr>
    </table>
   </td>
     </tr>
    </table>
  </asp:ContentPlaceHolder>
  </TD>
</TR>
<asp:ContentPlaceHolder ID="WSSDesignConsole" runat="server">
  <wssuc:DesignModeConsole id="IdDesignModeConsole" runat="server"/>
</asp:ContentPlaceHolder>
<asp:ContentPlaceHolder ID="SPNavigation" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="PublishingConsole"
    PrefixHtml="&lt;tr&gt;&lt;td colspan=&quot;4&quot; id=&quot;mpdmconsole&quot; class=&quot;ms-consolemptablerow&quot;&gt;"
    SuffixHtml="&lt;/td&gt;&lt;/tr&gt;">
</SharePoint:DelegateControl>
</asp:ContentPlaceHolder>
<TR height="100%"><TD><TABLE width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr>
  <td class="ms-titlearealeft" id="TitleAreaImageCell" valign="middle" nowrap>
 
  <div style="height:100%" class="ms-titleareaframe">
  <!-- vladimir -->
 
  </div>
 
 
  </td>
  <td class="ms-titleareaframe" id="TitleAreaFrameClass">
   <asp:ContentPlaceHolder id="PlaceHolderTitleLeftBorder" runat="server">
  <div class="ms-titleareaframe"><IMG SRC="/_layouts/images/blank.gif" width=1 height=100% alt=""></div>
   </asp:ContentPlaceHolder>
  </td>
<td valign=top id="onetidPageTitleAreaFrame" class='ms-pagetitleareaframe' nowrap>
   <table id="onetidPageTitleAreaTable" cellpadding=0 cellspacing=0 width=100% border="0">
    <tr>
  <td valign="top" class="ms-titlearea">
   <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
   <asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/> &nbsp;
   </asp:ContentPlaceHolder>
  </td>
    </tr>
    <tr>
  <td height=100% valign=top ID=onetidPageTitle class="ms-pagetitle">
    <h2 class="ms-pagetitle">
   <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
    </h2>
  </td>
    </tr>
   </table>
  </td>
  <td class="ms-titlearearight">
  <asp:ContentPlaceHolder id="PlaceHolderMiniConsole" runat="server"/>
  <asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin" runat="server">
<div class="ms-titleareaframe" style='height:100%'><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></div>
</asp:ContentPlaceHolder></td>
</tr>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaSeparator" runat="server"/>
<TR>
   <TD class="ms-leftareacell" valign=top height=100% id="LeftNavigationAreaCell">
    <table class=ms-nav width=100% height=100% cellpadding=0 cellspacing=0>
  <tr>
   <td>
    <TABLE height="100%" class=ms-navframe CELLPADDING=0 CELLSPACING=0 border="0">
     <tr valign="top">
   <td width="4px"><IMG SRC="/_layouts/images/blank.gif" width=4 height=1 alt=""></td>
   <td valign="top" width="100%">
   
   
     <div style="padding-left:6px; padding-top:6px">
   <asp:Image ID="CollapseExpandImage" runat="server"></asp:Image>
   </div>
   <ajaxToolkit:CollapsiblePanelExtender
   ID="cpeLeftPanel"
   TargetControlID="leftNv"
   Collapsed="True"
  ExpandControlID="CollapseExpandImage"
     CollapseControlID="CollapseExpandImage"
     ImageControlID="CollapseExpandImage"
     ExpandedImage="/_layouts/images/ewr059.gif"
     CollapsedText="Показать панель"
        ExpandedText="Скрыть панель"
        CollapsedImage="/_layouts/images/ewr061.gif"
        ExpandDirection="Horizontal"
   runat="Server"></ajaxToolkit:CollapsiblePanelExtender>

    <asp:Panel ID="leftNv" runat="server">
   
    <IMG SRC="/_layouts/images/blank.gif" width=138 height=1 alt="">
    <asp:ContentPlaceHolder id="PlaceHolderPageImage" runat="server"/>
    <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />
     <asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />
     <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server"/>
    <div class="ms-quicklaunchouter">
    <div class="ms-quickLaunch" style="width:100%">
    <h3 class="ms-standardheader"><label class="ms-hidden">
    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,quiklnch_pagetitle%>" EncodeMethod="HtmlEncode"/></label>
    <Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
    <div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
    </SharePoint:SPSecurityTrimmedControl>
    </h3>
    <Sharepoint:SPNavigationManager
    id="QuickLaunchNavigationManager"
    runat="server"
    QuickLaunchControlId="QuickLaunchMenu"
    ContainedControl="QuickLaunch"
    EnableViewState="false">
    <div>
     <SharePoint:DelegateControl runat="server"
      ControlId="QuickLaunchDataSource">
      <Template_Controls>
      <asp:SiteMapDataSource
      SiteMapProvider="SPNavigationProvider"
      ShowStartingNode="False"
      id="QuickLaunchSiteMap"
      StartingNodeUrl="sid:1025"
      runat="server"
      />
      </Template_Controls>
     </SharePoint:DelegateControl>
     <SharePoint:AspMenu
     id="QuickLaunchMenu"
     DataSourceId="QuickLaunchSiteMap"
     runat="server"
     Orientation="Vertical"
     StaticDisplayLevels="2"
     ItemWrap="true"
     MaximumDynamicDisplayLevels="0"
     StaticSubMenuIndent="0"
     SkipLinkText=""
     >
     <LevelMenuItemStyles>
      <asp:MenuItemStyle CssClass="ms-navheader"/>
      <asp:MenuItemStyle CssClass="ms-navitem"/>
     </LevelMenuItemStyles>
     <LevelSubMenuStyles>
      <asp:SubMenuStyle CssClass="ms-navSubMenu1"/>
      <asp:SubMenuStyle CssClass="ms-navSubMenu2"/>
     </LevelSubMenuStyles>
     <LevelSelectedStyles>
      <asp:MenuItemStyle CssClass="ms-selectednavheader"/>
      <asp:MenuItemStyle CssClass="ms-selectednav"/>
     </LevelSelectedStyles>
    </SharePoint:AspMenu>
    </div>
    </Sharepoint:SPNavigationManager>
    <Sharepoint:SPNavigationManager
    id="TreeViewNavigationManager"
    runat="server"
    ContainedControl="TreeView">
      <table class="ms-navSubMenu1" cellpadding="0" cellspacing="0" border="0">
     <tr>
       <td>
      <table class="ms-navheader" width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
       <td nowrap id="idSiteHierarchy">
         <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchy" Text="<%$Resources:wss,treeview_header%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
       </td>
        </tr>
      </table>
       </td>
     </tr>
      </table>
      <div class="ms-treeviewouter">
     <SharePoint:SPHierarchyDataSourceControl
      runat="server"
      id="TreeViewDataSource"
      RootContextObject="Web"
      IncludeDiscussionFolders="true"
     />
     <SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScroll" onscroll="javascript:_spRecordScrollPositions(this);" Style="overflow: auto;height: 400px;width: 150px; ">
     <Sharepoint:SPTreeView
      id="WebTreeView"
      runat="server"
      ShowLines="false"
      DataSourceId="TreeViewDataSource"
      ExpandDepth="0"
      SelectedNodeStyle-CssClass="ms-tvselected"
      NodeStyle-CssClass="ms-navitem"
      NodeStyle-HorizontalPadding="2"
      SkipLinkText=""
      NodeIndent="12"
      ExpandImageUrl="/_layouts/images/tvplus.gif"
      CollapseImageUrl="/_layouts/images/tvminus.gif"
      NoExpandImageUrl="/_layouts/images/tvblank.gif"
     >
     </Sharepoint:SPTreeView>
     </Sharepoint:SPRememberScroll>
      </div>
    </Sharepoint:SPNavigationManager>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td>
  
  </td></tr></table>
  <table class="ms-recyclebin" width="100%" cellpadding="0" cellspacing="0" border="0">
     <tr>
      <td nowrap>
      <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems" />
      </td>
     </tr>
    </table>
    </div>
    </div>
    
     </asp:Panel>
   </td>
     </tr>
     <tr>
     <td colspan=2>
     <!-- vladimir hide -->
     <asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" Visible="false">
   <IMG SRC="/_layouts/images/blank.gif" width=138 height=1 alt="">
     </asp:ContentPlaceholder>
     </td>
     </tr>
    </TABLE>
   </td>
   <td>
   <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarBorder" runat="server">
   </asp:ContentPlaceHolder>
   </td>
  </tr>
    </table>
   </TD>
   <td><asp:ContentPlaceHolder id="PlaceHolderBodyLeftBorder" runat="server">
<div class="ms-pagemargin"><IMG SRC="/_layouts/images/blank.gif" width=10 height=1 alt=""></div>
</asp:ContentPlaceHolder></td>
   <td class='ms-bodyareacell' valign="top">
  <PlaceHolder id="MSO_ContentDiv" runat="server">
  <table id="MSO_ContentTable" width=100% height="100%" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">
    <tr>
    <td class='ms-bodyareaframe' valign="top" height="100%">
      <A name="mainContent"></A>
    <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
    <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server">
    </asp:ContentPlaceHolder>
    </td>
    </tr>
  </table>
  </PlaceHolder>
   </td>
   <td class="ms-rightareacell"><asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server">
<div class="ms-pagemargin"><IMG SRC="/_layouts/images/blank.gif" width=10 height=1 alt=""></div>
</asp:ContentPlaceHolder></td>
</TR>
<tr>
<td class="ms-pagebottommarginleft"><IMG SRC="/_layouts/images/blank.gif" width=1 height=10 alt=""></td>
<td class="ms-pagebottommargin"><IMG SRC="/_layouts/images/blank.gif" width=1 height=10 alt=""></td>
<td class="ms-bodyareapagemargin"><IMG SRC="/_layouts/images/blank.gif" width=1 height=10 alt=""></td>
<td class="ms-pagebottommarginright"><IMG SRC="/_layouts/images/blank.gif" width=1 height=10 alt=""></td>
</tr>
</TABLE></TD></TR>
  </TABLE>
  <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
  <SharePoint:FormDigest runat=server/>
  </asp:ContentPlaceHolder>
   <input type="text" name="__spDummyText1" style="display:none;" size=1/>
   <input type="text" name="__spDummyText2" style="display:none;" size=1/>
   
 


<!-- vladimir zone -->
<asp:panel runat="server" ID="lHider" Visible="false">
 
   
               
     <asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server">
     </asp:ContentPlaceHolder>
    <asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
    
    
    
    
     </asp:ContentPlaceHolder>
    
</asp:panel>
<asp:panel runat="server" ID="rHider">
 
</asp:panel>
<!-- vladimir zone -->  
  </form>
  <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat="server"/>
<asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat="server"/>
</BODY>
</HTML>

Далее назначьте данную мастер страницу на нужный узел и используйте.

Ниже приводиться скриншот страницы

collapsible_panel
     

четверг, 25 сентября 2008 г.

Microsoft Way. Integration from box

Натолкнулся недавно на свой пост в одном из форумов решил опубликовать. В принцыпе данное описание можно использовать для аргументирования внедрения инфраструктуры на основе решений компании Microsoft.

Преимущества Outlook в его интеграции с остальными программами от Microsoft и комплексном подходе контролю за перемещением корреспонденции. Есть много программ для организации рабочего процесса, но Outlook выигрывает за счет комплексного решения, сравнение же с The Bat вообще некорректно. Мышь чисто почтарь и ничего больше. Конек Outlook коллективная работа в связке с другими программами и серверами. Приведу пример из жизни:
Exchange, Outlook, Project server, Team foundation server , Office server. Вся сила в интеграции Outlook обьединяет эти все технологии не выходя из него ты отмечаешь свое участие в проекте закрываешь «багги» получаешь подписки лент новостей, планируешь время и заметь все вместе интегрировано и довольно просто настраивается. Альтернативы ? Сомневаюсь хотя можно прикинуть.
Портал: Oracle portal
Bug tracker: Jira, oracle точно не знаю
Почтовый сервер: sendmail , CGP
Project management: просто не встречал
Контроль версий: svn, subversion
Автоматизированна сборка: ant
Броузер: Firefox, Opera
И теперь вопрос на засыпку сколько нужно денег для того чтобы произвести интеграцию всего этого хозяйства в единый комплекс.
Поэтому вопрос поставленный в начале дискуссии просто некорректен The Bat и Outlook программы разных весовых категорий и удобства при манипуляции с почтой просто меркнут перед корпоративными требованиями предъявляемыми к почтовому клиенту.

четверг, 18 сентября 2008 г.

MOSS Links

Сегодня возник вопрос по поводу того где брать решения, идеи и концепции для реализации посоветовал сайт http://codeplex.com. Данный сайт мне нравиться как хорошая отправная точка для поиска готовых решений. Содержимое это программные проекты под крылом Microsoft, очень много идей и концепций, да и многие проекты MS перенесла на данный сайт. 

вторник, 9 сентября 2008 г.

Moss Copy File

Пример копирования файла на сервере MOSS. Данная функция всего лишь заготовка но думаю может пригодиться.

 

using (SPSite site = new SPSite("http://localhost"))

{

using (SPWeb web = site.OpenWeb())

{

SPList list = web.Lists["vladtest2"];

if (list.BaseType == SPBaseType.DocumentLibrary)

{

SPDocumentLibrary library = (SPDocumentLibrary)list;

SPFile file = web.GetFile(library.DocumentTemplateUrl);

SPFolder spf = library.RootFolder;

byte[] buf = file.OpenBinary();

SPFile spd = spf.Files.Add(web.Url + "/vladtest2/" + "doc999.docx", buf);

}

}

}

пятница, 5 сентября 2008 г.

Office 2007 MOSS Function

Отличная статья в журнале MSDN,в которой рассматриваются решения для создания документов с настраиваемым внешним видом на сервере MOSS Office 2007 MOSS Function