New answers tagged

4

I found what I was doing wrong. When returning the IEntityPaginatedList, I need to make sure to include a value for TotalCount. Here's what I am now returning. IEntityPaginatedList list = new EntityPaginatedList { StartIndex = 0, PageIndex = paginationData.PageIndex, PageSize = config.pageSize, Entities ...


2

I can think of a few options: Enumerate items through the folder structure. The same item might show up in multiple folders, but you can just filter out duplicates. This will work with any provider, but will be slow. But then - anything getting huge lists will be slow. Do a wild card search giving all items, then paginate through the results (provider needs ...


4

You need to have following dlls in your project references in order to have ECL session. Tridion.ExternalContentLibrary.dll Tridion.ExternalContentLibrary.V2.dll


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); } }


Top 50 recent answers are included