<br />
<b>Deprecated</b>:  YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php</b> on line <b>60</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\League\OAuth2\Client\Provider\AbstractProvider::authorize(): Implicitly marking parameter $redirectHandler as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/league/oauth2-client/src/Provider/AbstractProvider.php</b> on line <b>416</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\GuzzleHttp\Client::getConfig(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Client.php</b> on line <b>181</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\GuzzleHttp\ClientInterface::getConfig(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/ClientInterface.php</b> on line <b>77</b><br />
{"id":1341,"date":"2012-09-29T17:39:59","date_gmt":"2012-09-29T15:39:59","guid":{"rendered":"https:\/\/blog.sharedove.com\/adisjugo\/?p=1341"},"modified":"2012-09-29T17:39:59","modified_gmt":"2012-09-29T15:39:59","slug":"open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only","status":"publish","type":"post","link":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/","title":{"rendered":"Open SharePoint files in edit mode from client applications (and not read only)"},"content":{"rendered":"<p>When you have an Microsoft Office document in a SharePoint library which has versioning enabled, and when you click directly on the file link inside the SharePoint interface, you\u2019ll get the open-document dialog, where SharePoint is asking you how do you want to open the file \u2013 read only, or in edit mode. <\/p>\n<p>If you open it in the read-only mode, you will not be allowed to save it back into the document library where you have opened it, at least not under the same file name.<\/p>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"openinword\" border=\"0\" alt=\"openinword\" src=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png\" width=\"391\" height=\"261\" \/><\/a><\/p>\n<p>The problem is, if you have a document URL, and you open it from any client application (your own solution, link in an e-mail message, whatever\u2026), the file will always be open in the read mode. And this is the behavior that you most likely do not want.<\/p>\n<p>There are two possible workarounds around this (actually, there are three, but we\u2019ll ignore the third one, since it is not quite useful in production, it requires changes on the client side \u2013 on ALL clients).<\/p>\n<p><strong>The first one is<\/strong>, if you are developing custom HTML solution (does not matter if inside or outside of SharePoint), you can use the <font face=\"Courier New\">editDocumentWithProgID<\/font> JavaScript function from SP.JS. This will show the open document dialog, just as you know it from SharePoint:<\/p>\n<pre class=\"brush: xml; title: Code sample:; notranslate\" title=\"Code sample:\">\n&lt;a href=&quot;&quot; \n    onclick=&quot;editDocumentWithProgID2(&#039;http:\/\/server\/site\/doclib\/folder\/Document.docx&#039;, \n    &#039;&#039;, \n    &#039;SharePoint.OpenDocuments&#039;, &#039;0&#039;, \n    &#039;http:\/\/server\/site&#039;, &#039;0&#039;)&quot;&gt;\n    This will open the file in edit mode\n&lt;\/a&gt;\n<\/pre>\n<\/p>\n<p>Of course, you will need to include the SP.JS file if you are outside of SharePoint \u2013 it is stored in the LAYOUTS folder of 14 hives for SharePoint 2010 (usually: C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATELAYOUTS)<\/p>\n<p><strong>The second option<\/strong> will be to replace \u201c<u>http:\/\/<\/u>\u201d in the document URL with \u201c<u>file:\/\/<\/u>\u201d. This will open the document directly in edit mode, without any prompting. From my experience, this works well in local intranets, causes troubles in public sites. <\/p>\n<p>So the link from the previous case would be:<\/p>\n<p><u>file:\/\/server\/site\/doclib\/folder\/Document.docx&#8217;<\/u><\/p>\n<p>Have fun with SharePoint\u2026 <img decoding=\"async\" style=\"border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none\" class=\"wlEmoticon wlEmoticon-smile\" alt=\"Smile\" src=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/wlEmoticon-smile1.png\" \/><\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\"\n\t\t\t  \tdata-numposts = \"59\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"time\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>When you have an Microsoft Office document in a SharePoint library which has versioning enabled, and when you click directly on the file link inside the SharePoint interface, you\u2019ll get the open-document dialog, where SharePoint is asking you how do you want to open the file \u2013 read only, or in edit mode. If you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[12],"tags":[55],"class_list":["post-1341","post","type-post","status-publish","format-standard","hentry","category-howto","tag-sharepoint"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog\" \/>\n<meta property=\"og:description\" content=\"When you have an Microsoft Office document in a SharePoint library which has versioning enabled, and when you click directly on the file link inside the SharePoint interface, you\u2019ll get the open-document dialog, where SharePoint is asking you how do you want to open the file \u2013 read only, or in edit mode. If you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\" \/>\n<meta property=\"og:site_name\" content=\"Adis Jugo blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-29T15:39:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png\" \/>\n<meta name=\"author\" content=\"adis.jugo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"adis.jugo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\",\"name\":\"Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png\",\"datePublished\":\"2012-09-29T15:39:59+00:00\",\"author\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png\",\"contentUrl\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.sharedove.com\/adisjugo\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Open SharePoint files in edit mode from client applications (and not read only)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#website\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/\",\"name\":\"Adis Jugo blog\",\"description\":\"The Southern Side\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.sharedove.com\/adisjugo\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c\",\"name\":\"adis.jugo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g\",\"caption\":\"adis.jugo\"},\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/author\/adisjugo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog","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":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/","og_locale":"en_US","og_type":"article","og_title":"Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog","og_description":"When you have an Microsoft Office document in a SharePoint library which has versioning enabled, and when you click directly on the file link inside the SharePoint interface, you\u2019ll get the open-document dialog, where SharePoint is asking you how do you want to open the file \u2013 read only, or in edit mode. If you [&hellip;]","og_url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/","og_site_name":"Adis Jugo blog","article_published_time":"2012-09-29T15:39:59+00:00","og_image":[{"url":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png","type":"","width":"","height":""}],"author":"adis.jugo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"adis.jugo","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/","url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/","name":"Open SharePoint files in edit mode from client applications (and not read only) - Adis Jugo blog","isPartOf":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage"},"image":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png","datePublished":"2012-09-29T15:39:59+00:00","author":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c"},"breadcrumb":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#primaryimage","url":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png","contentUrl":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/09\/openinword_thumb.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/09\/29\/open-sharepoint-files-in-edit-mode-from-client-applications-and-not-read-only\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.sharedove.com\/adisjugo\/"},{"@type":"ListItem","position":2,"name":"Open SharePoint files in edit mode from client applications (and not read only)"}]},{"@type":"WebSite","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#website","url":"https:\/\/blog.sharedove.com\/adisjugo\/","name":"Adis Jugo blog","description":"The Southern Side","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.sharedove.com\/adisjugo\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c","name":"adis.jugo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g","caption":"adis.jugo"},"url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/author\/adisjugo\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts\/1341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/comments?post=1341"}],"version-history":[{"count":0,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts\/1341\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/media?parent=1341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/categories?post=1341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/tags?post=1341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}