Filter Builder and Query Builder field dropdown list
How do I remove Shape_Area and other administrative fields like editor tracking from these controls? Where do I need to hide these or change their alias? It seems like the field list comes directly from the REST endpoint.
-
Any info on this since you posted? I was trying to find same thing, Thanks!
1 -
I did not find a solution. I just went a different route, not offering the Builders.
0 -
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.
Comments
3 comments