You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using AttachmentList-component the option "includePDF", doesnt seem to work as expected.
If the value "true" is added to the option "includePDF" it will ignore any other attachments from the AttachmentList.dataTypeIds.
Example: AttachmentList with dataTypeIds "datatype1, datatype2", will show a list of attachments with one attachment beeing datatype1 and one attachment is datatype2. If you add the option "includePDF: true" add "ref-data-as-pdf" to the dataTypeIds list, then it will ignore datatype1 and datatype2 from the attachmentlist view.
Steps To Reproduce
Have your applicationmetadata.json include the standard "ref-data-as-pdf" with "enablePdfCreation": true.
Add a component AttachmentList to a JSON Layout in ui/layouts
Add an attachment ID to the AttachmentList (another then "ref-data-as-pdf").
Add "ref-data-as-pdf" ID to the AttachmentList.
Check result view and see that only the attachment that is not "ref-data-as-pdf" is shown in the list.
Add the option includePDF:true to the AttachmentList.
Check result view and see that only the attachment that is "ref-data-as-pdf" is shown in the list.
From my view you can not get both the attachment and the generated PDF to show up in the same list.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description of the bug
When using AttachmentList-component the option "includePDF", doesnt seem to work as expected.
If the value "true" is added to the option "includePDF" it will ignore any other attachments from the AttachmentList.dataTypeIds.
Example: AttachmentList with dataTypeIds "datatype1, datatype2", will show a list of attachments with one attachment beeing datatype1 and one attachment is datatype2. If you add the option "includePDF: true" add "ref-data-as-pdf" to the dataTypeIds list, then it will ignore datatype1 and datatype2 from the attachmentlist view.
Steps To Reproduce
From my view you can not get both the attachment and the generated PDF to show up in the same list.
Additional Information
No response
The text was updated successfully, but these errors were encountered: