An "anti" item portal content filter

210
4
03-21-2024 12:28 PM
Status: Open
SteveCole
Frequent Contributor

Filters in Portal (and AGOL) are based on the presence of a specified type but it could also be useful if we had the option to exclude certain types of content. For example, let's say I want to browse my organization's content for new apps/maps that others may have created. When I view my organization's content, I get a list of several dozen hosted feature layers that have been updated/overwritten because we've chosen to place a copy of each dataset  into our Portal hosted features (they're updated weekly, if perhaps even nightly).

If I was able to exclude a layer type item, that would reduce the unwanted noise I see when I'm browsing content. This could be implemented perhaps as a toggled list where every item type is enabled by default and then the user can toggle off the item types they are not interested in.

4 Comments
jcarlson

As usual, the search box has a lot more it can do than the filters in the side panel. Try -type:Something to get this.

jcarlson_0-1711054771098.png

jcarlson_1-1711054844795.png

 

SteveCole

Thanks.  -type:something is still an inclusive filter (just like clicking on an item type in the side bar) rather than excluding. I'm not having much luck filtering FOR items using this method, TBH.

jcarlson

@SteveColeno no, including a "-" at the front negates the search term that follows. In the photos I posted, the unfiltered list had a form and a feature layer at the top. When I applied the search filters with negation, the form and feature layers are excluded from the results.

SteveCole

Ah, I interpreted the minus symbol to be an identifier to the Portal search engine that there was a parameter that followed after it, not that it was designation to exclude anything.