Exporting a report as a PDF via Web Services

John Mertic —  September 16, 2013 — 1 Comment

I was digging thru the Web Services documentation and found a really handy method for getting exported reports as PDFs. This can be quite useful for doing generated scheduled reports that are proceeded by some sort of middleware workflow server, giving you a way to grab the report right from Sugar and send it to whomever may need it. Or, have generated reports automatically get uploaded to a document store for long term data storage purposes.

Here’s a code example, based on the v4_1 API, on how to do this. Come back tomorrow to see how to do this with the new Web Services API in Sugar 6.7 and later!

John Mertic

Posts

John Mertic manages the strategic ISV alliances program for SugarCRM, having several years of techincal experience bringing solutions to market with several SugarCRM technology partners. A frequent conference speaker and an avid writer, he has been published in php|architect, IBM Developerworks, and in the Apple Developer Connection, and is the author of the book 'The Definitive Guide to SugarCRM: Better Business Applications' and the book 'Building on SugarCRM: Creating Applications the Easy Way'. He is also president of the OpenSocial foundation, guiding them in solving interoperability issues for enterprise application providers worldwide.

Trackbacks and Pingbacks:

  1. SugarCRM Developer Blog » Blog Archive » Exporting a report as a PDF using the “new” RESTful API - September 17, 2013

    [...] SugarCRM Developer Blog « Exporting a report as a PDF via Web Services [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s