Message Boards

Can only porlets have the file portlet.properties?

Matthew K., modified 3 Years ago.

Can only porlets have the file portlet.properties?

Junior Member Posts: 74 Join Date: 8/31/15 Recent Posts
Hello!
I have a rather simple question. I have to set the property
resource.actions.configs=resource-actions/default.xml
in a
portlet.properties
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
portlet.properties
file even if that module is not a portlet?
thumbnail
David H Nebinger, modified 3 Years ago.

RE: Can only porlets have the file portlet.properties?

Liferay Legend Posts: 14919 Join Date: 9/2/06 Recent Posts
No, you can add the portlet.properties in to your -service module.