Hi,<div><br></div><div>The render methods are meant to generate html. </div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt">
<div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br></span></font></div><div><div>renderContentOn: html</div><div><span style="white-space:pre-wrap">        </span>MyFileLibrary addAllFilesIn:
 &#39;./&#39;.</div><div><span style="white-space:pre-wrap">        </span>MyFileLibrary addFileAt: &#39;test.pdf&#39;.</div><div><span style="white-space:pre-wrap"></span></div></div></div></div></blockquote><div><br></div><div>
<div>These lines add the files all files in the local directory to the file library and specifically test.pdf *each* time the browser requests a page. Instead you only need to a file to the file library once. You can do this programmatically say via the workspace in the your image:</div>
</div><div><br></div><div>MyFileLibrary addFileAt: &#39;&lt;path to file&gt;/test.pdf&#39;.</div><div><br></div><div>or via the web ui, by browsing to /config then selecting files, MyFileLibrary</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt"><div><div><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">        </span>html image url: (MyFileLibrary urlOf: #testPdf).</div>
</div></div></div></blockquote><div><br></div><div><br></div><div>You can then render a link to the file by:</div><div><br></div><div>renderContentOn: html</div><div>    html anchor url: (MyFileLibrary / #testPdf); with: &#39;click here to download my pdf&#39;</div>
<div><br></div><div><br></div><div>WAExternalFileLibrary is another option....</div><div><br></div><div>Nick</div></div></div>