Skip to Content

Set a Filter on SearchTask

Hi All,

I have a single non-reference attribute with some status values such as PENDING, APPROVED and REJECTED.

This attribute is assigned to an Entry Type SearchTask, what I want to achieve is that when a user searches this entry type only requests that are for example PENDING are displayed.

Any clues If this is possible or not?

I tried to set this up in tab assignment when creating the attribute but I think because it's not an entry reference the filter disappeared.

Thanks very much.

Regards,

Ridouan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 26, 2013 at 01:21 PM

    Hello Ridouan,

    I'm not sure, I understood completly (and correctly), what you want to do, but if it's what I think you want to achieve:

    If you open the properties of the attribute (directly in the MMC or when it's assigned to a UI mask, where I use this mostly), you'll find the tab "Attribute values". There you can create a simple SQL query (second input field) by which you can filter the values that will be shown for this attribute.

    This could look like this:

    select mskey from idmv_value_basic where attrname = 'YOURATTRIBUTE' and searchvalue = 'PENDING'

    and mskey in (select mskey from idmv_value_basic where attrname = 'MX_ENTRYTYPE' and searchvalue  like 'SearchTask')

    Now only entries with the value "Pending" would be available. But like I said, I'm not sure, I got what you mean. 😉

    Maybe with some screenhots... everybody loves screenshots. ^^

    Regards,

    Steffi.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 01, 2013 at 01:17 PM

    Ridouan,

    If you want to supply a default value for the search task,I don't believe that you can do this via the standard UI, however you probably can do this via the HTML 5 UI.

    One of the many reasons I'm looking forward to learning about this new functionality at TechEd.

    Matt

    Add comment
    10|10000 characters needed characters exceeded