2

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.

4

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

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

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, privacy policy and cookie policy

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