Message Boards

Portlet Instance Configuration

thumbnail
Vahid Kh, modified 4 Years ago.

Portlet Instance Configuration

Junior Member Posts: 54 Join Date: 8/6/19 Recent Posts
Hello,
How can I define a custom configuration for my portlet that can be set for every instance of it separately,  like Liferay built-in portlets ?
thumbnail
AmirHosein Orojlo, modified 4 Years ago.

RE: Portlet Instance Configuration

New Member Posts: 6 Join Date: 1/19/19 Recent Posts
hi vahid emoticon
you can read this document :
https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/making-your-applications-configurable
it's very simple and short
good luck
thumbnail
Vahid Kh, modified 4 Years ago.

RE: Portlet Instance Configuration

Junior Member Posts: 54 Join Date: 8/6/19 Recent Posts
No
Its not my answer!!!
I want a solution for setting configuration separately for every Instance of portlet
​​​​​​​
thumbnail
Olaf Kock, modified 4 Years ago.

RE: Portlet Instance Configuration

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts
Vahid Kh:

I want a solution for setting configuration separately for every Instance of portlet​​​
Look up javax.portlet.PortletPreferences - typically they're configured in the EDIT mode of a JSR-286 portlet, or - if you prefer a popup, in Liferay's CONFIGURE mode (or was it CONFIG?)