<?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>Can only porlets have the file portlet.properties?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119201059" />
  <subtitle>Can only porlets have the file portlet.properties?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119201059</id>
  <updated>2026-04-06T05:45:18Z</updated>
  <dc:date>2026-04-06T05:45:18Z</dc:date>
  <entry>
    <title>RE: Can only porlets have the file portlet.properties?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119204167" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119204167</id>
    <updated>2020-05-20T23:18:30Z</updated>
    <published>2020-05-20T23:18:30Z</published>
    <summary type="html">No, you can add the portlet.properties in to your -service module.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2020-05-20T23:18:30Z</dc:date>
  </entry>
  <entry>
    <title>Can only porlets have the file portlet.properties?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119201058" />
    <author>
      <name>Matthew K.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119201058</id>
    <updated>2020-05-20T16:04:43Z</updated>
    <published>2020-05-20T16:04:43Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello!&lt;br&gt;I have a rather simple question. I have to set the property &lt;pre&gt;&lt;code&gt;resource.actions.configs=resource-actions/default.xml&lt;/code&gt;&lt;/pre&gt; in a &lt;pre&gt;&lt;code&gt;portlet.properties&lt;/code&gt;&lt;/pre&gt; file. The thing is that my module is not a portlet but a service. Do I have to create an empty portlet just to configure that portlet property or is Liferay capable of reading a &lt;pre&gt;&lt;code&gt;portlet.properties&lt;/code&gt;&lt;/pre&gt; file even if that module is not a portlet?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Matthew K.</dc:creator>
    <dc:date>2020-05-20T16:04:43Z</dc:date>
  </entry>
</feed>
