Skip to Content
author's profile photo Former Member
Former Member

retrieving pages and workset info from Role


I was wondering how, if possible, you can retrieve the worksets and pages that belong to a role. I have the role information for a user right now, but I want to know the pages and worksets that are attached to the role.

The reason for all of this is I am dynamically creating a start page, and depending on the role of the user, different information appears within the start page.

I had done this in EP 5.0, but now we are migrating to EP6.0 SR1. I have been surfing through the Javadocs, but have not yet found a clear cut way of finding the information.

If anyone has an answer, it would be appreciated!!

Thanks and best regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 03, 2005 at 05:02 PM

    Hi Kevin,

    there are different ways of doing this. The hard way is to retrieve this information directly from the PCD (ugly).

    More comfortable is using the NavigationEventsHelperService:

    NavigationEventsHelperService navHelperService = (NavigationEventsHelperService)PortalRuntime.getRuntimeResources().getService("");

    Check out this class and it's method (by decompiling).

    For instance, you can get the actual NavNode by

    INavigationNode navNode = navHelperService.getCurrentLaunchNavNode(request);

    From this, you can for example ask for the children or also for the children including the hidden elements and so on.

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.