<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to download PDF from PdfManager/generate endpoint</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/1431/how-to-download-pdf-from-pdfmanager-generate-endpoint</link><description>Version 8.3 of Sugar introduced the GET PdfManager/generate endpoint that is supposed to return and initiate a download of a PDF. I can&amp;#39;t figure out how to get the download of the PDF to happen. Any help? Here is my code to call the endpoint: var url</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to download PDF from PdfManager/generate endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23251?ContentTypeID=1</link><pubDate>Fri, 23 Apr 2021 23:19:43 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b29cba1d-a045-4958-bf7f-a35bd8bcefdb</guid><dc:creator>Ramon Jimenez</dc:creator><description>&lt;p&gt;You need to change app.api.call to app.api.xhrDownloadFile&lt;/p&gt;
&lt;p&gt;With that, you will get a file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>