Is there any API where I can get All the friendlyURL related to particular groupID from group table.
Please help.
Is there any API where I can get All the friendlyURL related to particular groupID from group table.
Please help.
Precaution upfront: Do not think in terms of database: This will lead you to manipulating the database sooner or later, which is a recipe for disaster. Never manipulate the database.
That being said, you can use GroupLocalService
(or GroupService
) to obtain a Group
object that has the method you're looking for. If you have a themeDisplay
object where you are, e.g. in a portlet request handler, you can obtain the current group from it as well.