随笔 - 32, 文章 - 4, 评论 - 12, 引用 - 5
数据加载中……

2007年6月12日

Soft Skill

软技能,在软件开发过程中尤为重要!
语言、沟通、团队协作。。。

posted @ 2007-06-12 22:08 an_andy 阅读(124) | 评论 (0)编辑

2007年4月28日

MOSS 2007: Implementing a custom Navigation

You can use the following code snippet to iterate through your navigation tree recursive:

using Microsoft.SharePoint;
using Microsoft.SharePoint.Publishing.Navigation;

public class SiteMapTest : System.Web.UI.WebControls.WebParts.WebPart
{

   protected
override void RenderContents(System.Web.UI.HtmlTextWriter writer)
   {
      PortalSiteMapProvider map = new PortalSiteMapProvider();
      writer.Write("<table>");
      this.PrintTree(map.RootNode, writer, 0);
      writer.Write("</table>");
   }

   public
void PrintTree(SiteMapNode node, System.Web.UI.HtmlTextWriter writer, int level)
   {
      string space = string.Empty;
      for (int i = 0; i < level; i++)
      {
         space += "&nbsp;&nbsp;&nbsp"&nbsp;&nbsp;&nbsp";
      }
      writer.Write("<tr><td>" + space + "<a href=\"" + node.Url + "\">" + node.Title + "</a></tr></td>");
      foreach (SiteMapNode childNode in node.ChildNodes)
      {
         PrintTree(childNode, writer, level + 1);
      }
   }

}

If you use a SPSiteMapProvider instead of PortalSiteMapProvider, you will only see your sites, no pages.
SPContentMapProvider delivers nothing for me, there are no ChildNodes defined. I didn't check out SPNavigationProvider, but I had some bad expierence with Microsoft.SharePoint.Navigation.SPNavigation.
For some more informations see: http://msdn2.microsoft.com/en-us/library/aa830815.aspx#Office2007SSBrandingWCMPart2_CustomizingNavigation

posted @ 2007-04-28 21:41 an_andy 阅读(603) | 评论 (0)编辑

MOSS2007 - Microsoft Release sample Master Pages

come from helloitsliam

Microsoft has made available four sample master page sets compatible with the Application Templates for Microsoft Windows SharePoint Services 3.0 to showcase some of the customization options master pages provide. These can be downloaded here:

http://www.microsoft.com/downloads/details.aspx?familyid=7c05ca44-869a-463b-84d7-57b053711a96&displaylang=en&tm

If you want to have look at them pop over to the links below:

Block http://www.wssdemo.com/pages/master%20block.aspx

Clarity http://www.wssdemo.com/pages/master%20clarity.aspx

Horizon http://www.wssdemo.com/pages/master%20horizon.aspx

Reverse http://www.wssdemo.com/pages/master%20reverse.aspx

Have fun.

posted @ 2007-04-28 21:34 an_andy 阅读(503) | 评论 (0)编辑

Customizing the Quick Launch menu: Adding fly-out menus to SharePoint navigation

come from SharePoint Team Blog

In this post, I’ll show you how to customize the Quick Launch menu to display several levels of data in a dynamic way and use this customized menu for quick access to all Views within a List without consuming space on the Quick Launch.

First, let’s add a List and make sure it shows on the Quick Launch. Let’s call this list “Navigation Test List”, and then add 4 Views to the list.

Next, let’s write some OM code that, when run, adds a link to each of the List’s Views under the List Link on the Quick Launch. Add the following code to a new C# Console Application in Visual Studio .NET or 2005 (and don’t forget to add a reference to Microsoft.Sharepoint.dll).

using System;

using System.Collections.Generic;

using System.Text;

using Microsoft.SharePoint;

using Microsoft.SharePoint.Navigation;

 

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {

            SPSite site = new SPSite("http://server");

            SPWeb web = site.OpenWeb();

            SPList list = web.Lists["Navigation Test List"];

            SPNavigationNode rootListLink = web.Navigation.GetNodeByUrl(list.DefaultViewUrl);

            SPNavigationNode node = null;

            foreach (SPView view in list.Views)

            {

                node = new SPNavigationNode(view.Title, view.Url, false);

                rootListLink.Children.AddAsFirst(node);

            }

        }

    }

}

 

At this point, we have links to all of the Views under the List, but they cannot be displayed since the menu control ignores the links after the second level. So, let’s modify the menu control to display what we want. Perform the following to accomplish this task:

 

1.     Navigate to the master page gallery: From the home page click on Site Actions, then Site Settings, and then on Master Pages, under the Galleries column

2.     Click on the drop down menu for the master page you want to modify, and then click on Edit in Microsoft Office SharePoint Designer

3.     Locate the Quick Launch Menu control, and modify the StaticDisplayLevels and MaximumDynamicDisplayLevels attributes:

                     <SharePoint:AspMenu

                            id="QuickLaunchMenu"

                            DataSourceId="QuickLaunchSiteMap"

                            runat="server"

                            Orientation="Vertical"

                            StaticDisplayLevels="2"

                            ItemWrap="true"

                            MaximumDynamicDisplayLevels="1"

                            StaticSubMenuIndent="0"

                            SkipLinkText="">

                           

4.     Save your changes and reload the page from the browser. Hover over the Links on the Quick Launch. The end result should look like this:

 

5.     Optional: Modify other properties in the menu control to match the look and feel of your site. The above steps can also be applied to the Top Link Bar.

 

Useful Links:

·         On MSDN, How to: Customize the Display of Quick Launch.

posted @ 2007-04-28 20:29 an_andy 阅读(657) | 评论 (1)编辑

2007年2月9日

招聘SharePoint Developer

人员要求:
1)有良好的沟通能力和团队合作能力;
2)熟悉Windows域控制原理,熟悉AD,了解IIS的使用和管理;
3)熟悉微软SharePoint产品,以及该系列产品的安装、部署和使用;
4)熟悉ASP.Net 1.1/2.0的原理和开发,有参与过相关Web应用开发经验;
5)了解Microsoft SQL Server 2000/2005的安装和使用,了解XML;
6)有两年以上.NET开发经验,熟练使用Visual Studio 2005开发环境,精通C#语言,熟练使用ADO.Net;
7)有一年以上SharePoint开发经验,开发过Web Parts,参与过基于SharePoint平台的系统开发

posted @ 2007-02-09 14:46 an_andy 阅读(383) | 评论 (3)编辑

2006年11月4日

Office System 2007 update

      Microsoft Office online

posted @ 2006-11-04 08:33 an_andy 阅读(215) | 评论 (0)编辑

2006年5月24日

Office 2007 Beta2 Downloads

  http://www.microsoft.com/office/preview/beta/getthebeta.mspx

posted @ 2006-05-24 12:59 an_andy 阅读(179) | 评论 (0)编辑

2006年5月18日

WinFX

WinFX 是Windows Vista 的托管代码编程模型,它构建在.NET Framework 的基础上并对其进行了扩展。

微软新一代的操作系统Vista就会发布,它将会改变原有的编程机制。Vista生成器最终将跟以前的Win32 API(Application Programming Interface,应用程序编程接口)进行分离,取而代之的是可管理的WinFX,而WinFX就是微软继DOS、Win16、Win32之后推出的第四代API。
可查看:
http://www.microsoft.com/china/MSDN/library/Windev/WindowsVista/windowsvistaabout.mspx?mfr=true

http://www.netscum.dk/china/msdn/events/webcasts/shared/webcast/consyscourse/WindowsVistagoldenweek.aspx

http://www.ciweekly.com/article/2005/1213/A20051213482599.shtml

posted @ 2006-05-18 16:45 an_andy 阅读(513) | 评论 (0)编辑

2006年5月17日

SharePoint Search

在sps中,使用SharePointPSSearch服务,显示名称为Microsoft SharePointPS Search,这个服务的描述是“Microsoft SharePoint Portal Server Search 服务提供对门户和外部内容的索引和搜索。”。如果停掉此服务,在Portal中搜索的时候就会报错。一般会报错“搜索遇到了错误。如果问题继续存在,请与门户网站管理员联系。”。sps中的搜索非常强大,因为除了搜索站点的内容本身之外,还可以搜索其它站点的内容,也即可以爬网。

SharePointPSSearch SQLSyntax地址:
http://www.microsoft.com/downloads/details.aspx?FamilyID=D6A10783-A4E4-4463-8444-F88BE48760B3&displaylang=en

对于wss站点就不用了,wss使用了sql server的全文检索服务,也即MSSEARCH服务,显示名称为Microsoft Search服务,这个服务的描述是“基于结构化和半结构化数据的内容以及属性生成全文索引,以便可以对数据进行快速的单词搜索”。如果停掉了这个服务,你会发现wss的搜索不会报错,但是却搜不到任何内容了。要启用wss的搜索服务,首先需要确定Microsoft Search这个服务已经启动,同时需要在wss的后台管理中,启用全文搜索。

posted @ 2006-05-17 15:41 an_andy 阅读(389) | 评论 (1)编辑

文档管理[权限]

sharepoint中的文档权限管理只能针对文档库一级,而不能再对文档进行细化单个授权的限制,是个特别郁闷的问题;为了解决这个问题,各位同学也是仁者见仁,智者见智!
幸好,Kaneboy同志提供了一轻巧的解决方案,值得收藏与借鉴!
地址:http://blog.joycode.com/kaneboy/archive/2005/02/04/44083.aspx

从上次的OTEC获知,微软将提供最新文档管理解决方案MDMS,当然还有RMS也不错啊!
MDMS的ppt,地址:http://www.msotec.net/Forums/ShowThread.aspx?PostID=2256

posted @ 2006-05-17 14:24 an_andy 阅读(454) | 评论 (0)编辑