I’m developing simple pages navigation portlet, and for each page I would like to have link to its “Manage Page” (“Manage > Page” in the top navigation bar)
Do you have any ideas how this link can be generated?
Thanks,
Karol
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sorry I needed to add another answer as the comment had less charachters. For each url you have to create pageSettingsURL as under. Write the following logic in a loop for all the layouts of the community you are interested in using LayoutLocalServiceUtil class and pass the plid
PortletURL pageSettingsURL = new PortletURLImpl(
request, PortletKeys.LAYOUT_MANAGEMENT, plid,
PortletRequest.RENDER_PHASE);