<?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 Re: Dropbox Chooser in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152589#M5090</link>
    <description>&lt;P&gt;When the user finishes using the Chooser, your success callback method should be called. Is it getting called for you? If so, what does the files variable contain?&lt;/P&gt;
&lt;P&gt;In either case, adding something like console.log(files) in the success callback may be a good first step in debugging this.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 07:07:21 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-03-02T07:07:21Z</dc:date>
    <item>
      <title>Dropbox Chooser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152588#M5089</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a bit new to this and am having difficult getting the dropbox chooser to work. Here is what is being inputted into the html:&lt;/P&gt;
&lt;P&gt;&amp;lt;!doctype html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;script type="text/javascript"src="&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/static/api/2/dropins.js&lt;/A&gt;" id="dropboxjs" data-app-key="xxxxxx"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="container"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;a id="link"&amp;gt;&amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; var button = Dropbox.createChooseButton({&lt;BR /&gt; success: function(files) {&lt;BR /&gt; var linkTag = document.getElementById('link');&lt;BR /&gt; linkTag.href = files[0].link;&lt;BR /&gt; linkTag.textContent = files[0].link;&lt;BR /&gt; },&lt;BR /&gt; linkType: 'preview',&lt;BR /&gt; multiselect: true&lt;BR /&gt; });&lt;BR /&gt; document.getElementById('container').appendChild(button);&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;P&gt;Everything works except it is not returning a preview link for one or multiple pictures I have selected.&amp;nbsp;The only thing that happens is a green check mark appears. Would any happen to know how to get the preview links to appear? Thank you for taking the time to respond.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152588#M5089</guid>
      <dc:creator>ADMIN H.</dc:creator>
      <dc:date>2019-05-29T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Chooser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152589#M5090</link>
      <description>&lt;P&gt;When the user finishes using the Chooser, your success callback method should be called. Is it getting called for you? If so, what does the files variable contain?&lt;/P&gt;
&lt;P&gt;In either case, adding something like console.log(files) in the success callback may be a good first step in debugging this.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 07:07:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152589#M5090</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-02T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Chooser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152590#M5091</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;
&lt;P&gt;Thank you for the assistance, it is appreciated.&lt;/P&gt;
&lt;P&gt;I tried using the example provided by your dropbox chooser help and used:&lt;/P&gt;
&lt;P&gt;success: function(files) {&lt;BR /&gt; alert("Here's the file link: " + files[0].link)&lt;/P&gt;
&lt;P&gt;A pop up appears and appears to display the first link of the chosen picture. However, it does not list the rest and it cannot be copied. I'm attempting to recreate the table provided in your help section when selecting "preview link" and selecting multiple pictures. It outputs all the links as text so that it&amp;nbsp;can be copied if needed be. Thank you again for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:31:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152590#M5091</guid>
      <dc:creator>ADMIN H.</dc:creator>
      <dc:date>2016-03-02T08:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Chooser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152591#M5092</link>
      <description>&lt;P&gt;This is different from the code in your first post, but in both cases you're just using the first element in the files array (that is, files[0]).&lt;/P&gt;
&lt;P&gt;To access all of the files, iterate through the files array.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:36:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Chooser/m-p/152591#M5092</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-02T08:36:37Z</dc:date>
    </item>
  </channel>
</rss>

