i am trying to write 1 event system code for ecl items. i am facing error to use following method SessionFactory.CreateEclSession(subject.Session)

following is the compiler error shown in visual studio: enter image description here

following are the potential fixes suggested by VS but none suits my purpose: enter image description here

any suggestion or guidance will be helpful.

2 Answers 2


You need to have following dlls in your project references in order to have ECL session.

  • Tridion.ExternalContentLibrary.dll it has the session factory. thanks for your help. Jul 6, 2021 at 12:16

It is in Tridion.ExternalContentLibrary.V2 dll.

namespace Tridion.ExternalContentLibrary.V2
    public static class SessionFactory
        public static IEclSession CreateEclSession(Session tcmSession);
        public static IEclSession CreateEclSession(string username);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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