<?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: Create sharing link after file upload in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447007#M23294</link>
    <description>&lt;P&gt;The calls in the JavaScript SDK are asynchronous as you mentioned, so if you have additional operation(s) to perform that depend on the result of an earlier call, you should only perform the additional operation(s) once the necessary earlier ones have completed. You can do so by only triggering the later operations once you get the response back from the earlier one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the&amp;nbsp;Dropbox JavaScript SDK, you can run code from inside the response function for an API call. So, in &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html#L54" target="_self"&gt;this example&lt;/A&gt; for instance, that would mean you trigger the next API call from inside the "function(response)" set in the ".then", like how that example appends a message to an element on the page.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 18:29:04 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-08-20T18:29:04Z</dc:date>
    <item>
      <title>Create sharing link after file upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447003#M23293</link>
      <description>&lt;P&gt;I'm using the Javascript SDK, and code uploads some files, creating their parent folders, then creates a sharing link of one of the parent folders. But because javascript is asyncronous, the files haven't been uploaded, hence creating the folder, so creating the sharing link returns a path not found error. How can I get around this problem?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 05:59:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447003#M23293</guid>
      <dc:creator>Beatso</dc:creator>
      <dc:date>2020-08-21T05:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create sharing link after file upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447007#M23294</link>
      <description>&lt;P&gt;The calls in the JavaScript SDK are asynchronous as you mentioned, so if you have additional operation(s) to perform that depend on the result of an earlier call, you should only perform the additional operation(s) once the necessary earlier ones have completed. You can do so by only triggering the later operations once you get the response back from the earlier one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the&amp;nbsp;Dropbox JavaScript SDK, you can run code from inside the response function for an API call. So, in &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/upload/index.html#L54" target="_self"&gt;this example&lt;/A&gt; for instance, that would mean you trigger the next API call from inside the "function(response)" set in the ".then", like how that example appends a message to an element on the page.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 18:29:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447007#M23294</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-08-20T18:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create sharing link after file upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447009#M23295</link>
      <description>&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 18:36:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-sharing-link-after-file-upload/m-p/447009#M23295</guid>
      <dc:creator>Beatso</dc:creator>
      <dc:date>2020-08-20T18:36:35Z</dc:date>
    </item>
  </channel>
</rss>

