Is there any way to get 2 instances of an instanceable portlet with different preferences, be shared across all layouts for each one?
I mean portlet A Instance 1 is placed in all communities and it shares preferences for all layouts where it is placed
Portlet A Instance 2 is placed in a subset of those communities and it shares preferences for all layouts where it is placed
Or maybe is it that the relation between a portlet and its image in another layout is exactly the same as the relation between 2 instances in same page (no connected at all)?
Its a bit confusing telling between per-page instance and per-layout instance then.
Is it the last option totally duplicate portlet and set company-wide preferences for each instance?
Adding as answer:
With such a complex requirement, it may be best to “cheat” and declare two instances of the same portlet in the portlet.xml and liferay-portlet.xml so you can control the preferences independently