XML Publisher: How to Dynamically Display logo in Template

 


     You have need to define below code in RTF template , then you can display multiple logo as per requirement.

      CP_LOGO --- Parameter of  Concurrent program and pass details

      xyz-logo --- first logo

     abc- logo  --- second log  

Code Snippet

    <?template: xyz-logo?>    <?end template: xyz-logo ?>

<?template: abc-logo?>   <?end template: abc-logo ?>

<?choose:?>

<?when: CP_LOGO=’DAM’?><?call:xyz-logo?><?end when?>

<?when: CP_LOGO=’OEM’?><?call:abc-logo?><?end when?>

<?end choose?>

No comments:

Post a Comment