我们如何在sharepoint 2010中的特定自定义列表的一个视图中禁用一列并在另一个视图中启用? [英] how can we disable a column in one view and enable in another view of a particular custom list in sharepoint 2010?

查看:88
本文介绍了我们如何在sharepoint 2010中的特定自定义列表的一个视图中禁用一列并在另一个视图中启用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我要求禁用视图列表中的一个特定列(即类别)
在这里,我有一个特定列表的两个视图(allitems,admin)..
所以现在我想在"allitems"视图中禁用该列,并在"admin视图"中启用
我的意思是说非管理员以外的任何人都不能添加类别",并且这是在数据输入期间完成的.
谁能帮我..

预先感谢,
naresh

Hi All,
i have a requirement of disable one particular column(i.e category) in a list of view(allitems)
here iam having two views(allitems,admin) of a particular list..
so now i wants to disable that column in "allitems" view and enable in "admin view"
i mean to say "category" cannot be added by anyone other than non-admin and that this is done during data entry
can anyone help me..

thanks in advance,
naresh

推荐答案

您有两种不同的情况,1)列表视图和2)添加/编辑页面

1)如果您不希望在视图中显示列,则不要将其添加到视图中.

2)如果您只希望某个用户角色可以编辑列,则需要自定义列表的新表单和编辑表单以支持此功能
自定义SharePoint列表表单 [
You have two different scenarios, 1) the list view and 2) the Add/Edit page

1) if you don''t want a column to be displayed in a view then don''t add it to the view.

2) if you only want a column to be editable by a certain user role you will need to customize the new and edit forms for the list to support this functionality
Custom SharePoint List Forms[^]


这篇关于我们如何在sharepoint 2010中的特定自定义列表的一个视图中禁用一列并在另一个视图中启用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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