Could we pull out the upload and download function field from report add-ons (report editor) and use in our custom screen?

Hello there,

Recently, I’ve been looking for the upload and download function, and I do find the related information. However, when I look into the report.edit, there is look up picker field like which also contains download and upload (even can drop the file (pic. 2)) simultaneously.(pic. 1)

image
(pic. 1)


(pic. 2)

Then, I’ve also checked its reports-edit.xml, but it turns out not the field I expected

Thus, I want to ask is it possible that we pull out the seems like look up picker field to our custom screen?
Thank you.

Regards,
Danny

Hi,
You can find the initialisation code for this field here:
com.haulmont.reports.gui.report.edit.ReportEditor#initGeneral

Starting from code:

        propertiesFieldGroup.addCustomField("defaultTemplate", new FieldGroup.CustomFieldGenerator() {