AnsweredAssumed Answered

PDF manager and {foreach}

Question asked by Giuseppe Trimarchi on Jan 9, 2017
Latest reply on Jan 11, 2017 by Francesca Shiekh


I am trying to use the {foreach} statement in PDF manager to display a dataset from a custom subpanel in Opportunites.

I was looking at 

and did this:

The custom module is:  asset_collateral_1

For the current opportunity I would like to show all the different assets  $fields.asset_collateral_1.document_name


The following is not working. Can you please shed some light?


{foreach from=$opportunities_asset_collateral_1 item="asset_collateral_1"}
{if isset($fields.asset_collateral_1.document_name)}{$fields.asset_collateral_1.document_name}{/if}.



Thank you