How to set specific options of different portlets programmatically? For example how to set view in “Web Content Display” portlet to specific JournalArticle.
How to set specific options of different portlets programmatically? For example how to set
Share
This one might be a bit difficult because there will be some discovery involved. First you’ll need to figure out which preference key you’d like to over write. The difficult lies that the developer can use any key for example some of Liferay’s are
portlet-setup-show-borders.But to set a Web Content Display, you can use something like: