How to put a "document" input field in the configuration of a portlet

Jamie Sammons, modified 3 Years ago. New Member Posts: 16 Join Date: 11/25/19 Recent Posts

Hello, I'm building a new portlet and one of the requirements is being able to select a document in the configuration of the portlet (previously uploaded in the Document and Media section)

I'm looking for something similar in the core code but I haven't found anything.

I know that using the <aui:input type="file" /> could do the trick, but in this case we need to select an already uploaded file.

Could you help me? I'm working with DXP 7.3

Thanks and regards