{"id":2014,"date":"2015-09-14T22:17:06","date_gmt":"2015-09-14T20:17:06","guid":{"rendered":"http:\/\/www.itidea.nl\/?p=2014"},"modified":"2015-09-14T22:17:06","modified_gmt":"2015-09-14T20:17:06","slug":"in-place-records-overview","status":"publish","type":"post","link":"https:\/\/www.itidea.nl\/index.php\/in-place-records-overview\/","title":{"rendered":"In-place records overview"},"content":{"rendered":"<p>One of the nice features in SharePoint records management is the possibility to declare records in-place. Documents are archived in context of their creation environment. This is a huge advantage in comparison with the record center where all the documents are stored without any context.<\/p>\n<p>When a document is declared as a record a field is filled with the date of declaration. This can be seen by declaring a record in-place and check out the fields available in de library. A field called &#8216;Declared record&#8217; shows up. When this field is added to a view one can see when the record is declared.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-Declared-record-field-in-library-view.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2048 size-medium\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-Declared-record-field-in-library-view-300x270.png\" alt=\"In place archive - Declared record field in library view\" width=\"300\" height=\"270\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-Declared-record-field-in-library-view-300x270.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-Declared-record-field-in-library-view-600x541.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-Declared-record-field-in-library-view.png 856w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Unfortunately there is no out-of-the-box functionality to find all declared records in a farm or online environment. But this can be created easily using search.<\/p>\n<p>In Office 365 the crawled property &#8216;ows_q_DATE__vti_ItemDeclaredRecord&#8217; is present and contains the declared record date. Also a managed property is created: vtiItemDeclaredRecordOWSDATE which is defined as a Text field and contains the textual representation of the date of the declared record. This property is not searchable, refinable nor sortable, but it is queryable and retrievable, so it can be used by search.<\/p>\n<p>In the search center a new page is created named &#8216;Archive&#8217;.<\/p>\n<p>To list all the declared records a query can be added to the search results webpart. Since the out-of-the-box managed property is defined as Text a query like vtiItemDeclaredRecordOWSDATE:&#8217;*2*&#8217; can be added to search every record declared in this century.<\/p>\n<p><a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-add-owsdate-to-query.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2019\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-add-owsdate-to-query-300x57.png\" alt=\"In place archive - add owsdate to query\" width=\"300\" height=\"57\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-add-owsdate-to-query-300x57.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-add-owsdate-to-query-600x115.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-add-owsdate-to-query.png 705w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The next wanted functionality is of course to be able to refine the search results by date of declaration. Since a text property is used here, this is not going to work.<br \/>\nSo we need another managed property to be able to use this field in the search center for our purpose: to be able to refine in-place declared records by declaration date.<\/p>\n<p>In Office 365 there are a couple of predefined refinable date fields (RefinableDate00 up to RefinableDate19) and we need a mapping to the crawled property &#8216;ows__vti_ItemDeclaredRecord&#8217; on one of these fields. Which one you pick doesn\u2019t matter.<\/p>\n<p>This managed property can be used to refine the search results by date of declared record like the &#8216;Modified&#8217; field with slider and bar graph.<\/p>\n<p>The result is an archive search results page as show below.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2050 size-medium\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results-278x300.png\" alt=\"In place archive - search results\" width=\"278\" height=\"300\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results-278x300.png 278w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results-950x1024.png 950w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results-600x646.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results-900x969.png 900w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2015\/09\/In-place-archive-search-results.png 1443w\" sizes=\"auto, (max-width: 278px) 100vw, 278px\" \/><\/a><\/p>\n<h4>Summary<\/h4>\n<p>Search is a very powerful part of SharePoint. Also in the case of creating a search results page for archived documents including a refiner at\u00a0declared record date.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the nice features in SharePoint records management is the possibility to declare records in-place. Documents are archived in context of their creation environment. This is a huge advantage in comparison with the record center where all the documents &#8230; <a class=\"more-link\" href=\"https:\/\/www.itidea.nl\/index.php\/in-place-records-overview\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,35],"tags":[37,44],"class_list":["post-2014","post","type-post","status-publish","format-standard","hentry","category-office-365","category-sharepoint-2013","tag-office365","tag-sharepoint-2013"],"_links":{"self":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/comments?post=2014"}],"version-history":[{"count":17,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2014\/revisions"}],"predecessor-version":[{"id":2641,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2014\/revisions\/2641"}],"wp:attachment":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/media?parent=2014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/categories?post=2014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/tags?post=2014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}