ControlledJss Setup Forsitecore
ControlledJss Setup Forsitecore
This document aims to list down Hotfixes and customizations done on Sitecore
## Hotfixes
| 441621 | If a request to the Items controller is too long, the IncrementNodeCount method throws
an exception. | Sitecore.Services.EnableQuery.MaxNodeCount Setting to 100 in
Sitecore.Services.Client.Config<br/> Sitecore.Client.dll<br/> Sitecore.Content.Services.dll<br/>
Sitecore.Kernel.dll<br/> Sitecore Services.Client.dll<br/> Sitecore.Services.Core.dll<br/>
Sitecore.Services.Infrastructure.dll<br/> Sitecore.Services.Infrastructure.Sitecore.dll| [Sitecore
10.0.2](https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/100/Sitecore
%20Experience%20Platform%20100%20Update2/Release%20Notes) |
## Customizations
This section mostly tries to address customizations done on top of Sitecore. Mostly the configs that
are patched with patch:instead and some other things
### Redirects
**Purpose:** To support old url's so that referenced/bookmarked url's won't be broken <br/>
**Changes:**
**Purpose:** For the cache to vary by membership and vary by context item <br/>
**Changes:**
- By default sitecore vars cache of rendering by Data, Device, Login, Parameters, QueryString and
User. A custom pipeline processor is created and replaced default processor in mvc.renderRendering
pipeline.
- This processor checks if the rendering have var by membership or vary by context item is enabled,
if enabled then it generates custom cache key.
### Cloudinary
### Dianoga
**Purpose:** To speed up the experience editor load since we are not using dictionary during SSR
<br/>
**Changes:**
**Changes:**
**Changes:**
**Changes:**
**Purpose:** Switch to default site instead of one matched by domain in experience editor <br/>
**Changes:**
**Purpose:** Publishing targets preselected in publish dialog so that the regions can become out of
sync <br/>
**Changes:**
**Changes:**
**Changes:**
- Disabled in YourProject.Foundation.Security.config
- By default sitecore resolves username with some random provider key for login through external
provider. Replaced it with custom resolver which checks user by email name resolves by adding a
Configurator in YourProject.Foundation.SSO.config
- If user resolver doesn't resolve any user, sitecore creates a user with random guid. Replaced it to
return anonymous user with OktaUserBuilder in YourProject.Foundation.SSO.config
**Changes:**
**Changes:**
**Purpose:** To enable CloudSwitchOnRebuild which eliminates search being down during rebuild
<br/>
**Changes:**
**Changes:**
**Changes:**
**Purpose:** To show alert to delete child components when tries to delete a component without
deleting children components <br/>
**Changes:**
**Purpose:** To reomove unwanted p tag into empty multi-line text control <br/>
**Ticket:** https://YourProjectdev.atlassian.net/browse/DOTCOM-3564 <br/>
**Changes:**
**Purpose:** To fix components being set inadvertently to A/B test mode <br/>
**Changes:**
**Purpose:** To make a new tool AdvancedInsertLink available in Rich text editor toolbar <br/>
**Changes:**
**Changes:**
**Changes:**
**Changes:**
- This issue actually fixed in 10.0.1. So applied following changes by copying from 10.0.1 image
- Modified Dockerfile for xconnect and cm to copy these scripts to image and replace existing