<?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>javascript get file from LIferay 7 document and media section</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121354324" />
  <subtitle>javascript get file from LIferay 7 document and media section</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121354324</id>
  <updated>2026-05-07T03:59:11Z</updated>
  <dc:date>2026-05-07T03:59:11Z</dc:date>
  <entry>
    <title>RE: javascript get file from LIferay 7 document and media section</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121358538" />
    <author>
      <name>Tanweer Ahmed .</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121358538</id>
    <updated>2022-06-11T18:01:40Z</updated>
    <published>2022-02-11T15:23:25Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The APIs available to javascript are listed at &amp;quot;/api/jsonws&amp;quot;.&lt;/p&gt;
&lt;p&gt;You can use the below to retrieve File Entry information.&lt;/p&gt;
&lt;p&gt;http://localhost:8080/api/jsonws?contextName=&amp;amp;signature=/dlapp/get-file-entry-3-long-long-java.lang.String&lt;/p&gt;</summary>
    <dc:creator>Tanweer Ahmed .</dc:creator>
    <dc:date>2022-02-11T15:23:25Z</dc:date>
  </entry>
  <entry>
    <title>javascript get file from LIferay 7 document and media section</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121354323" />
    <author>
      <name>Wayne Liu</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121354323</id>
    <updated>2022-02-08T09:53:59Z</updated>
    <published>2022-02-08T00:15:19Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do I use javascript to get a image file / PDF file uploaded to
  Liferay 7 docment and media?&lt;/p&gt;
&lt;p&gt;I know there is Liferay.Service('/journalarticle/.....') can be
  called from javscript to retrieve web content article.&lt;/p&gt;
&lt;p&gt;But what is the API to retrieve images or PDF in document and media section?&lt;/p&gt;
&lt;p&gt;Is there anywhere I can see all the available liferay API to be
  called by javascript?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Wayne Liu</dc:creator>
    <dc:date>2022-02-08T00:15:19Z</dc:date>
  </entry>
</feed>
