Elczar 的个人资料Sharing Points { }照片日志列表 工具 帮助

日志


5月30日

Customizing Windows SharePoint Services 3.0 Lists

Customizing Windows SharePoint Services 3.0 Lists

Windows SharePoint Services 3.0 lists, such as announcements, calendar, and discussion board are composed of .aspx pages designed to display, add, and edit list items. Customizing these pages is something that no WSS 3.0 developer could smash away from. Thanks to Microsoft Office SharePoint Designer 2007, with its professional-quality design tools and sophisticated no-code solutions, we could now easily tailor a design-compelling WSS 3.0 list – notwithstanding that it is not straightforward for discussion board list.

In this paper, we will try to customize the New Item page of a discussion board.  

1.       To start the customization, let us open our Microsoft Office SharePoint Designer 2007, and then we will open our SharePoint site.

2.       In the Folder List panel, let us select Lists folder, then Discussion Board. As illustrated below, let us open the NewForm.aspx.

Forms  

3.       Our NewForm.aspx page has a ListFormWebPart that we need to hide by adding a <IsVisible>false</IsVisible>  attribute.  Notice that by deleting this Web part may cause an “Invalid page URL.” or “Unexpected error has occurred.” error. It is commonly caused by an unreferenced object related to Microsoft.SharePoint.WebControls namespace.

4.       After hiding the ListFormWebPart, we can now insert a CustomListForm SharePoint control. To do this, click Insert menu, then select Custom List Form. Below is the illustration.

Custom Control 

5.       To define the library and content type we are going to insert, we will be prompted by the List or Document Library Form dialog box. Complete necessary information, in this demonstration we will select Announcements for the List or Document Library dropdown list and Announcement for the Content Type dropdown list, then click Ok. Below is the illustration.

Control Dialog 

6.       As illustrated below, we could now start customizing the SharePoint:FormField of our CustomListForm. It may be a twaddle reminder:  common errors in this exercise are duplicate control id and incorrect FieldName definition of both SharePoint:FormField and SharePoint:FieldDescription.

Customization 

7.       If necessary, right-click the SharePoint list in Folder List pane, then click property. As illustrated below, we will be prompted by the List Properties dialog box where we could configure items like Security, and Supporting Files mapping.  

Supporting Files 

8.       After saving the customization we have made, we could now enjoy browsing our customized NewForm SharePoint page.

Output

 

Hoping this would help...Thanks!

评论

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。
AdameElcza​r 在此页禁用了评论功能。

引用通告

此日志的引用通告 URL 是:
http://elczara.spaces.live.com/blog/cns!554EC06D366AC9D5!412.trak
引用此项的网络日志