Posts

Showing posts from October, 2024

Sitecore Bulk Upload from the item itself - HTTP/2 error Resolution

Image
We need to allow bulk image uploads directly from the Sitecore item rather than requiring users to navigate to the media library to upload images one by one or as a zip file. This feature enables the content author to be productive without going to the media library to upload images. The image upload functionality works well when the content author uploads one or two images simultaneously, even when using a zip file. However, when attempting to upload a larger number of images, we encounter the following error 13380 09:38:06 ERROR Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Exception: System.ArgumentOutOfRangeException Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Source: mscorlib at System.Collections.ArrayList.get_Item(Int32 index) at System.Web.HttpFileCollection.Get(Int32 index) at System.Web.HttpFileCollectionWrapper.get_Item(Int32 index) at Site

Publishing Restriction for Sitecore Items when using Publishing Service

Image
In Sitecore, we will have different workflows and roles provided for authoring and publishing content, but not every project will follow the workflow approach. This will be easy at the time of development, but later, maintaining the content will be very difficult, as anyone with access can publish the content without needing approval. But if we don't create workflows but only provide roles to the content authors, then it is important to provide only the necessary content authoring and publishing permissions to the content author. Let us consider a scenario in which Sitecore has a news article item that is a bucket-able parent and has child bucket items. Anyone who has access to this news item can publish it along with its descendants. The problem is when multiple content authors do content authoring for different news articles which are not supposed to be published unless it is properly reviewed, but if any of the content authors publish the root parent News items along with its de