Hi team,
Assume we have 1 attachment. We are able to provide a link and on click of it displaying that attachment. Can we show that attachment within the section itself(On reaching that screen itself displaying that attachment)? I have seen some posts suggesting to use iframe. But was not able to achieve it. Please throw some leads on this.

    23 days later

    Try the below code in non autogenerated section.

    <iframe src="data:application/pdf;base64,<<BASE64 STRING>>" height="840px" width="100%"></iframe>

    Before calling this code, convert the PDF into a base64 string. Pass the base64 value in the <<BASE64 STRING>> using pega reference JSP tag.

    Let me know if you need any more info on this.

    8 days later
    7 months later

    Hi Duraisankar,
    I have property like PageA.PageB.Property which will contain base64.How to refer that property inplace of base64

    Thanks in Advance,
    Kuldeep

      Write a Reply...

      -An Initiative Of OneStopPega- Love our work? Support Us🖤