Skip to Content
Former Member
Sep 07, 2007 at 09:21 AM

Access all pages in PCD


Hi folks,

I'd like to access the pcd_content from WebDynpro but I guess I'm lacking insight into the permission scheme. It is generally clear to me how to access the PCD programmatically from WD after reading the nice document from Karthick Eswaran (Accessing" target="_blank">">Accessing PCD Contents like iView, Pages, Worksets ...), so that works fine.

As I'm only displaying the current page (iView where my WD app is embedded) I guess I'm lacking permissions and insight. I lookup the user for the Context lookup via WD using this code:

IUser user = WDClientUser.getCurrentUser().getSAPUser();


Here's my questions:

1) Am I'm picking the correct user for internal use?

2) Which permissions do I have to set on my iView to access the whole PCD.

The app I'm writing will fill up a table with all pages from the portal in the wdDoInit(), method so a user can do some stuff with it.

3) Is it generally possible to traverse the PCD and display all pages in the Portal using this way? Or is there some drawbacks, do I have to regard something?

Thanks for your answers!