More in this section

Forums / Developing with Sitefinity / Trouble using custom classification in FilterExpression on a custom module

Trouble using custom classification in FilterExpression on a custom module

2 posts, 0 answered
  1. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    02 Aug 2012
    Link to this post
    I have created a custom classification called Advertising.  

    Classification: Advertising
    Single Item Name: Column

    I add a field to this new classification called "Left Column".

    I then created a module that uses this custom classification via the module builder.  I drop the new module widget onto a page and then edit and click advanced to navigate my way to the FilterExpression.

    These are the expressions I have used and I either get a blank page or an error of object not an instance....

    What am I missing here?

    Visible = true AND Status = Live AND Advertising.Contains("{60D6992A-7277-4E04-806F-66B680D089BB}")

    That GUID is from the taxa table for Left Column.


  2. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    02 Aug 2012
    Link to this post
    Alright, I was grabbing the taxonID when I really needed the record id from that taxa table.

    It is working now.
2 posts, 0 answered