0

Is there a way to enable Buckets view by default for all users? I can see the Buckets item in the core database, but there doesn't seem to be a field that allows for enabling by default.

  • Do you mean to show the hidden tree by default? – Richard Seal Aug 7 '19 at 16:45
  • The hidden tree of bucket items, yes. – Levi Wallach Aug 7 '19 at 16:54
  • Did you try this role "Sitecore Client Bucket Management". This role gives the user access rights to the /sitecore/content/Applications/Content Editor/Ribbons/Chunks/Item Buckets item in the Core database. doc.sitecore.com/developers/90/… – Ercan Polat Aug 7 '19 at 17:32
  • I just added this, but that's not what I'm after. I want to enable the Buckets checkbox by default in the View tab for users. I can find this item in the Core database, as I mention, but I don't see a straightforward way to set it's value to "on." – Levi Wallach Aug 7 '19 at 17:52
  • As the view buckets is a checkbox on the ribbon, did you check the solution at sitecore.stackexchange.com/questions/4934/… ? – Gatogordo Aug 8 '19 at 9:26
3

From you question I am understanding that you want to enable bucket view by default for all the users, which mean every user can see the bucket items in the content tree as date, month, day folder format(usually). This can achieve by updating the Sitecore.Buckets.config file. In this file, there is a section called dataviews-

<dataviews>
      <dataview name="Master" >
        <patch:attribute name="assembly">Sitecore.Buckets</patch:attribute>
        <patch:attribute name="type">Sitecore.Buckets.Forms.BucketDataView</patch:attribute>
      </dataview>
</dataviews>

You need to simply comment out or remove this section. After that Buckets checkbox will not work longer. This section is used to set the view about how items should be rendered in the content tree. You can easily override the existing code as well if you don't like the idea of removing the functionality.

Not the answer you're looking for? Browse other questions tagged or ask your own question.