<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to put a "document" input field in the configuration of a portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121537296" />
  <subtitle>How to put a "document" input field in the configuration of a portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121537296</id>
  <updated>2026-04-04T16:12:06Z</updated>
  <dc:date>2026-04-04T16:12:06Z</dc:date>
  <entry>
    <title>How to put a "document" input field in the configuration of a portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121537295" />
    <author>
      <name>Carlos Barreiro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121537295</id>
    <updated>2022-10-14T16:45:54Z</updated>
    <published>2022-10-14T16:01:33Z</published>
    <summary type="html">&lt;p&gt;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)&lt;/p&gt;
&lt;p&gt;I'm looking for something similar in the core code but I haven't
  found anything.&lt;/p&gt;
&lt;p&gt;I know that using the &amp;lt;aui:input type=&amp;quot;file&amp;quot; /&amp;gt; could
  do the trick, but in this case we need to select an already uploaded file.&lt;/p&gt;
&lt;p&gt;Could you help me? I'm working with DXP 7.3&lt;/p&gt;
&lt;p&gt;Thanks and regards&lt;/p&gt;</summary>
    <dc:creator>Carlos Barreiro</dc:creator>
    <dc:date>2022-10-14T16:01:33Z</dc:date>
  </entry>
</feed>
