I am using Sitecore 9.2 XP
and Unicorn
for serialization.
When a new Base template is created, name of the yml file created by Unicorn is too short compared to original Base Template name.
I tried increasing the value from default 30 to 50 in setting Serialization.MaxItemNameLengthBeforeTruncation
in config file Sitecore.Serialization.config
under folder {YourProject Webroot}\App_Config\Sitecore\CMS.Core
as shown below but it is not working :
<!-- MAX ITEM NAME LENGTH BEFORE TRUNCATION
NOTE: This setting is only required when the 'Serialization.SerializationType' setting is set to YAML.
Sitecore item names can become so long that they cannot fit on the filesystem without hitting the max path length.
This setting controls when to truncate item file names that are extremely long so they fit in the filesystem.
The value must be less than MAX_PATH - SerializationFolderPathMaxLength - Length of GUID - length of file extension.
Default value: 30
-->
<setting name="Serialization.MaxItemNameLengthBeforeTruncation" value="50" />
How to fix this?
Actual Folder Name in Sitecore shown below :
And Yml file created by Unicorn is shown below :