cancel
Showing results for 
Search instead for 
Did you mean: 

Access all pages in PCD

Former Member
0 Kudos

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 (<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401">Accessing PCD Contents like iView, Pages, Worksets ...</a>), 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!

regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

chk it

/people/daniel.wroblewski/blog/2006/07/30/everything-you-wanted-to-know-about-the-pcd

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Go to the below link, it will help you as per your requirement.

/people/prakash.singh4/blog/2005/07/28/browse-roles-folders-pages-iviews-assigned-to-a-user-ep6-sp9-and-higher

Regards

Suresh