Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Harmen Kooiker 2 posts 72 karma points c-trib
    May 21, 2019 @ 07:36
    Harmen Kooiker

    ContentService GetPagedOfType query filter

    How to filter the query by a property value?

    I use the following code:

    IQuery<IContent> query = new Query<IContent>(scope.SqlContext)
                    .Where(w => !w.Trashed)
                    .Where(w => w.Properties[memberAlias].GetUdi().Equals(memberUdi));

    But then i get this message:

    Could not get the value with the key Properties from the property info cache, keys available: Id, Name, Key, VersionId, Trashed, Path, SortOrder, ParentId, CreateDate, UpdateDate, Level, ContentTypeId, CreatorId, Published

    It seems i can't use custom properties?

  • Ruben Meintema 9 posts 100 karma points
    Apr 21, 2020 @ 14:01
    Ruben Meintema

    Hi Harmen,

    Any luck yet in finding a solution to this issue?



  • Francis Benyah 35 posts 111 karma points
    May 24, 2020 @ 19:53
    Francis Benyah

    Hi Guys

    Any luck with this?

    Facing a similar option.


Please Sign in or register to post replies

Write your reply to: