title: adobe-dc-view dynamic URL
body: <p>I want to get the file from the code behind in c# with adobe dc view ,
  and i don't know how to do it , and i don't find examples on internet.</p>
  <p>If anyone can help , here is The code</p>
  <pre><code>&lt;asp:Content ID=&quot;Content1&quot; ContentPlaceHolderID=&quot;head&quot; runat=&quot;server&quot;&gt;  
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;Generator&quot; content=&quot;EditPlus®&quot;&gt;
    &lt;meta name=&quot;Author&quot; content=&quot;&quot;&gt;
    &lt;meta name=&quot;Keywords&quot; content=&quot;&quot;&gt;
    &lt;meta name=&quot;Description&quot; content=&quot;&quot;&gt;
    &lt;title&gt;Document&lt;/title&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;ContentPlaceHolder1&quot; runat=&quot;server&quot;&gt;
  &lt;div id=&quot;adobe-dc-view&quot;&gt;&lt;/div&gt;
  &lt;script src=&quot;https://documentcloud.adobe.com/view-sdk/main.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
      document.addEventListener(&quot;adobe_dc_view_sdk.ready&quot;, function () {
          var adobeDCView = new AdobeDC.View({ clientId: &quot;xxxxxxxxxx&quot;, divId: &quot;adobe-dc-view&quot; });
          adobeDCView.previewFile({
              content: { location: { url: &quot;myfile.pdf&quot; } },
              metaData: { fileName: &quot;myfile.pdf&quot; }
          }, {
  showAnnotationTools: false, showLeftHandPanel: false, showDownloadPDF: false,showPrintPDF: false });
      });
  &lt;/script&gt;
  &lt;/asp:Content&gt;
  </code></pre>