I have to add a button to my portlet, which shows the edit mode of this portlet (customers portlet settings). What is the URL to do this?
Answer by JMW98 (1501) | Feb 10, 2015 at 11:22 AM
URL generation helper classes make it easier to target edit mode directly: http://www-01.ibm.com/support/docview.wss?uid=swg21461911
or: http://www-01.ibm.com/support/knowledgecenter/SSHRKX_8.5.0/mp/dev/url_gen_main.dita
See "control the mode of ... the targeted portlet" and:
http://public.dhe.ibm.com/software/dw/lotus/portal_javadoc/80/portal/spi_docs/com/ibm/portal/portlet/service/url/PortalURLWriter.html ---> writePortletRenderURL(java.io.Writer writer, ObjectID contentNode, ObjectID portletWindow, PortletMode newPortletMode)