Select to view content in your preferred language

Difficulty Filtering Deprecated Items in ArcGIS Portal Query

217
1
04-04-2024 01:01 PM
GregoryAnderson
New Contributor

I'm currently developing a React application that interacts with an ArcGIS Portal. I'm attempting to filter out deprecated items from my query results using the contentStatus parameter or other means, but I'm encountering difficulties. Despite including -contentStatus:"deprecated" in my query, deprecated items are still being returned in the results.

I've reviewed the ArcGIS Portal documentation and tried various approaches, but none seem to work as expected. Can anyone provide guidance on the correct way to filter deprecated items from ArcGIS Portal queries? Are there alternative methods or parameters that I should be using?
I appreciate any insights or suggestions you can provide. Thank you!

0 Kudos
1 Reply
AndreV
by
Occasional Contributor

Hi,

I recently had similar issues when querying our Portal. I watched the network tab in devtools, when applying the filter in the Portal ui, what gave me the correct syntax the Portal and agol use the SDK too. Maybe this could Help you.

gdi-hohenlohekreis.de
0 Kudos