The multi-part identifier cmscontenttype alias could not be bound
Hi all.
Using Umbraco 8.1.0
I am trying to GetPagedChildren from IContentService with a IQuery
The multi-part identifier cmscontenttype alias could not be bound.
var filterQuery = Query<IContent>().Where(x => x.ContentType.Alias == "folderAlias");
var folder = _contentService.GetPagedChildren(1025, 1, 100, out long totalChildren, filterQuery).FirstOrDefault();
I build my service this way and added it to the composer.
The multi-part identifier cmscontenttype alias could not be bound
Hi all.
Using Umbraco 8.1.0
I am trying to GetPagedChildren from IContentService with a IQuery
The multi-part identifier cmscontenttype alias could not be bound.
I build my service this way and added it to the composer.
I have also tried this way, but it do not return anything.
What do i do wrong?
Did you find a solution to this?
Currently getting the same error when trying to extend the backoffice contentResource API.
I have the same issue.
I found out that IContentService with a IQuery is very limited. So that aint an option to use like this.
How ever i got the GetPagedChildren to work if i change 1 to 0.
like this.
Way late to the party but maybe this helps someone else. This works:
is working on a reply...