{"id":1058,"date":"2016-03-30T20:55:28","date_gmt":"2016-03-30T19:55:28","guid":{"rendered":"http:\/\/www.myfatblog.co.uk\/?p=1058"},"modified":"2016-03-31T10:56:35","modified_gmt":"2016-03-31T09:56:35","slug":"bypassing-content-organiser-spo","status":"publish","type":"post","link":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/","title":{"rendered":"Bypassing the Content Organiser in SPO"},"content":{"rendered":"<p align=\"left\">I haven\u2019t had to work with the content organiser since SP2010, but just recently I was working with a client that wanted to re-create some of their on-prem 2010 configuration in SharePoint Online. One of these items was the use of the Drop-Off library to allow third parties to add documents into their libraries, whilst restricting access to other third parties documents.<\/p>\n<p align=\"justify\">This was originally built in SP2010 and has been working away there without any issues for several years so moving it into Office 365 was a fairly simple process of activating the Document Routing feature in the new site and setting up the content types for routing. (<a href=\"https:\/\/support.office.com\/en-us\/article\/Create-Content-Organizer-rules-to-route-documents-74dfe36d-e3d6-40b7-9a5c-beea0c84deed\">If you\u2019re not familiar with document routing, then the Office Support site has some great info which you can find here..)<\/a><\/p>\n<p align=\"justify\">I\u2019ve activated the Content Organiser site feature, and created a new document library called \u201cTarget Library\u201d and configured it to have the sample routing content type applied.<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; margin-left: auto; display: block; margin-right: auto;\" title=\"SNAGHTML4b13fa6\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png\" alt=\"SNAGHTML4b13fa6\" width=\"479\" height=\"273\" border=\"0\" \/><\/a><\/p>\n<p align=\"justify\">With the library and content types in place, we can configure the Content Organiser by going to Site Settings and looking under Site Administration.<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b2d81e.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4b2d81e\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b2d81e_thumb.png\" alt=\"SNAGHTML4b2d81e\" width=\"207\" height=\"240\" border=\"0\" \/><\/a><\/p>\n<p>It\u2019s the very first setting that I want to highlight an issue with in SharePoint Online (And I would imagine SP2013 too as it has the same functionality available)<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b48f0d.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4b48f0d\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b48f0d_thumb.png\" alt=\"SNAGHTML4b48f0d\" width=\"752\" height=\"232\" border=\"0\" \/><\/a><\/p>\n<p>The setting is titled \u201cRedirect users to the Drop Off Library\u201d and basically states very clearly that if a library is the target of a content organiser rule, then users attempting to upload files into that library will be redirected to the drop-off library. This absolutely makes sense because we may want to ensure that certain fields are applied or that the content is placed into particular folders based on business rules that the average end-user may not be aware of.<\/p>\n<p>So that we can see this in action, we\u2019ll configure a simple rule that requests a field to be set by a user, and then places the uploaded document into a folder relating to the chosen partner.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b9e4ac.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4b9e4ac\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b9e4ac_thumb.png\" alt=\"SNAGHTML4b9e4ac\" width=\"693\" height=\"312\" border=\"0\" \/><\/a><\/p>\n<p>With our content type selected (I\u2019m not routing in from other site collections with potentially different names for the content type, so I can ignore that setting, but it\u2019s useful to know about!), I\u2019ve then removed the property condition as I want this rule to trigger on every instance of this content type, and then configured the target library:-<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4bee1ee.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4bee1ee\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4bee1ee_thumb.png\" alt=\"SNAGHTML4bee1ee\" width=\"613\" height=\"409\" border=\"0\" \/><\/a><\/p>\n<p>Once done, click OK and the rule will be displayed in the rule list view. With that configured, we can go to our Target Library and try and upload a file. You can see in the image below that clicking on the Upload File link in the menu bar, we get a standard modal dialog pop-up, but the clue is in the text displayed at the top. This is the dialog from the Drop Off library!<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c0a72f.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4c0a72f\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c0a72f_thumb.png\" alt=\"SNAGHTML4c0a72f\" width=\"641\" height=\"331\" border=\"0\" \/><\/a><\/p>\n<p>Excellent, if we upload a document the properties window will open to gather properties, the rule will apply and our document will get routed properly into the Target Library. If I cancel the window at this point, the file will exist in the drop-off library awaiting properties to be set, proving that the setting we configured earlier is doing exactly what it should.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c2da02.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"SNAGHTML4c2da02\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c2da02_thumb.png\" alt=\"SNAGHTML4c2da02\" width=\"581\" height=\"327\" border=\"0\" \/><\/a><\/p>\n<p>Now all I need to do is go into the drop-off library, configure the properties that I ignored and it would route correctly.. (And if you\u2019re wondering what happens if I forgot to do that? Well the Content Organiser will notify the site owner that there are documents awaiting routing after a set amount of time, configurable in the settings page.).<\/p>\n<p>So this is all well and good, everything is working as it did in SharePoint 2010, but the problem comes with the addition of Drag\/Drop functionality in SP2013\/SPO:-<\/p>\n<p align=\"center\"><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c67f36.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"SNAGHTML4c67f36\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c67f36_thumb.png\" alt=\"SNAGHTML4c67f36\" width=\"324\" height=\"217\" border=\"0\" \/><\/a><a href=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c6e3f1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"SNAGHTML4c6e3f1\" src=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4c6e3f1_thumb.png\" alt=\"SNAGHTML4c6e3f1\" width=\"332\" height=\"216\" border=\"0\" \/><\/a><\/p>\n<p>You\u2019ll see that any user can just drop a file into the Target Library, completely ignoring the rules configured in the content organiser. Unfortunately if you have external users, there\u2019s no easy fix for this other than some obfuscation. Simply put, hiding the target library from the users and making it plainly obvious that they should be placing documents in the drop-off library. For my recent client, we achieved this by putting a very clear link on the landing page for the users to click on to upload a file. This caused the standard File Upload dialog to open against the drop-off library. All mention of the target library was removed from the navigation, except for an audience based link for the Admins.<\/p>\n<p>If all of your users are internal users and you\u2019re not sharing with External users, then you do have a simple fix and that is to change the permissions on the target library so that only the admins have contribute access and all others have read or no access. As the Content Organiser runs as the timer account, it has full access and documents get routed as expected. This configuration does cause a problem with external users, which I&#8217;ll cover in another post in the next few days.<\/p>\n<p>I hope this is of some use.<\/p>\n<p>Paul.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I haven\u2019t had to work with the content organiser since SP2010, but just recently I was working with a client that wanted to re-create some of their on-prem 2010 configuration in SharePoint Online. One of these items was the use of the Drop-Off library to allow third parties to add documents into their libraries, whilst &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[16,31,70,139],"tags":[212],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict\" \/>\n<meta property=\"og:description\" content=\"I haven\u2019t had to work with the content organiser since SP2010, but just recently I was working with a client that wanted to re-create some of their on-prem 2010 configuration in SharePoint Online. One of these items was the use of the Drop-Off library to allow third parties to add documents into their libraries, whilst &hellip; Continue reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of an overweight SharePoint addict\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-30T19:55:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-31T09:56:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png\" \/>\n<meta name=\"author\" content=\"Cimares\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cimares\" \/>\n<meta name=\"twitter:site\" content=\"@cimares\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cimares\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\",\"name\":\"Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict\",\"isPartOf\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png\",\"datePublished\":\"2016-03-30T19:55:28+00:00\",\"dateModified\":\"2016-03-31T09:56:35+00:00\",\"author\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage\",\"url\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png\",\"width\":479,\"height\":273},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\",\"url\":\"http:\/\/www.myfatblog.co.uk\/\",\"name\":\"Blog of an overweight SharePoint addict\",\"description\":\"The rantings of a (not so) food obsessed IT consultant!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\",\"name\":\"Cimares\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"caption\":\"Cimares\"},\"sameAs\":[\"http:\/\/www.myfatblog.co.uk\"],\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/","og_locale":"en_US","og_type":"article","og_title":"Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict","og_description":"I haven\u2019t had to work with the content organiser since SP2010, but just recently I was working with a client that wanted to re-create some of their on-prem 2010 configuration in SharePoint Online. One of these items was the use of the Drop-Off library to allow third parties to add documents into their libraries, whilst &hellip; Continue reading","og_url":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/","og_site_name":"Blog of an overweight SharePoint addict","article_published_time":"2016-03-30T19:55:28+00:00","article_modified_time":"2016-03-31T09:56:35+00:00","og_image":[{"url":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png"}],"author":"Cimares","twitter_card":"summary_large_image","twitter_creator":"@cimares","twitter_site":"@cimares","twitter_misc":{"Written by":"Cimares","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/","url":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/","name":"Bypassing the Content Organiser in SPO - Blog of an overweight SharePoint addict","isPartOf":{"@id":"http:\/\/www.myfatblog.co.uk\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage"},"image":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage"},"thumbnailUrl":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png","datePublished":"2016-03-30T19:55:28+00:00","dateModified":"2016-03-31T09:56:35+00:00","author":{"@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2016\/03\/bypassing-content-organiser-spo\/#primaryimage","url":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png","contentUrl":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2016\/03\/SNAGHTML4b13fa6_thumb.png","width":479,"height":273},{"@type":"WebSite","@id":"http:\/\/www.myfatblog.co.uk\/#website","url":"http:\/\/www.myfatblog.co.uk\/","name":"Blog of an overweight SharePoint addict","description":"The rantings of a (not so) food obsessed IT consultant!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6","name":"Cimares","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","caption":"Cimares"},"sameAs":["http:\/\/www.myfatblog.co.uk"],"url":"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/"}]}},"_links":{"self":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/1058"}],"collection":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":2,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"predecessor-version":[{"id":1061,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/1058\/revisions\/1061"}],"wp:attachment":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}