How to Embed a PDF content in IFrames

Embedding a PDF Content

  1. Create a custom object or create a custom sub-tab in a standard object. (in this case, we demonstrate a custom object-Quotations).
  2.  Create a sub-tab of type ‘Web content’. In this you can create a dynamic link which invokes the BI Publisher reports of output type PDF
  3.  The sample Script is shown below.                                                                                       [def A=”https://XXXX-test.crm.us2.oraclecloud.com/xmlpserver/Custom/Quotes/QT.xdo?_xpf=&_xpt=0&_xdo=%2FCustom%2FQuote%2FQT.xdo&_xmode=4&_paramsRECORD_NAME=”
    def B=RecordName
    def C=”&_xt=QT&_xf=pdf&_xautorun=true”
    return (A+B+C)]
  4. Now you can test out the output on the UI.
  5. A sample of the above snapshot is given below.

 

Snapshot of Output

March 13th, 2017 by
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4.50 out of 5)
Loading...