Issue: Image is not displaying instead "[object Object]
" is displaying.
PDF template is created in custom entity 'Form'. It is pulling the data from the 'cases' entity.
cases have one to many relationships with forms.
Cases data is pulled in templated as expected, but 'attachmentsIds' which is a field type:Attachment Multiple, is displaying "[object Object]" inthe PDF print instead of the attached image. Below is the code, is there anything wrong am I doing.
{{#each cases}}
{{#ifMultipleOf @key 12}}{{/ifMultipleOf}} {{name}} {{number}} {{priority}} {{description}}
{{#each ./cases as |attachmentsIds|}}{{#ifMultipleOf @key}}{{/ifMultipleOf}}{{attachmentsIds}}
{{/each}}
{{/each}}
" is displaying.
PDF template is created in custom entity 'Form'. It is pulling the data from the 'cases' entity.
cases have one to many relationships with forms.
Cases data is pulled in templated as expected, but 'attachmentsIds' which is a field type:Attachment Multiple, is displaying "[object Object]" inthe PDF print instead of the attached image. Below is the code, is there anything wrong am I doing.
{{#each cases}}
{{#ifMultipleOf @key 12}}{{/ifMultipleOf}} {{name}} {{number}} {{priority}} {{description}}
{{#each ./cases as |attachmentsIds|}}{{#ifMultipleOf @key}}{{/ifMultipleOf}}{{attachmentsIds}}
{{/each}}
{{/each}}
Comment