Results 1 to 3 of 3

Thread: Retrieve Array of Bytes Representing a PDF

  1. #1

    Default Retrieve Array of Bytes Representing a PDF

    Utilizing ExtJS 3.2, how would I display an array of bytes that represents a pdf file utilizing a rest-full call (GET)? In other words, I want to click a button that would make a rest-ful call, the result would be an array of bytes that is the pdf, and then display the pdf.

    Any feedback would be appreciated.


  2. #2
    Sencha User
    Join Date
    Feb 2013

  3. #3


    Thanks for the reply.

    I reviewed the information in the link provided but I guess I wasn't clear in my original post. I have the call in place that will return a byte array that represents the PDF document. What I now need is a way within ExtJs on the calling page that will display the array of bytes as the PDF document.

    For example, page displays. Select some criteria, search and receive results. Button on page that, when clicked, displays PDF document. Currently, button is defined and the controller has logic the will return the array of bytes that is the PDF. I'm searching for the appropriate ExtJs logic to add to the button to display the PDF.

    Hopefully, that's a little clearer than mud...

Similar Threads

  1. Retrieve data from Json array
    By shobhaaradhya in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 10 Aug 2012, 11:30 PM
  2. How to retrieve JSON array from store and use lat/lng in Google Map?
    By marcelodsalvador in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 12 Jun 2012, 7:43 AM
  3. Replies: 0
    Last Post: 16 Aug 2010, 5:32 AM
  4. 183 bytes can be saved in JSON.js
    By papandreou in forum Ext: Q&A
    Replies: 4
    Last Post: 18 Nov 2009, 3:27 PM
  5. Use external JSON (via PHP) to retrieve ITEMS array
    By jasondeegan in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 18 Aug 2008, 7:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts