Attachment widget to display PDF uploaded from HTML Form Entry

Hello everyone,

We would like to upload the PDF using the Default Attachment Handler from the html form entry module.

If a PDF is uploaded directly from the attachment module, the thumbnails of the PDF are shown as below.

The same thing added from the forms (build on html form entry) does not show as thumbnail images in attachments widget. Although it gets stored in the same complex_obs directory

@mksd @dkayiwa @mogoodrich Please let us know your thoughts on this.

cc @sukreet @mddubey @vasanth2019

@premnisha I suspect that you did not add the concept complex that you use in your forms as a concept complex that is on Attachments radar. This is controlled by the GP "attachments.conceptComplexUuidList", see here.

1 Like

@mksd The concept created to upload the default attachment is attached below

Concept of the default attachment handler in the system is as shown below. The UUID matches with the global properties configured.

Please let me know if I am missing something

@premnisha you’d need to add the UUID of this concept 174184 (the one with the UUID starting with "98928c70") in the list that is the value of the GP. Something like that:

["7cac8397-53cd-4f00-a6fe-028e8d743f8e","42ed45fd-f3f6-44b6-bfc2-8bde1bb41e00",
  "98928c70-..."]
1 Like

Thank you @mksd, adding that works.

1 Like