# In one same filter, hide Enumeration Entries of a property based on another property value

**URL:** https://discourse.paraview.org/t/in-one-same-filter-hide-enumeration-entries-of-a-property-based-on-another-property-value/6409
**Category:** Development
**Created:** [February 7, 2021, 5:07am UTC](https://discourse.paraview.org/t/in-one-same-filter-hide-enumeration-entries-of-a-property-based-on-another-property-value/6409 "2021-02-07T05:07:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![HollowSun0](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hollowsun0/32/431_2.png) [@HollowSun0](https://discourse.paraview.org/u/HollowSun0)
#### Post date: [February 7, 2021, 5:07am UTC](https://discourse.paraview.org/t/in-one-same-filter-hide-enumeration-entries-of-a-property-based-on-another-property-value/6409/1 "2021-02-07T05:07:19Z")

</div>

Hi there!

I’ve been searching for a way to hide an entry in an enumeration domain of property **A** when property **B** is false, for example.

Is there any way to do this using pure xml?

Thank you!

Patrick Laurin

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 8, 2021, 9:37am UTC](https://discourse.paraview.org/t/in-one-same-filter-hide-enumeration-entries-of-a-property-based-on-another-property-value/6409/2 "2021-02-08T09:37:43Z")

</div>

Not doable with XML only. You need to use a StringListDomain and an associated information property that will query the available string server side.

There is a few example in the Example Plugins of ParaView.
