How to render PDF which displays picture from the ...
CRM and CX Blogs by SAP
Stay up-to-date on the latest developments and product news about intelligent customer experience and CRM technologies through blog posts from SAP experts.
1. Open the form template via Adobe Form Designer, menu File -> Form Property:
Set PDF Render Format as Dynamic XML Form:
2. Select your body page and set the Content property as "Flowed" instead of "Positioned":
3. Drag a table control from control toolbox, select table header node and DO NOT bind any BO nodes to it.
Select table row node, bind it to path: $.TestBO.Attachment.DocumentList[*] and mark the checkbox "Repeat Row for Each Data Item":
Select the last column field in table row, change its type for Text Field to Image Field:
And use relative binding to bind its path to the corresponding BO field BinaryObject which stores the binary data of an attachment.
After that in the runtime when the PDF is rendered, the table row will automatically be created based on the number of uploaded images as attachment, this behavior is called as "Data Driven Layout process".