While in a group page, you can select the item type to filter on (maps, apps, layers, etc...). Is it possible to to select multiple types for your filter? I'd like to be able to view Apps and Maps at the same time. I tried formatting the link to include 'focus=maps&focus=apps', but it just returns all items in the group.
Selecting the Maps filter formats the link like this:
[XX/home/group.html?id=65e50fc1fc9548d783cb95cbebfb724a&view=list&sortOrder=asc&sortField=title&focus=maps#content]
I tried this and it didn't work:
[XX/home/group.html?id=65e50fc1fc9548d783cb95cbebfb724a&view=list&sortOrder=asc&sortField=title&focus=maps&focus=apps#content]
Any help would be much appreciated!
-David
Solved! Go to Solution.
You can refer to the items and item types page in the REST docs and the search reference page as well.
Essentially, you need to use the filter parameter in your query. To do this from the AGOL search interface, simply enter the appropriate text in the search bar and the search tool will be able to recognize it.
building (type:"web map" OR form)
Searching for that brings me all web maps and forms that have "building" in the name or description somewhere.
Your attempt to modify the URL parameters was the right kind of thinking, but since this relies on the filter parameter, it works a little differently.
If you'd like to try an alternate method, you can always go to <domain>/<web-adaptor>/sharing/rest/search to test things out there.
You can refer to the items and item types page in the REST docs and the search reference page as well.
Essentially, you need to use the filter parameter in your query. To do this from the AGOL search interface, simply enter the appropriate text in the search bar and the search tool will be able to recognize it.
building (type:"web map" OR form)
Searching for that brings me all web maps and forms that have "building" in the name or description somewhere.
Your attempt to modify the URL parameters was the right kind of thinking, but since this relies on the filter parameter, it works a little differently.
If you'd like to try an alternate method, you can always go to <domain>/<web-adaptor>/sharing/rest/search to test things out there.
Ok thanks Josh! It's working by adding the search term to the tags of the items I want to come up, in this case "featured" : )
**Edit -- that sort of worked, except now I'm getting all items including layers, which I don't want to display. I ended up just categorizing the ones I wanted, and using that link after applying the category filter on my website to jump to the "See more apps" page.