<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 22, 2014 at 7:02 PM, Bimal Yashodha <span dir="ltr"><<a href="mailto:kb.yashodha@gmail.com" target="_blank">kb.yashodha@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm currently integrating "exporting relational schema" functionalities into the designer. And in <font face="arial, sans-serif">"Operations > Edit or export relational schema", I have moved the "exporting files" functionality in to a popup dialog box in the designer. So the process is working through ajax calls.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">But my problem is, although the header parameters are set correctly, downloading is not working. </font></div><div><font face="arial, sans-serif">'Content-Description: File Transfer'</font></div>
<div><font face="arial, sans-serif">'Content-Disposition: attachment; filename='myfile.pdf'</font></div><div><font face="arial, sans-serif">'Content-Type: application/pdf'</font></div><div><span style="font-family:arial,sans-serif"><br>
</span></div><div><span style="font-family:arial,sans-serif">Should I get the file as JSON encoded and the process it at the browser or, have I missed something? </span></div><div><span style="font-family:arial,sans-serif"><br>
</span></div><div><font face="arial, sans-serif">-- I'm using the function calls initialized from the schema_export.php with minor changes. </font></div><div><br></div></div></blockquote><div> </div><div>Have you pushed your code related to this development to your repo? I couldn't find the related code. If not please do that, so I would be able to have a look and give you relevant advice.</div>
</div><div><br></div>-- <br>Thanks and Regards,<div><br></div><div>Madhura Jayaratne<br><div><br></div></div>
</div></div>