Is Empty & Is Not Empty Filtering
Posted: Tue Dec 29, 2009 3:08 pm
"Is Empty" and "Is Not Empty" test conditions are not available for Category, Pop-up List, and Yes/No attribute types. I don't see why not.
In a topic with several custom attributes, not all documents can use all attributes. Some attributes, including Category, Pop-up List and and Yes/No, will be empty for some documents. Sometimes I need to be able to test if they are empty or not.
I use "category" type for most of my custom attributes because it allows multiple selections which fits well with the fact that a document may belong to multiple categories. I also use "pop-up list" where only one selection should be allowed. However, they have only two test conditions - "Is" and "Is Not." To enable full filtering with these attributes "Is Empty" and "Is Not Empty" should also be added.
In a topic with several custom attributes, not all documents can use all attributes. Some attributes, including Category, Pop-up List and and Yes/No, will be empty for some documents. Sometimes I need to be able to test if they are empty or not.
I use "category" type for most of my custom attributes because it allows multiple selections which fits well with the fact that a document may belong to multiple categories. I also use "pop-up list" where only one selection should be allowed. However, they have only two test conditions - "Is" and "Is Not." To enable full filtering with these attributes "Is Empty" and "Is Not Empty" should also be added.