每当库中发生更改时,用户都可以通过SharePoint 中的版本控制(versioning in SharePoint)轻松存储、跟踪和恢复项目。该功能使用户可以控制在他/她的网站上发布的内容。因此,让我们分别了解如何在SharePoint 2016中为库和列表配置版本控制。(Versioning)
在SharePoint中为库(Library)或列表启用版本控制(Versioning)
Track and manage information over time with versioning in SharePoint lists and libraries. View and recover previous versions from the item’s history. When enabled, new versions are added to an item’s history after changes are saved. The number of versions stored and the visibility of draft or minor versions can be modified for each list and library, says Office.com.
当您需要查看或恢复项目或文件的旧版本时,可以体验SharePoint中的版本控制(Versioning)实用程序。为SharePoint中的列表或库启用版本控制 -(SharePoint-)
- (Access List Settings)访问设置(Settings)组中的列表设置或库。(Library)
- 转到版本设置页面
- 为文档库(Document Library)配置版本控制
- 为列表配置版本控制
如果您的OneDrive for Business网站上有未启用版本控制的现有库,您可以随时为它们启用版本控制。
1]访问列表设置(Access List Settings)或库设置(Library Settings)组
转到要为其启用版本控制的SharePoint库或列表。
选择库(Library)或列表(List)选项卡。
在“设置(Settings)”组下,选择“库(Library)”或“列表(List)”选项。
2]转到版本设置页面
当“库设置(Library Settings)”窗口打开时,单击以蓝色显示的“版本控制设置”链接。(Versioning settings)
3]在SharePoint中为文档(Document)库配置版本控制(Configure Versioning)
[图片来源-Office.com]
当定向到“版本设置(Version Settings)”页面时,通过检查以下标题下列出的合适选项来启用版本控制,
- 要求(Require)对提交的项目进行内容批准。
- 每次编辑此文档库中的文件时创建一个版本,仅主要版本或主要和次要版本。
- 限制要保留的版本和草稿的数量。
- 设置谁可以看到草稿项目。
- 要求在编辑之前检查文档。
4]在SharePoint中为列表(List)配置版本控制(Configure Versioning)
同样,要在SharePoint中启用List的版本控制,请检查 List 的“(List)版本设置(Version Settings)”页面下的所需选项。
如果在某个时候,您想在SharePoint列表或库中禁用版本控制
重复上面列出的步骤,但在“版本设置(Version Settings)”页面上选择“无版本控制”。(No versioning)您还可以为需要(Require)内容批准选中否。
任何有权管理列表的人都可以为库打开或关闭版本控制。版本控制(Versioning)适用于所有默认列表类型中的列表项,包括日历、问题跟踪列表和自定义列表。
How to enable Versioning in SharePoint
Whenever there is a change in the librarу, a user can eaѕily store, track, and restore items via versioning in SharePoint. The feature gives a user control over the content that is posted on his/her site. So, let’s find how to configure Versioning in SharePoint 2016 for a library and list, separately.
Enable Versioning in SharePoint for a Library or List
Track and manage information over time with versioning in SharePoint lists and libraries. View and recover previous versions from the item’s history. When enabled, new versions are added to an item’s history after changes are saved. The number of versions stored and the visibility of draft or minor versions can be modified for each list and library, says Office.com.
The utility of Versioning in SharePoint can be experienced during times when you need to look at or restore an old version of an item or file. For enabling versioning for a list or library in SharePoint-
- Access List Settings or Library in the Settings group.
- Go to Versions Settings Page
- Configure versioning for Document Library
- Configure Versioning for List
If you have existing libraries on your OneDrive for Business site that do not have versioning enabled, you can enable versioning for them any time.
1] Access List Settings or Library Settings group
Go to the SharePoint library or list for which you would like to enable versioning.
Choose the Library or List tab.
Under ‘Settings’ group, choose ‘Library’ or ‘List’ option.
2] Go to Versions Settings Page
When the ‘Library Settings’ window opens, click the ‘Versioning settings’ link displayed in blue.
3] Configure Versioning for Document library in SharePoint
[Image source – Office.com]
When directed to ‘Version Settings’ page, enable versioning by checking suitable options listed under following headings,
- Require content approval for submitted items.
- Create a version each time you edit a file in this document library, either major versions only or major and minor versions.
- Limit the number of versions and drafts to retain.
- Set who can see draft items.
- Require documents to be checked before they can be edited.
4] Configure Versioning for List in SharePoint
Similarly, to enable versioning for List in SharePoint, check the desired options under ‘Version Settings’ page for List.
If at some point, you feel like disabling versioning in a SharePoint list or library
Repeat the steps listed above, but choose ‘No versioning’ on the ‘Version Settings’ page. You can also check No for Require content approval.
Anyone with permission to manage lists can turn versioning on or off for a library. Versioning is available for list items in all default list types—including calendars, issue tracking lists, and custom lists.