<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java API search not including PropertyGroups in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/463199#M23719</link>
    <description>&lt;P&gt;Hello, I'm trying to use the Java API to search for files and to leverage PropertyFields as custom "tagged info" on each file. I've noticed that the search results don't include any PropertyGroups (well an empty collection is returned, which is different to not being included at all and quite confusing). Currently the only way for me to search for files and also display their custom PropertyFields is to do a search, and then for each result specifically download the metadata again including the PropertyGroups. This double handling seems very excessive and is slow, is there any better way to achieve what I'm doing? Can the search be configured to include PropertyGroups?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 03:13:57 GMT</pubDate>
    <dc:creator>tartarian</dc:creator>
    <dc:date>2020-10-21T03:13:57Z</dc:date>
    <item>
      <title>Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/463199#M23719</link>
      <description>&lt;P&gt;Hello, I'm trying to use the Java API to search for files and to leverage PropertyFields as custom "tagged info" on each file. I've noticed that the search results don't include any PropertyGroups (well an empty collection is returned, which is different to not being included at all and quite confusing). Currently the only way for me to search for files and also display their custom PropertyFields is to do a search, and then for each result specifically download the metadata again including the PropertyGroups. This double handling seems very excessive and is slow, is there any better way to achieve what I'm doing? Can the search be configured to include PropertyGroups?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 03:13:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/463199#M23719</guid>
      <dc:creator>tartarian</dc:creator>
      <dc:date>2020-10-21T03:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/463424#M23723</link>
      <description>&lt;P&gt;No, unfortunately&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#searchV2-java.lang.String-" target="_self"&gt;searchV2&lt;/A&gt; doesn't offer a way to include file properties in the results like this,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/fileproperties/DbxUserFilePropertiesRequests.html#propertiesSearch-java.util.List-" target="_self"&gt;propertiesSearch&lt;/A&gt; method, if that helps for your use case, but note that only allows you to directly search for files with a specific file property value, and not, say, a filename like you can with the normal search functionality.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:07:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/463424#M23723</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-21T16:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464554#M23745</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Is it only the Java implementation that doesn't include property groups or is it the same for all APIs? I noticed that the HTTP API shows an example result that includes the property_groups but it sounds like that might just be a mistake.&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-search&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 07:30:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464554#M23745</guid>
      <dc:creator>tartarian</dc:creator>
      <dc:date>2020-10-26T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464731#M23755</link>
      <description>&lt;P&gt;The Java SDK (and the rest of the SDKs) all use the same HTTP API. The example in the documentation for the HTTP API itself is incorrect in this case. (The documentation sometimes re-uses example objects across endpoints, which in this case is wrong because the example happens to include 'property_groups', though the search endpoint itself doesn't actually have an option to include that in reality.) I'll ask the team to fix that up in the documentation. Thanks for pointing that out!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 15:15:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464731#M23755</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-26T15:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464933#M23762</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Thanks for the help, I've got one more question. With the propertiesSearch method, I see it looks for specific file property values with the PropertySearchQuery but it also requires a PropertySearchMode, which itself requires the field name. So I need both the name/value pair to search. Considering that a PropertyGroup cannot contain more than 1 item with the same name, and because it's not a wildcard search meaning one long delimited string as the value isn't possible, I can't see a way to make multiple metadata tags useable and searchable. Does this sound right, is there anything I'm missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: what I can see is that the propertiesSearch can take a list of PropertiesSearchQuery's, should I be creating say 5 queries for 5 different named fields, always search all 5 and then limit the maximum number of tags on the front end to 5 as well? As far as I understand the current design means a template needs to be created for every single tag, is that correct?&lt;BR /&gt;&lt;BR /&gt;Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 04:11:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/464933#M23762</guid>
      <dc:creator>tartarian</dc:creator>
      <dc:date>2020-10-27T04:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Java API search not including PropertyGroups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/465069#M23763</link>
      <description>&lt;P&gt;Yes, it sounds like you have this all correct,&amp;nbsp;except that, if I understand your use case correctly, you shouldn't have to create multiple templates. A single template can have multiple fields, so you could create the, for instance, 5 different tag fields, like you mentioned, but on the same template.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 15:27:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-search-not-including-PropertyGroups/m-p/465069#M23763</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-27T15:27:26Z</dc:date>
    </item>
  </channel>
</rss>

