PCD Search

Hi all,
We have created a Index for PCD(Portal content folder).
But some how its not indexing.
Can anyone tell me what could be the reason?
Regards.

Ankur - where did you mean to check permissions?  I have the same issue where the index isn't working, but for the index the permission is Everyone - Full Control.  And in KM Content, there isn't a permisssions option on the pcd folder.  Only properties, under Settings
Thanks. 
I've also put in another post for this issue. But thought I would check with you to see if you had anymore info.
Thanks again,
Shelly

Similar Messages

  • PCD search using TREX SP16

    Hi All,
    I am trying to search for portal iviews, pages & roles using TREX.
    I created the index & assigned the PCD folder (I have done all the pre-requisites for PCD search)....
    Then when i opened the Index Administration page, the status for the index was red. I tried reindexing it, but the application log showed me errors,
    <b>
    "XIndexing documents failed. Method not supported on PCDSearchIndex..Continue crawling... "</b>
    <b>My portal is at SP16, with KMC SP16 PL3...
    TREX is up at SP16 PL2....
    </b>
    Please help me out.....
    Thanks,
    Sandip
    Message was edited by: Sandip Agarwal

    Closing the thread...

  • Pcd Search services (Portalrolessearch )

    I can´t  see in my Index Management services the service (
    Portalrolessearch). 
    This service is an PCD search service.
    How can I make it available ?

    hi
    Go to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Repository Managers (Show advanced option) -> PCD repository.
    Choose the Edit option and deactivate the Hide in Root Folder.
    Click OK to save your entry
    also have a look at this weblog
    /people/ganesh.natarajan/blog/2006/03/14/searching-for-portal-objects
    Regards
    Ganesh N
    Reward useful answers

  • PCD search for delta links

    Hi all,
    I'm trying to look for delta link pcd objects in my portal.
    I have code that works for iviews, pages, roles & worksets,  for example:
    NamingEnumeration ne = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",
    pcdSearchControls);
    The following example shows how to read ONE delta link properties::
    http://help.sap.com/saphelp_nw04/helpdata/en/44/703fd42043053ce10000000a1553f6/content.htm
    I want to run this code for all delta links in the portal.
    How to look for ALL delta links by code?
    I'm using 7.00.17.
    Regards,
    Omri

    Hi
    use our coding to fetch iViews/pages/...
    got through them and check wether one is a delta link or not:
    If the object is not a delta link or inherited via a delta link, getDlModificationState() returns null.
    regards
    Johannes

  • Location of Desktop Innerpage in PCD

    Hi there,
    we are running an EP60 SP16 portal and creating a whole new Portal Desktop with new Default Frameworkpage and Desktop Innerpage.
    For starters I looked at the Default Frameworkpage located in
    pcd:portal_content/com.sap.pct/every_user/general/com.sap.portal.frameworkpage
    Where exactly <i>is</i> the Desktop Innerpage located in the Portal Content Directory, as well as all the iViews contained in the Desktop Innerpage? Already users the search on 'Name' and 'ID' in the PCD search, but can not find any of them.
    Many thanks,
    Kevin

    Hi Kevin,
    I have the same problem, as described in my post: Displaying login form at home page (SDN style)
    As per URL sent by Jagadeep, I think we can't make a copy/paste from innerpage:
    "(...)Page: Desktop Innerpage(com.sap.portal.innerpage) 
    This object is a portal page embedded in the main Default Framework Page page.(...)"
    Please let me know if you have any advance.
    Regards,
    Raphael Barboza

  • Tool/Utility/Method to retrieve roles and mapping of those roles.

    Hi friends,
    We are running SAP EP6 SP2 on WEB AS 6.20.
    I want name and description of all roles created and mapping of those roles ( Roles -> groups and Roles -> Users ) in this system. The one way to do it is using User Administration -> Roles but it'll take a lot of time. Is there any tool/utility/shortcut method available for the same?
    Regards,
    Nilz
    Message was edited by: nilz

    Hi nilz,
      I don't think there is any tool as such to do this. U need some programmatic approach for this. U can get the roles using pcd search but I am not sure if u can get the mapping details.
    Regards,
    Harini S
    [ <b>Don't forget to reward points for helpful answers</b> ]

  • IndexmanagementService  XIndexing documents failed on PCDSearchIndex

    Hi,
    I have an issue with and index created to search through the pcd. I have created an index as defined in the following link and have selected Portal Content in my index datasource.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/content.htm
    When I click on reindex, I get the following error message:
    Operation failed Method not supported on PCDSearchIndex.
    If I open the Application Log, I get the following error message every minute.
    IndexmanagementService  XIndexing documents failed. Method not supported on PCDSearchIndex. Continue crawling... 
    Anyone has an idea on how to fix this issue?
    Thanks
    Renaud

    Hi Renaud,
    no need to fix here, just don't try to reindex manually
    PCD Index function is completely different than other indexes in CM / TREX.
    See also your referenced docu page: 'A schedule for automatic indexing is not required.'
    Background: PCD search index perform a search against the user's role content.
    When a user logs into portal, the content of the user roles is completely loaded into the PCD cache and kept in memory. Thus performing a search is very fast as it happens in memory (no need to load content from DB or filesystem).                                                                               
    So you'd better not try to index or crawl the PCD repoitory. Those methods are 
    not supported and implemented - as stated in the log.     
    Regards, Peter

  • Cannot find default Portal error iView DedicationAlerter

    Hi,
    I would like to have the default portal error iView collapsed as per default to avoid showing a long stack trace. The path to the default iView can be set here:
      a.      Choose System Administration  -> Support  ->Support-Desk -> Portal Runtime -> Workload Distribution Configuration.
      b.      Click on folder Workload Distribution Configuration.
      c.      Go to edit mode for service DistributionConfiguration.
      d.      In the field Default Alert iView Name  enter the desired iView path and click on Apply.
    I can see here that the current default error iview is called: com.sap.portal.supportability.isolde.DedicationAlerter
    But where in my PCD can I find this iView so that I can either change a property on it or make a copy to customize? I have done a PCD search and it does not seem to exist.
    Or is there another way I can accomplish the same? I know about the Visual Admin settings like DEVELOPMENT_MODE and DetailedErrorResponse but the problem is that they also remove the first line of the stack trace. I would still like to display that line to help support.
    Br Jan

    From the setting as you have mentioned previously I think it is directly calling the portal component.
    Probably you can have you custom component name in there and see. (download the existing par, do necessary modifications and upload with a different name)
    Regards,
    Mahesh

  • PCD Index Error in Trex Search

    Dear all
    I have tried to configure as mentioned in the URL
    <b>Configuring the Search for Portal Pages and iViews</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/frameset.htm .
    I am getting the following error.
    <i><b>Search Failure</b></i>
    <i>Error during search occurred – com.sapportals.wcm.WcmException
    An unexpected severe error occurred during the search call.  If the situation persists, inform your system administrator.</i>
    When I remove the index which is created for the PCD and created dummy index for any of the KM folder then its work fine.This scenario is working fine for the administrator and it is not working for the anonymous users.
    Can anybody help in this...
    Regards
    Geogi

    Hi Robert,
    Thanks for your reply.I have done the same way U mentioned in the last reply.
    I have changed the https host name to http,then restarted servlet engine and trex server.After that i have done re-indexing on my particular repository.
    Now it is showing the below status:
    <b>return code :8005
    Time out reached
    To be preprocessed: 780
    Document status: To be preprocessed and preparation failed
    indexed : 175
    Errors :315(preparation failed).</b>its taking too much time to re-index and now errors are going on increasing.
    shall I remove the full alternate host name and delete the old index and create new index.will it work?
    what is the solution for the above condition?
    Waiting for your reply.
    Thanks in Advance
    Amit kumar koyal

  • PCD content search

    Hi Experts,
       I have a requirement to scan the entire pcd content folder and to get the URLs of all the iViews present in the entire pcd content folder. Please help me out with this how can I achieve this.
    Thanks in advance,
    Harish.K.

    you have to use pcd api.
    following thread may help.
    How can I fetch all the PCD roles from EP!
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46

  • Retrieve PCD from Portal...Please Help...Urgent

    Hi Ritu
    i hope you would have fixed your issue by now.
    kindly help me ......
    i am trying to use the below piece of code to fetch the list of iviews from PCD.
    the problem is  i dont understand the error
    Code in APC:
    ===========
    public class APC_Comp extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
           try{
           Hashtable env = new Hashtable();
           env.put(IPcdContext.SECURITY_PRINCIPAL, request.getUser());
           env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    //       env.put(com.sap.portal.directory.Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    //           /******** Since i couldnt find      PcmConstants.ASPECT_SEMANTICS jar i used the below code.
           env.put(Constants.REQUESTED_ASPECT,"com.sap.portal.pcd.gl.PersistencyAspect");
           InitialContext ctx = null;
           DirContext dirCtx;
           List roleList = null;
           ctx = new InitialContext(env);
           dirCtx = (DirContext) ctx.lookup("pcd:portal_content/");
           PcdSearchControls pcdSearchControls = new PcdSearchControls();
           pcdSearchControls.setReturningObjFlag(false);
           pcdSearchControls.setSearchScope(
           PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
           dirCtx.addToEnvironment(
           Constants.APPLY_ASPECT_TO_CONTEXTS,
           Constants.APPLY_ASPECT_TO_CONTEXTS);
           NamingEnumeration ne = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.*iview*)",
                                                                       pcdSearchControls);
           while (ne.hasMoreElements()) {
           IPcdSearchResult searchResult =
           (IPcdSearchResult) ne.nextElement();
           String location = "pcd:portal_content/" + searchResult.getName();
           roleList.add(location);
           response.write("Object is "+location);
           }catch(Exception e )
                 response.write("Exception Occured due to :" +e.toString());
    Error Log :
    ==========
    << item 1 : >>#1.5 #001125A585A0005F000003BD0002514800045CAD115E54F3#1227798297334#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#ramesht#150270##n/a##e592fa70bc8511dd9fdd001125a585a0#SAPEngine_Application_Thread[impl:3]_19##0#0#Error##Java###07:04_27/11/08_0078_79979950
    [EXCEPTION]
    {0}#1#java.lang.NoClassDefFoundError: com.sapportals.portal.pcd.gl.PcdSearchControls
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:66)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)

    try something like this :
    if image file:
    ImageIcon image = (new ImageIcon(getClass().getResource("yourpackage/mypackage/image.gif")));
    if text file:
    InputStream is = this.getClass().getResourceAsStream( "yourpackage/mypackage/myfile.xml");
    but all in all , getClass will consume a lot computational power(time). If you have to access so many file, it'd better put it outside the jar

  • Search is not working in Portal??

    Hi all
    This is the error i got i tried to search in portal:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.basicsearch.
    Exception id: 06:10_05/12/05_0017_8166050
    See the details for the exception ID in the log file
    But <b>I can see this under
    Portal Content->Portal Users->Standard Portal Users->Default Framework Page there is Tool Area iView. Here I can see "KM Search Component" which contains default entry "pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/
    com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.basicsearch".</b>In Portal Content->Portal Users->Standard Portal Users -> Standard User Role. The iView KM Basic Search iView is not visible and also under Home the entries <b>Hidden->URL Access is missing.</b>
    What else to be done?
    Help me
    Regards,
    Ganesh

    Hi Ganesh,
    Is the problem solved?
    If yes, please do let me know as to how did you resolve this?
    If no, did you try re-installing the TREX Engine engine?
    Awaiting Reply.
    Warm Regards,
    Ritu

  • How can I display appraisals in "employee search(MSS)"?

    I created a new iView that is copied from employee search of MSS .
    <pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.iviews/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.generalinfo_employeesearch>
    I changed the properity as below.
    Organizational Structure View >  MSS_HAP_EE_SRCH
    Group of Organizational Structure Views >  MSS_HAP_STATUS
    As a result I can confirm the screen of appraisal table in this iView but the appraisal data is not displayed in this iView.
    Should I customise any more?
    I think that the cause of this problem is in "HRHAP_PORTAL_COLUMN_FILL_ERP".
    There is many parameters and table, but I cannot find the point to give it to this function module.
    Best regards,
    Makoto

    I have found the standard iView & page...
    <pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.pages/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.performane_management>

  • How can I fetch all the PCD roles from EP!

    Hello,
    I need to fetch all the available pcd roles in EP. Right now I am trying to fetch pcd roles under Portal Content directory. I need a clarification whether this is the only place the pcd roles are available or is there any other location where rest of the pcd roles are available?
    Thanks in advance,
    Prashanth V Swamy

    Hi Prasanth,
    See the code below to retrieve all the pcd roles.
    public List getPCDContents(IPortalComponentRequest request) throws Exception{
                   try{
                        Hashtable env = new Hashtable();
                        env.put(IPcdContext.SECURITY_PRINCIPAL, request.getUser());
                        env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
                        env.put(com.sap.portal.directory.Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
                        InitialContext ctx = null;
                        DirContext dirCtx;
                        List roleList = null;
                        ctx = new InitialContext(env);
                        dirCtx = (DirContext) ctx.lookup("pcd:portal_content/");
                        PcdSearchControls pcdSearchControls = new PcdSearchControls();
                        pcdSearchControls.setReturningObjFlag(false);
                        pcdSearchControls.setSearchScope(
                             PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
                        dirCtx.addToEnvironment(
                             Constants.APPLY_ASPECT_TO_CONTEXTS,
                             Constants.APPLY_ASPECT_TO_CONTEXTS);
                        NamingEnumeration ne =
                             dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.role)",
                                  pcdSearchControls);
                        iViewList = new ArrayList();
                        while (ne.hasMoreElements()) {
                             IPcdSearchResult searchResult =
                                  (IPcdSearchResult) ne.nextElement();
                             String location = "pcd:portal_content/" + searchResult.getName();
                             //Get the full pcd path of the iview.
                             roleList.add(location);
                        return iViewList;
                   }catch(Exception e ){
                        throw new Exception(e);
    Hope it helps.
    Regards,
    Karthick

  • How to get title of an iview? Have only pcd-url...

    Hi,
    in my WebDynpro i need to get a list from PCD
    that has
    - the iview-ID
    - the title of the iview
    that resides in a directory.
    I get the ids, eg. pcd:portal_content/rwe/bir/navigation/rwe.bir.ws.BIReports/rwe.bir.ivu.filter.tra.Istkosten_je_Periode_8 
    with the following source:
    Hashtable env3 = new Hashtable();
    env3.put(IPcdContext.SECURITY_PRINCIPAL, sapUser);
    env3.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env3.put (com.sap.portal.directory.Constants.REQUESTED_ASPECT,PcmConstants.ASPECT_SEMANTICS);
    InitialContext ctx1 = null;
    DirContext dirCtx1;
    List pageList = null;
    try {
       ctx1 = new InitialContext(env3);
       //        Pass the iView location here...as Daniel said..
    dirCtx1 =(DirContext) ctx1.lookup("pcd:portal_content/rwe/bir/content/generated/");
    PcdSearchControls pcdSearchControls = new PcdSearchControls();
    pcdSearchControls.setReturningObjFlag(false);
    pcdSearchControls.setSearchScope(PcdSearchControls.SUBTREE_WITH_UNIT_ROOTS_SCOPE);
    dirCtx1.addToEnvironment(Constants.APPLY_ASPECT_TO_CONTEXTS,Constants.APPLY_ASPECT_TO_CONTEXTS);
    NamingEnumeration ne = dirCtx1.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",
         pcdSearchControls);
    pageList = new ArrayList();
    int i = 0;
    while (ne.hasMoreElements()) {
    i++;
    IPcdSearchResult searchResult =
         (IPcdSearchResult) ne.nextElement();
    //        This location will give you the full path of the page with page name
    String location = searchResult.getName();
      messageManager.reportSuccess("Got PCD-Url: " + location); 
    But - how can i get the title of the iview?
    I tested also the code:
    env.put(IPcdContext.SECURITY_PRINCIPAL,sapUser);
    env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(com.sap.portal.directory.Constants.REQUESTED_ASPECT,   pcmConstants.ASPECT_ADMINISTRATION);
    InitialContext ctx = null;
    String objectID = "pcd:portal_content/rwe/bir/content/generated/";
    iCtx = new InitialContext(env);
    Object pcdObject =iCtx.lookup(objectID);
    NamingEnumeration children = null;
    if (pcdObject instanceof IAdminBase)
      children = ((IPcdContext) ((IAdminBase) pcdObject).getImplementation  (IAdminBase.CONTEXT)).listBindings("");
      msgMgr.reportSuccess("Element: IAdminBase");
    }else{
      children = ((IPcdContext) pcdObject).listBindings("");
      msgMgr.reportSuccess("Element: PCDObject");
    Binding child;
    int ch = 0;
    while (children.hasMoreElements())
       child = (Binding) children.next();
       child.getName();
    if (child.getName().startsWith("rwe.bir.ivu.filter")
         && child
         .getClassName()
         .equalsIgnoreCase("com.sapportals.portal.ivs.iviews.IPortalIview")) {
         msgMgr.reportSuccess("Element: " + child.getName());
    then i get the title attribute, so getting something like
    'locale= , Text="The title of the iview" '
    But: how to collect both (title and id) in one way??
    Thanks
    Bernhard
    Edited by: Bernhard Derks on Feb 22, 2008 3:36 PM

    HI Sarma,
    Unfortunatelly, the variable p_infopackage is not accessible in the FORM.
    It seems that the only variable I have access to is p_subrc...
    To help you here are the first line of my selection routine :
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = 0TCTREQUID
        Fieldname       = REQUEST
        data type       = CHAR
        length          = 000030
        convexit        =
    form compute_REQUEST
      tables l_t_range structure rssdlrange
      changing p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'REQUEST'.
              l_idx = sy-tabix.
    I think that your idea is the good one, but I do not see the how to get the datasource name for my infopackage...
    If someone has another idea, it could be very helpful for me.
    Thanks
    Pierre-Yves

Maybe you are looking for