1

In Sitecore 7.2 I was setting the content editor context language in code:

public class DefaultLanguageContentEditorForm : Sitecore.Shell.Applications.ContentManager.ContentEditorForm
{
    protected override void OnLoad(EventArgs e)
    {
        ContentEditorDataContext.Language = Sitecore.Data.Managers.LanguageManager.DefaultLanguage;
        base.OnLoad(e);
    }
}

In 8.2, stuff has moved. Where is Sitecore.Shell.Applications.ContentManager.ContentEditorForm? Can I even access it this way anymore?

4

The ContentEditorForm is still located in Sitecore.Shell.Applications.ContentManager in the latest version of Sitecore.

Make sure you have referenced the Sitecore.Client assembly correctly:

enter image description here

2
  • Is there a way I can search for stuff like that online? Or am I stuck with DotPeek-ing into multiple DLLs? – Ethan Schofer Jun 26 '17 at 21:22
  • 3
    dotPeek is a Sitecore devs best friend :) Also you don't need to do 1 assembly at a time, you can add an entire bin folder in and then hit ctrl-t to find a class. – Richard Seal Jun 26 '17 at 21:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.