Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes

Is it possible to create a bucket that doesn't use sub-folder buckets?

This answer does not exactly match your question, but I believe it matches your requirements based on the comments you have made. If you want the Item Bucket search features on the parent item but do ...
Richard Seal's user avatar
  • 20.5k
9 votes
Accepted

What fieldtype should I use to select one item from a bucket

I've used a multilist with search and just used a regex in the validate field to limit to choices to the field requirements know each case. Here is an example regex that limits zero to 5 items ^({[^}]...
Richard Seal's user avatar
  • 20.5k
9 votes
Accepted

Sitecore Content Search not returning back fallback items

For future use: I found a solution for this, we need to enable language fallback for master and web indexes like below, and rebuild them. By default, this setting is set to false <...
Dheeraj Palagiri's user avatar
7 votes
Accepted

Buckets search page: Facets showing by guid. how to change that?

You need to set BucketConfiguration.ResolveFacetValueToFriendlyName equals to true. <!-- RESOLVE FACET VALUE TO FRIENDLY NAME If you are storing a field in the index that is being faceted ...
Vlad Iobagiu's user avatar
  • 18.6k
7 votes
Accepted

Omit bucket folders from page urls - linkprovider not working in SXA

The use of SXA is rather important in this case. As you can see in your configuration, SXA uses by default the switchableLinkProvider. This will check your site configuration in Sitecore to determine ...
Gatogordo's user avatar
  • 20.1k
6 votes
Accepted

Display custom bucket tags by name instead of GUID Sitecore 8.1

Your field is configured TOKENIZED, change it to UNTOKENIZED so that the values are not split when stored in the index. <field fieldName="tagsfacet" indexType="UNTOKENIZED" ...> ....
jammykam's user avatar
  • 13.8k
6 votes
Accepted

Link Browser doesn't show all child items from Tree?

I figured this out. I made the update to change the value of LinkDatabase.MaximumBatchSize to 1000 as suggested and it didn't work. <sitecore> <settings> <setting name="...
Adam Seabridge's user avatar
6 votes

Is it possible to create a bucket that doesn't use sub-folder buckets?

Yes, there is. I wrote a bog post about it: https://www.skillcore.net/sitecore/sitecore-item-buckets-custom-folders-structure In shoortcut you need to create action extending RuleAction<T> ...
Marek Musielak's user avatar
  • 23.8k
5 votes

Editing bucketed items with multiple versions in the content editor

Update: You might be able to workaround the issue using only the search interface if you explicitly configure the 'version' search filter: Steps: Click on the arrow drop-down (left of the search ...
Chris Smith's user avatar
5 votes
Accepted

How do I add a new search filter to use with my Item Buckets?

With the working examples from K. Heye and christian-hagelid, I realized that I had an assumption, and had created the Field Search Type in the Core database, where all the items lies as well. ...
AndreasPK's user avatar
  • 615
5 votes
Accepted

ReadSitecoreItemsStepProcessor and Buckets

The best option would be to create your own Sitecore.DataExchange.Providers.Sc.Processors.PipelineSteps.ResolveSitecoreItemStepProcessor class by decompiling (use DotPeek or ILSpy tools) Sitecore....
Peter Procházka's user avatar
5 votes
Accepted

Inheriting bucketable template

Yes, you can create a Bucketable template that you can then set as a base template for any templates that you want to be bucketable as well. I used to do this in the past. In fact, I would have a ...
Dylan Young's user avatar
  • 4,314
5 votes
Accepted

Adding Dynamic Fields in Bucket Search Results

We had the same issue, luckily it isn't too hard to re-implement. I believe this should work exactly like before, but we might have skipped something we didn't need so just be aware of that. ...
Søren Kruse's user avatar
  • 3,245
5 votes

Modify item creation date programmatically

Just set it: var itemToHack = Sitecore.Context.Database.GetItem("/sitecore/content/YouPath"); using (new Sitecore.SecurityModel.SecurityDisabler()) { itemToHack.Editing.BeginEdit(); ...
Mark Cassidy's user avatar
  • 25.3k
5 votes

how to sync the bucketed item programatically in sitecore

There are multiple options for this based on your requirement. if you want to simply do it in the Sitecore you can use Item save event but if you want it in outside the sitecore client then you need ...
Mahendra Shekhawat's user avatar
4 votes
Accepted

Why is Sitecore including the bucket parent in the search result by default

We're definitely in the grey zone here; as not very many people can speculate on the reasoning that took place while this functionality was designed. That said; the simpler the explanation the more ...
Mark Cassidy's user avatar
  • 25.3k
4 votes

How to get all the items from a bucket

To add to Patricks answer, you can also instantiate a search context using the root bucket item: given Item bucketItem IIndexable index = new SitecoreIndexableItem(bucketItem); using (var context = ...
Nathan Hase's user avatar
4 votes
Accepted

How to get all the items from a bucket

The best way would be to leverage the Sitecore.ContentSearch APIs to search for all items public List<T> GetAllItemsFromBucket(string bucketPath) { var index = ContentSearchManager.GetIndex(...
Patrick Barron's user avatar
4 votes
Accepted

Bucketing rule is not working

If you have SXA the Item Buckets Settings from /sitecore/system/Settings/Buckets/Item Buckets Settings won't be taken into consideration as SXA has its own provider for the buckets. You can find it ...
Cristi Vulturar's user avatar
4 votes
Accepted

Moving Item from a Bucket into another Bucket doesn't keep the item into Bucket structure

You need to click on the sync button, then it will automatically move into the Bucketable structure. Make sure to click on parent folder and then click on the sync button, in your case click on the ...
Gaurav Agarwal's user avatar
3 votes

How to change the Sitecore bucktable folder structure based on the months

Unfortunately, there is no native way to sort the folders into sequential order unless you change the month folders to be digits, I.e. Change "January", "February"... to "01", "02"... The reality is ...
Zachary Kniebel's user avatar
3 votes
Accepted

How to programmatically publish a bucketable items in sitecore?

Instead of publishing the specific item, i published the Item bucket with smart publish option.Now the bucket folders and the item are getting published to target database. Not sure this is the best ...
Dheeraj p's user avatar
  • 699
3 votes

Sitecore branch with a saved search, how do I change the location dynamically when the branch is created

I don't know much about bucket location filters, but it looks to be a field on the bucket item. Where you want to start is with the addFromTemplate pipeline. This is the pipeline that is called when ...
Chris Auer's user avatar
  • 13.1k
3 votes
Accepted

Editing bucketed items with multiple versions in the content editor

Alhough the information from Chris was very useful - and the issue is a registered bug now - I do want to share the workaround that we found. In the Sitecore content editor, as an admin locate the /...
Gatogordo's user avatar
  • 20.1k
3 votes

Finding siblings in buckets

That is not how Sitecore buckets works. See the Sitecore documentation here: When you store items in an item bucket, the parent-to-child relationship between the items is removed, and instead the ...
Marek Musielak's user avatar
  • 23.8k
3 votes

ReadSitecoreItemsStepProcessor and Buckets

I encountered this issue and ended up creating my own custom step (inheriting from the original) to solve it: Create a new pipeline step template I called it Resolve Sitecore Item with Bucket ...
Dan Sinclair's user avatar
  • 5,395
3 votes
Accepted

Structure Issue after copying bucket items from one instance to another instance

I see three options. 1. Sync your bucket again Navigate to your bucket root Click Sync button in CONFIGURE section If the first step will not work you have to check if both instances have the same ...
Alan Płócieniak's user avatar
3 votes
Accepted

Bucket as DataSource throws NullReferenceException

I can confirm that it's an issue in SXA. I've registered this in our backlog and it will be fixed in 1.8 release. Workaround might be hard to implement for you. It would require to override Sitecore....
Dawid Rutkowski's user avatar
3 votes
Accepted

Sitecore Bucket Manager in Sitecore 9.1

Sitecore.Buckets.Manager is present Sitecore.Buckets.dll assembly in Sitecore 9.1. You don't need to do any changes in your code. Just, reference right assembly. Sitecore 9.1 requires .net 4.7.1. ...
Anton's user avatar
  • 3,831
3 votes
Accepted

Enable view buckets by default?

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 ...
Mahendra Shekhawat's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible