Skip to main content

Filter Builder and Query Builder field dropdown list

Comments

3 comments

  • Liza Markey

    Any info on this since you posted? I was trying to find same thing, Thanks!

    1
  • Jamie Petersen

    I did not find a solution.  I just went a different route, not offering the Builders.

    0
  • Zack Robison

    I figured out a workaround, but it may need some tuning with future releases of VSW.  I made a Workflow with an Inject CSS activity which targets those options in those dropdown lists and hides them.

    .gcx-query-builder   [data-test="basic-query-builder-box"]  select[aria-label="Field"] > option[value="Shape_Area"],
    .gcx-filter-builder  [data-test="basic-query-builder-box"]  select[aria-label="Field"] > option[value="Shape_Area"]
    {
       display: none;
    }

    This hides one field in both the Query and Filter Builders.  It will however hide that field for all layers, so be aware.  I'm pretty sure you can make your CSS more specific if you wanted to only hide a given field for a specific layer, but I didn't need to write that.  Maybe next time (but hopefully not),

    2

Please sign in to leave a comment.