删除共享点列表中的记录

发布于 2024-08-14 19:52:57 字数 58 浏览 3 评论 0原文

我想删除共享点列表视图中的记录。这应该只是逻辑删除,实际数据本身不应该被删除。如何实现这一点? 请建议

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

薄暮涼年 2024-08-21 19:52:57

无需过多说明为什么要这样做,这里有一个想法:

您可以创建一个基于列的过滤器,例如名为“从视图中隐藏”的是/否列,以及您选择的修改视图设置中的过滤器选项不显示不等于“从视图中隐藏”列的项目。

  • 创建新的是/否列,名称:HideFromView,默认值:否
  • 编辑/修改视图,转到“过滤器”组
  • 选择选项:仅在满足以下条件时显示项目
  • 配置为:
    • 在“HideFromView”列时显示项目
    • 等于
    • 没有
  • 编辑您的列表项目并为此列标记几个复选框。
  • 您现在有一个过滤列表,而无需实际删除数据

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.

  • Create new Yes/No Column, name: HideFromView, default value: No
  • Edit/Modify the View, go to the "Filter" group
  • Select the option: Show items only when the following is true
  • Configure with:
    • Show the items when column "HideFromView"
    • Is Equal To
    • No
  • Edit your list items and mark a few Checkboxes for this column.
  • You now have a filtered list, without actually deleting the data
旧人 2024-08-21 19:52:57

另一个选项是将项目的权限设置为仅网站集管理员可见/可编辑。非网站集管理员的任何人在查看列表时都不会看到该项目。这样,只有网站集管理员才可以在以后真正不再需要这些项目时真正删除/编辑这些项目,或者如果该项目需要再次对其他用户可见,则恢复权限。

在此处详细了解如何更改项目、文件夹、列表等的权限:管理列表、库、文件夹、文档或列表项的权限
查看“中断文件夹、文档或列表项的权限继承”段落。

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.

清醇 2024-08-21 19:52:57

另一种选择是简单地将项目移动到另一个列表。

Another option is to simply move the items to another list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文