{"id":4405,"date":"2022-12-05T07:01:25","date_gmt":"2022-12-05T07:01:25","guid":{"rendered":"https:\/\/himbap.com\/blog\/?p=4405"},"modified":"2022-12-05T07:01:53","modified_gmt":"2022-12-05T07:01:53","slug":"hide-create-document-button","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=4405","title":{"rendered":"Hide Create Document button"},"content":{"rendered":"<p><strong>Requirement<\/strong><br \/>\nHide Create Document (Document CorePack) button from opportunity entity.<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4409 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document3-300x67.png\" alt=\"document3\" width=\"300\" height=\"67\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document3-300x67.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document3-624x140.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document3.png 751w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Details<\/strong><br \/>\nCreate Document button is added by Document CorePack addon to the entities, but sometimes we want to hide this button for specific entities for example let&#8217;s say we want to hide this in the opportunity entity. If you will try to find this button using Ribbon Workbench you won&#8217;t get this button visible there. To hide this button you need to setting in the Document CorePack. To hide it we need to follow below steps:<\/p>\n<p>&gt; Navigate to <strong>Settings<\/strong> -&gt; <strong>DocumentsCorePack<\/strong><br \/>\n&gt; Click on <strong>General Settings<\/strong> and Expend <strong>Dialog Settings<\/strong><\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4406 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1-300x123.png\" alt=\"document1\" width=\"300\" height=\"123\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1-300x123.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1-1024x421.png 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1-624x257.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document1.png 1274w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&gt; Search for <strong>&#8216;Create Document&#8217; button Entity Configuration<\/strong> and click on <strong>Change<\/strong> button<br \/>\n&gt; Search for Opportunity and click on <strong>Delete<\/strong> button<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4407 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2-300x245.png\" alt=\"document2\" width=\"300\" height=\"245\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2-300x245.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2-1024x835.png 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2-624x509.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/12\/document2.png 1072w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In case you want to add Create Document button to entity you can use Add button and select your entity.<\/p>\n<p>&gt; Click on <strong>Save Configuration<\/strong> button to save your changes.<\/p>\n<p>Now after we should not able able to see Create Document button in the opportunity entity.<\/p>\n<p><strong>Summary<\/strong><br \/>\nThis is how we can hide\/add &#8216;Create Document&#8217; button in entity.<\/p>\n<p>Hope it will help someone !!<br \/>\n<strong>Keep learning and Keep Sharing !!<br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Requirement Hide Create Document (Document CorePack) button from opportunity entity. Details Create Document button is added by Document CorePack addon to the entities, but sometimes we want to hide this button for specific entities for example let&#8217;s say we want to hide this in the opportunity entity. If you will try to find this button using Ribbon Workbench you won&#8217;t&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=4405\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4409,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[402,522],"tags":[1005,1006,1007,1004],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4405"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4405"}],"version-history":[{"count":3,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4405\/revisions"}],"predecessor-version":[{"id":4411,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4405\/revisions\/4411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/4409"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}