This update requires you to make changes to the following files:
- /App_Config/Commands.config
- /App_Config/MimeTypes.config
- /App_Config/Include/Sitecore.Buckets.config
- /App_Config/Include/Sitecore.Analytics.config
Some small changes (whitespaces, quotes, apostrophes) were fixed in the following files:
- Sitecore.ContentSearch.config
- Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
- Sitecore.Speak.config
- Sitecore.WebDAV.config
Depending on the database you are using, you should also update the appropriate files:
Sitecore solution configured to use MS SQL Server:
- /Web.config
Sitecore solution configured to use Oracle:
- /Web.config.Oracle
The following configuration files have been added.
If you use the Lucene search provider:
- /App_Config/Include/Sitecore.Speak.ContentSearch.Lucene.config
If you use the Solr search provider:
- /App_Config/Include/Sitecore.Speak.ContentSearch.Solr.config
You can download the clean configuration files for Sitecore CMS and DMS 7.2 rev. 160123:
- Web.config
- Web.config.Oracle
- Commands.config
- MimeTypes.config
- app_config_include_files_72rev160123.zip
Configuration file changes
The following changes have been made to the configuration files in Sitecore CMS 7.2 rev. 160123 (Update-6) compared to the configuration files in /App_Config/Commands.config file of Sitecore CMS 7.2 rev. 151021 (Service Pack 2).
Changes in Commands.config
- In the <configuration> section, add the following node (you can place it anywhere in the section):
Changes in MimeTypes.config
- Remove or comment out the <mediaType> node:
Changes in Sitecore.Buckets.config
- In the <commands> section, add the following node (you can place it anywhere in the section):
<patch:attribute name="type">Sitecore.Buckets.Pipelines.UI.AddMaster, Sitecore.Buckets</patch:attribute>
</command>
- In the <processors> section, add the following node (you can place it anywhere in the section):
<processor mode="on" type="Sitecore.Buckets.Pipelines.UI.AddFromTemplate.SelectItem" method="Execute" />
</uiAddFromTemplate>
Changes in Web.config
- In the <events> section, add the following nodes (you can place them anywhere in the section):
<event name="item:cloneAdded:remote"/>
- In the <customHandlers> section, add the following node (you can place it anywhere in the section):
- At the end of the <uiCloneItems> section, add the following node. Ensure that the new node is the last node in this section.
- In the <processors> section, add the following node (you can place it anywhere in the section):
<processor mode="on" type="Sitecore.Shell.Framework.Pipelines.RemoveLanguage,Sitecore.Kernel" method="Confirm"/>
<processor mode="on" type="Sitecore.Shell.Framework.Pipelines.RemoveLanguage,Sitecore.Kernel" method="CheckCloneItems"/>
<processor mode="on" type="Sitecore.Shell.Framework.Pipelines.RemoveLanguage,Sitecore.Kernel" method="Execute"/>
</uiRemoveLanguage>
- In the <sites><site name="service" … /> section, add the “usePreviousSiteName” attribute:
- In the <sites> section, add the following node between the sites called "service" and the sites called "modules_shell":
- In the <mediaTypes> section, add the following nodes (you can place them anywhere in the section):
<mimeType>text/html</mimeType>
<forceDownload>true</forceDownload>
<sharedTemplate>system/media/unversioned/file</sharedTemplate>
<versionedTemplate>system/media/versioned/file</versionedTemplate>
</mediaType>
<mediaType name="SVG image" extensions="svg">
<mimeType>image/svg+xml</mimeType>
<forceDownload>false</forceDownload>
<sharedTemplate>system/media/unversioned/image</sharedTemplate>
<versionedTemplate>system/media/versioned/image</versionedTemplate>
<mediaValidator type="Sitecore.Resources.Media.ImageValidator"/>
<thumbnails>
<generator type="Sitecore.Resources.Media.SvgThumbnailGenerator, Sitecore.Kernel"/>
</thumbnails>
<prototypes>
<media type="Sitecore.Resources.Media.SvgMedia, Sitecore.Kernel"/>
</prototypes>
</mediaType>
- In the <settings> section, add the following nodes (you can place them anywhere in the section):
Specifies whether the duplicate item names are allowed on the same level in the content tree.
Default value: true
-->
<setting name="AllowDuplicateItemNamesOnSameLevel" value="true"/>
<!-- CONTENT EDITOR - RENDER ITEM HELP AS HTML
Specifies whether help information defined in the Item Help section should be treated as an HTML markup.
If set to false, then the item help information will be encoded before it is rendered.
If set to true, then the item help information will be cleared of JavaScript code and then rendered as is.
Default value: false.
Please note: setting this value to true is unsafe, because it will then be possible to inject any HTML tags (like iframe) and CSS into Sitecore.
-->
<setting name="ContentEditor.RenderItemHelpAsHtml" value="false"/>
<!-- CONTENT EDITOR SORT LANGUAGES
Indicates whether the Content Editor show languages in the language selection dropdown
in the same order as /sitecore/system/Languages child items.
Default value: false
-->
<setting name="ContentEditor.SortLanguages" value="false"/>
<!-- ITEM CLONING - DELETE CLONES WITH ORIGINAL ITEM
Specifies whether item clones should be deleted when the original item is deleted.
If true, when the original item is deleted all its clones are deleted and not just uncloned.
Default value: false
-->
<setting name="ItemCloning.DeleteClonesWithOriginalItem" value="false"/>
<!-- ITEM CLONING - FORCE UPDATE - CHANGE TEMPLATE
Specify whether clones should be updated automatically when a different template is selected for the original item.
Note: If true, all the clones of the original item are updated automatically.
Default value: false
-->
<setting name="ItemCloning.ForceUpdate.ChangeTemplate" value="false"/>
<!-- ITEM CLONING - RELINK CLONED SUBTREE
Indicates that after cloning an item tree structure, all the internal links inside the cloned structure should be re-linked to point to the items in the cloned sub-tree.
When the setting value is false, the links in the cloned structure will still link to the items in the original structure.
Default value: false
-->
<setting name="ItemCloning.RelinkClonedSubtree" value="false"/>
- In the <handlers> section, between the "sitecore_icon.ashx" and "sitecore_feed.ashx" handlers, add the following node:
- In the <httpHandlers> section, between the "sitecore_icon.ashx" and the "sitecore_feed.ashx" handlers, add the following node:
Changes in Sitecore.Analytics.config
- In the description of the “ANALYTICS MAX QUEUE SIZE” setting, add the following note:
Analytics.Automation.BatchSize * Analytics.Automation.Threads < Analytics.MaxQueueSize
- Change the comment and the value for "Analytics.Automation.BatchSize" setting to the following:
Defines the number of records that should be processed in a batch.
Note: This value should be equal to 1-2% of the Analytics.MaxQueueSize value.
Default: 100
-->
<setting name="Analytics.Automation.BatchSize" value="100" />
- Change the description for “ANALYTICS AUTOMATION INTERVAL” setting to the following:
- In the description of the “ANALYTICS AUTOMATION LOCK EXPIRATION” setting, add the following note:
- In the description of the “ANALYTICS AUTOMATION THREADS” setting, add the following note:
- In the end of <httpRequestProcessed> section, add the following processor: