删除共享点列表中的记录
我想删除共享点列表视图中的记录。这应该只是逻辑删除,实际数据本身不应该被删除。如何实现这一点? 请建议
I want to delete records in list view in sharepoint. This should only be a logical delete the actual data itself should not be deleted . How to accomplish thsi ?
Please suggest
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
无需过多说明为什么要这样做,这里有一个想法:
您可以创建一个基于列的过滤器,例如名为“从视图中隐藏”的是/否列,以及您选择的修改视图设置中的过滤器选项不显示不等于“从视图中隐藏”列的项目。
Without going much on why you want to do that, here's an idea:
You could create a filter based in a column, say, A Yes/No Column named "Hide From View" and on the Filter options in the Modify View Settings you choose to not display items that are not equal to your Hide From View column.
另一个选项是将项目的权限设置为仅网站集管理员可见/可编辑。非网站集管理员的任何人在查看列表时都不会看到该项目。这样,只有网站集管理员才可以在以后真正不再需要这些项目时真正删除/编辑这些项目,或者如果该项目需要再次对其他用户可见,则恢复权限。
在此处详细了解如何更改项目、文件夹、列表等的权限:管理列表、库、文件夹、文档或列表项的权限。
查看“中断文件夹、文档或列表项的权限继承”段落。
Another option is to set the item's permissions to be only visible to / editable by Site Collection Administrators. Anyone who is not a site collection admin will not see the item when viewing the list. This way only the site collection admins are allowed to really delete / edit those items later, when they really aren't needed anymore, or restore the permissions if the item needs to be visible to other users again.
Read more on how to change permissions on items, folders, lists etc. here: Manage permissions for a list, library, folder, document, or list item.
Look under the "Break permission inheritance on a folder, document, or list item" paragraph.
另一种选择是简单地将项目移动到另一个列表。
Another option is to simply move the items to another list.