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 ...
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 ^({[^}]...
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
<...
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 ...
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 ...
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" ...>
....
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="...
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> ...
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 ...
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.
...
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....
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 ...
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.
...
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();
...
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 ...
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 = ...
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(...
4
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 /...
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 ...
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 ...
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 ...
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....
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. ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
buckets × 71content-editor × 9
sxa × 8
content-search × 7
solr × 2
sitecore-client × 2
jss × 2
sitecore-api × 2
publishing × 2
pipelines × 2
templates × 2
sitecore-query × 2
search-facet × 2
link-manager × 2
experience-editor × 1
powershell-extensions × 1
wffm × 1
sitecore-forms × 1
media-library × 1
security × 1
upgrade × 1
multilingual × 1
lucene × 1
best-practices × 1
powershell × 1