Answers for "don't want to update revision while updating field by code in sitecore c#"

C#
0

don't want to update revision while updating field by code in sitecore c#

bool silent = true;
bool updateStatistics = false;

using (SecurityDisabler disabler = new SecurityDisabler())
{
    using (new EditContext(item, updateStatistics, silent))
    {
        item["ShortHeadline"] = item["Title"];    
    }
}
Posted by: Guest on July-06-2020

Code answers related to "don't want to update revision while updating field by code in sitecore c#"

C# Answers by Framework

Browse Popular Code Answers by Language