如何在 Windows Sharepoint Services 3 SP2 中设置包含选择特定选项的日期/时间和用户身份的选项列?
我们正在使用 WSS 3 SP2。我想先说一下,虽然我已经编程有一段时间了,但之前我没有做过任何 Sharepoint 开发,所以我在这方面是个新手。
基本上,我们拥有的是一个 Sharepoint wiki,其中包含有关我们组织中各个应用程序的支持文档。每个应用程序都有一个 wiki 页面,其中包含一些更相关的信息(供应商支持 # 等),并且这些 wiki 页面是根据模板创建的。
目前,模板上有一个“选择”栏,列出了我们所有部门的工作组,用户可以在验证相关 wiki 页面信息正确后编辑各个 wiki 页面以勾选其特定工作组。例子:
[复选框]帮助台
[复选框]编程
[复选框]网络
我的任务是向模板列添加功能,执行以下操作:
- 列出选中每个复选框的日期
- 指示选中复选框的用户身份(登录用户名即可)
- 显示百分比已选中的复选框
示例:
应用程序验证:66%
[复选框]帮助台 - 由 JohnDoe 于 2010 年 8 月 26 日验证
[复选框]编程 - 未经验证
[Checkbox] 网络 - 由 JaneDoe 于 2010 年 7 月 21 日验证
我一直在尝试尝试使用 Web 部件,但我对 Sharepoint 的了解还不够,无法了解新的 Web 部件是否是可行的方法,或者我是否可以将选择列扩展到做这个。
使用 Sharepoint 实现此目的的最佳方法是什么?有人能指出我正确的方向吗?
We are using WSS 3 SP2. I'd like to preface this by saying that while I have been programming for some time, I have not done any Sharepoint development before now, so I am very much a newbie in that respect.
Basically what we have is a Sharepoint wiki that contains support documentation about each of the various applications throughout our organization. Each application has a wiki page containing some of the more pertinent info (vendor support #, etc), and these wiki pages are created from a template.
Currently, there is one "choice" column on the template that lists all of our department work groups, and users can edit the individual wiki pages to check off their particular work group after they've verified that the relevant wiki page information is correct. Example:
[Checkbox] Help Desk
[Checkbox] Programming
[Checkbox] Networking
What I've been tasked with is adding functionality to the template column that does the following:
- list the date that each checkbox was checked
- Indicate the user identity that checked the checkbox (logged on username is fine)
- display the percentage of checkboxes that have been checked
Example:
Application Verification: 66%
[Checkbox] Help Desk - verified by JohnDoe on 8/26/10
[Checkbox] Programming - Unverified
[Checkbox] Networking - verified by JaneDoe on 7/21/10
I have been playing around with web parts trying to get my feet wet, but I don't know enough about Sharepoint yet to understand if a new web part is the way to go or if I can extend the choice column to do this.
What is the best way to accomplish this with Sharepoint? Can someone point me in the proper direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我开始的方向是开发一个自定义字段,它将您的信息存储在内部某种自定义结构(XML、逗号分隔等)中。然后在渲染控件中,您需要将该值序列化和反序列化为您的表示形式。请查看以下教程以开始使用自定义字段:
http://vspug.com/nicksevens /2007/08/31/create-custom-field-types-for-sharepoint/
The direction I would start in would be developing a custom field, that would store your info internally in some sort of custom structure (XML, comma-separated, whatever). Then in the render control you will need to serialize and deserialize this value into your representation. Take a look at the following tutorial to get you started on custom fields:
http://vspug.com/nicksevens/2007/08/31/create-custom-field-types-for-sharepoint/