# Scoped Search not available?

**URL:** <https://discourse.devontechnologies.com/t/scoped-search-not-available/51599>\
**Category:** DEVONthink To Go\
**Created:** [November 7, 2019, 8:14am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599 "2019-11-07T08:14:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![remclean](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@remclean](https://discourse.devontechnologies.com/u/remclean)\
**Post date:** [November 7, 2019, 8:14am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/1 "2019-11-07T08:14:53Z")

</div>

Hi, when I search in my DTTG app I expect a selection where I want to search (Group, Database…).

 ![PNG-Bild](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/9/99e480933af723003afce9535f4ac28e1deb6201.png)

---

<div class="post-metadata">

**Author:** ![eboehnisch](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/eboehnisch/32/38699_2.png) [@eboehnisch](https://discourse.devontechnologies.com/u/eboehnisch)\
**Post date:** [November 7, 2019, 8:43am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/2 "2019-11-07T08:43:33Z")

</div>

This scope is indeed available when you search from _within_ a database. From the main screen a scope like “In Database” wouldn’t make any sense.

However, DEVONthink To Go 2.7.4 has an issue on iOS 13.1 or later where no scope is visible at all in some circumstances. This will be fixed in 2.7.5.

---

<div class="post-metadata">

**Author:** ![remclean](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/r/5fc32e/32.png) [@remclean](https://discourse.devontechnologies.com/u/remclean)\
**Post date:** [November 7, 2019, 8:57am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/3 "2019-11-07T08:57:35Z")

</div>

o.k. then I’am looking forward to the new version. And yes, I search inside a Database.

---

<div class="post-metadata">

**Author:** ![theBrady](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@theBrady](https://discourse.devontechnologies.com/u/theBrady)\
**Post date:** [November 14, 2019, 9:33pm UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/4 "2019-11-14T21:33:33Z")

</div>

Isn’t search scope relevant on iOS when using URL schemes?

If I’m outside the app and I kick off something like: x-devonthink://search?query={imagine this url encoded name:“some file” scope:“some database”}

In this case I’d want the app to launch and search “some database” for the name “some file”. This works fine on the mac client, but on iOS it incorrectly treats the search scope as a search term.

Thoughts?

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [November 15, 2019, 12:50am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/5 "2019-11-15T00:50:21Z")

</div>

> This works fine on the mac client, but on iOS it incorrectly treats the search scope as a search term.

iOS ≠ macOS and the underlying technologies in DEVONthink and DEVONthink To Go are not the same.

> In this case I’d want the app to launch and search “some database” for the name “some file”

No, this will not work. As noted in the documentation…

`scope: The UUID of the database of group to search. Optional; if not set DEVONthink To Go searches all databases`

So you need to get the item link - via long-press on the database or group.

 ![IMG_0FF7355C2902-1](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/b/b6efdf2a9937223ae3579aedb2cb0d6ab1206e92.jpeg)

---

<div class="post-metadata">

**Author:** ![theBrady](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@theBrady](https://discourse.devontechnologies.com/u/theBrady)\
**Post date:** [November 15, 2019, 2:22am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/6 "2019-11-15T02:22:51Z")

</div>

Thanks, I did get it working. My primary issue was using Mac documentation to build out the iOS URL schemes. Just easier to browse on my computer and made the incorrect assumption scope was implemented the same way.

Appreciate the help.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [November 15, 2019, 2:24am UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/7 "2019-11-15T02:24:10Z")

</div>

You’re welcome 🙂

---

<div class="post-metadata">

**Author:** ![eboehnisch](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/eboehnisch/32/38699_2.png) [@eboehnisch](https://discourse.devontechnologies.com/u/eboehnisch)\
**Post date:** [November 16, 2019, 5:12pm UTC](https://discourse.devontechnologies.com/t/scoped-search-not-available/51599/8 "2019-11-16T17:12:29Z")

</div>

We have plans to make the search language similar to the one of DT3.
