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

PCD Objects : Accessing the PCD objects

Hi

using Java program i am currently trying to display all iviews , view_ID , pages, Roles, workset from the pcd_Content folder in a single page .

Thus inorder to fetch the Iview and Iview_ID, i used below logic ,

NamingEnumeration FETCH_IVIEW_NAME 	= dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.*iview*)",pcd_Iview_Name_searchcontrol);		
NamingEnumeration FETCH_IVIEW_ID 	= dirCtx.search("","(com.sap.portal.pcm.Title=*)",pcd_Iview_ID_searchcontrol);		

Now ,the next objects, such as Roles, and Workset,

may i know , how to fetch the corrsponding workset and role that is associated to the Iview.

Thanks

:

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2008 at 01:02 AM

    Hi Kumar,

    Have a look into below thread

    unable-to-fetch-portal-content-from-pcd

    Koti Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2008 at 01:29 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2008 at 04:38 AM

    Hi,

    You just need to replace below statement in NamingEnumeration FETCH_IVIEW_NAME = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",pcd_Iview_Name_searchcontrol);

    com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview

    with

    com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page

    Regards,

    Nikhil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 12:27 PM

    Thanks for response

    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.