自定义Sharepoint团队讨论 [英] Customizing Sharepoint Team Discussions

查看:83
本文介绍了自定义Sharepoint团队讨论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我领导一家小公司的开发团队。开发团队尚未对Sharepoint做任何事情,但是,基础设施小组继续创建了一个包含讨论板的外联网。似乎用户对访问附件的方式不满意,他们不想打开线程并选择"查看属性"。根据我的理解,他们希望能够直接从讨论列表中打开附件。

任何建议都会受到高度赞赏,尤其是关于什么工具/技能可能会有所建议需要。我的团队主要是ASP.Net/C#开发人员,他们的SP专业知识非常少。我们可以访问SP Designer,但我觉得这种增强可能不太可行。

谢谢!

I lead a development team in a small company.  The dev team hasn't done anything with Sharepoint as yet, however, the infrastructure group went ahead and created an extranet which includes a Discussion Board.  Seems the users are unhappy with the way attachments are accessed, they don't want to have to open the thread and select "View Properties" to get to the attachment, as I understand it, they want to be able to open the attachment directly from the discussion list.

Any advice would be much appreciated, especially suggestions as to what tools/skill set may be required.  My team is mostly ASP.Net/C# developers with very little SP expertise.  We have access to SP Designer, but I have a feeling this enhancement may not be feasible.

Thanks!

推荐答案

你可以这样做但是它不会那么容易。

你必须添加一个新列并调用它作为例子附件。

在ItemAdded上添加一个事件处理程序( http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.itemadded.aspx ) 。

这个事件基本上会生成列附件的内容。您可以轻松构建附件URL。


典型附件URL: http:// SiteName /Lists/DiscssionsListName/Attachments/DiscussionID/AttachmentName.Extension

您可以获取所有必需的信息以在事件处理程序中构建URL,并简单地构造一个锚标记并将其放在列中。

最后,编辑"主题"查看以添加新的附件列。
You can do that but it wont be that easy.

You have to add a new column and call it for example Attachment.

Add an event handler on ItemAdded (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.itemadded.aspx).

This event will basically generate the contents of the column Attachment. You can construct the attachment URL easily.


Typical Attachment URL: http://SiteName/Lists/DiscssionsListName/Attachments/DiscussionID/AttachmentName.Extension

You can grab all the required information to build the URL in the event handler and simply construct an anchor tag and place it inside the column.

Finally, edit the "Subject" view to add the new Attachment column.


这篇关于自定义Sharepoint团队讨论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆