Help needed: Search function for custom Repository Manager

Hi there,
i'm writing my own Repository Manager for EP 6.0 SP2 PL4.
I've serious problems getting the search function running. I'm using the 'new', Netweaver-based API.
I think, there are some general questions to answer:
- My Repository Manager exposes lots of custom 
   properties to the system. I create the properties
   for example using following code:
   IProperty newProp = new StringSingleValueProperty(
     PropertyName.getPropertyName(
              "{}" + myAttName),
     myAttVal,                         PropertyFlags.constructFlags(
              true, false, true, false)
    Is there any convention for the propertie's name?
    I think it has to be written in lowercase only?
    Can I use ANY namespace I want instead of the
    empty default namespace? (For example:
- After indexing my resources (of course, containing my
   custom properties), the TREX-Monitoring screen for my
   index shows all my custom properties in the 'Document
   Properties' area, but all uppercase chars are escaped
   somewhat. Is this OK?
- Trying to use the index above to search for particular
   resources in my repository by my custom properties
   fails all the time ('no docs found...'); searching for
   any system property works fine. What's the reason?
- How can I force the (Property-) search uses my
   custom namespace-manager's methods
   isQueryPropertyNameUnderstood() and
   getQueryBuilder()
   to perform a 'pure' property search by the repository
   manager? It seems that the TREX always handles the
   queries by itself, because my methods are never called.
Thanx for you help,
Daniel

I created a new manager and copied the classes exactly from the "simple" example and I see similar behavior. Actually, when I do this, folders are recursively copied, but not files. Again, browsing and viewing of files work fine. Again, I am not seeing any unexpected exceptions.
The only thing that changed were the names and namespaces. Nothing else at all was changed.
This makes me think I am missing some configuration somewhere or there is something special about the example project that the wizards are not creating. The only difference I see in the project file is an additional nature (com.tssap.selena.cmf.PatternNature), but I am not sure that is relevant.
Wow, I am really stumped.
-Alex

Similar Messages

  • Need help for Customizing Correspondence Management

    Hi,
    Could anyone provide me some documents or reference links which will be helpful for Customizing Correspondence Management in ES4?
    Many Thanks!!

    Hi Santosh,
    Sorry for the late reply.
    I have a XDP file having both static and dynamic content. I need to populate the dynamic content with some value which I will be getting from the XML which is stored in the body of the SOAP request. I want the letter to be generated dynamically (like no user selection of XML etc) because I want to avoid manual input in the correspondence management.
    Could you please let me know if the above can be achieved. If yes, could you please provide any useful stuff related to above requirement.
    Many Thanks!!!

  • Crash on search function for HTML Help file (.chm) when connected to a Visual C++ application

    Crash on search function for HTML Help file (.chm) when
    connected to a Visual C++ application
    I use the RH_ShowHelp API command to connect a HTML Help file
    (.chm file generated by RoboHelp Word X 5) to my Visual C++
    application. My application is able to call up this HTML help file
    in context-sensitive mode and everything is working great in the
    Contents and Index panels EXCEPT when I click on List Topics (after
    I enter a KEYWORD for search) in the Search panel.
    I got an error that said “Unhandled exception in
    xxxx.exe.(HHCTRL.OCX):0xC00000FD: Stack overflow”
    I am able to execute this .chm file by itself and the search
    function works well in this case. I am using HHActiveX.dll that is
    created on 2/23/04. Is this the correct version?? Any advice what
    to do here??

    Hi agschin and welcome to the RH forums. The hhactivex.dll
    file is not used by the search function so you can rule that our.
    Have you tried recompiling and seeing if the problem still happens?
    You can also start the Bug Hunter feature in RH - View > Output
    View and then select the Bug Hunter button - and see if that throws
    up any clues.

  • E-Recruiting : Creation of Search Profile for custom infotypes

    Dear experts,
    Can anyone let me know if you have created search profiles for custom infotypes in eRecruiting?
    The requirement is for the TREX to be able to search for Candidates based on the fields which are defined in this custom infotype. This infotype (9999) is completely custom defined mapped to object NA.
    In the IMG,
    I don't have to change the search profile type
    I created a new Z Information category.
    Here, i have to specify an extraction class for this Z Information Category.
    Can anyone please tell me what this should be? Can i give it as "CL_HRRCF_CEC_INFOTYPE" ?
    Also, can anyone please mention the significance of the table "T77RCF_SPT_INFTY " and how we should be handling the entries here for our custom infotype ? Should we create a custom class to specify here? How should we do this ?
    Any inputs & thoughts regarding this will be invaluable.
    Needless to say, i created the Z information category with the class CL_HRRCF_CEC_INFOTYPE but when i run the report RCF_RECREATE_SEARCH_PROFILE,It is giving me a lot errors.
    Please help.
    Regards,
    Sowmya

    Sowmya,
    To answer your question, Yes, automatic generation of NA for newly hired/created PERNR (P) is because of the integration you have activated between PA and eRecruit via BADI implementations. Look at OSS note 997181 for details on how integration works.
    If you dont need integration between PA and eRecruit on PA40 then you may have to tweak the BADI's.
    regards
    Sridhar Kandisetty

  • N73 - trouble with search function for the contact...

    Hi, i just bought a N73 series phone. i noticed that N73 search function for the contact list is different from others standard. Normally, it should show the 1st contact of the 1st letter that i pressed instead of the contact contains the letter. I found difficulties to look for the contact unless i press 3 or 4 letters. is there any setting can be changed to order search function only search the contacts with the 1st letter that i pressed instead of the letter in middle of the contact?
    For example:
    ang on
    office
    when i pressed "o", the contact will search for "ang on" instead of "office" unless i press few more letters like "off".
    hope to get some help from you guys.

    I found the same problem as this with all my S60 3rd edition phones, what I have done is in my contacts put a hyphen (-)in between the name - i.e Joe Blogs would come us under searches for J & B, so try putting Joe-Bloggs, this way, the search will only come up with all the J's in your phone book directory.
    Hope this helps, DLJ
    DLJ

  • How to find out Max threads count for Custom Work Manager??

    Hi All,
    How to find out Max threads count for Custom Work Manager??
    I have created 1 WM & targeted it to a cluster of 2 MS. Later I created Max thread Constraint = 300 & assigned that to my WM.
    I need to check how many threads maximum were created by my WM after lets say 1 completed day.
    The idea behind that is to understand if .. 300 is enough or need to increase the same way as we do it for JDBC datasource like.. Active connections Max count.. etc.
    Any Idea?
    regards,
    Tanmay

    Hi Ashish,
    Thanks for your response.
    The monitoring page that you are suggesting does not indicate the max thread count reached for a particular WM.
    For example, If I have Sample WM with 300 Max Thread Constraint, is there a way for me to check how many threads have been used out of 300??
    Any pointers in this regard are appreciated.
    Thanks,
    Tanmay

  • Search function for Product description in shopping cart

    Hi,
    We are using SRM 5.5 version. We have a problem when we are searching the Product with the Product description.
    Shop -> Create Shopping Cart -> Internal Goods/Services
    Enter a pattern between the stars such as
    *cap*
    and then Click Start.
    System is not restricting the search output with the pattern
    *cap*
    . Instead it is displaying all the Products and search is not getting restricted by the search function.
    When I was searching for an OSS note to fix this issue, i found the note(1322462) to fix a similar issue with the Product ID.
    Do we have any SAP note to fix the issue with the Product Description? Please guide me.
    With regards
    Krishna
    Edited by: krishnadasan on Nov 12, 2010 7:37 PM

    Hi Muthu,
    Current service pack  is SP 13(SAPKIBKT13).
    I believe this SAP note 1322462 can resolve the issue with search function for the "Product ID". I will implement this note and let you know the result.
    Do we have any SAP note to solve the issue with the search function for "Product Description"?
    With regards
    Krishna

  • Basic Search functionality for KM documents folder without TREX

    Hi Knowldge Management Guru's,
    I am using default KM content management repository no external repository i have folders and sub folders and documents ( word, html, pdf, excel).I have enabled search button in tool area.
    What are the prerequisites to search documents in Content management /documents folder
    1. Do we need TREX is it must and mandatory for searching
    Does enterprise portal provide basic/default search functionality without integrating TREX or external/third party search engines.
    Please provide your inputs
    Helpfull answers will get "Max" points
    Regards,
    Murali
    Edited by: Murali Manohar on May 16, 2008 9:00 PM

    Hi
    if u r looking to search unstructred document ( km document) i dont think u have any other option other than using TREX. Check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/21/d49e420fc40b31e10000000a1550b0/frameset.htm
    If u r looking to search portal content then u dont need TREX.
    Spider search or google search can help
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9d1405fa743ef0e10000000a1553f7/frameset.htm
    Hardware requirement
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/c13c8a6cc70e5ce10000000a1553f7/frameset.htm
    TRex Configuration
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/bab1d48b0a1514e10000000a114a6b/frameset.htm
    Regards,
    Vijay.

  • Design Considerations for a Repository Manager in a clustered environment

    Hi,
    I am currently building a repository manager for a backend document management system.  Our portal is installed in a load balanced clusterd environment and we are creating the following functionality in the repostiory manager -
      -  Browse content
      -  Read/Write document Metadata 
      -  Upload/download documentation
      -  Reserve/Unreserve documentation
      -  Search
    How will a clustered environment affect the implementation of the repository manager?  Would I need to check for a clustered installation in any kind of way in my code?  Currently I do not see why this would be necessary, but i'm not entirely sure and I need this manager to work in a clustered environment.
    I could see this as being an issue if we are caching information about the documents in the repository.  However, we are not.  We will only be caching user information which can be stored separately in a single cache on each server. 
    Thanks for your help,
    Scott

    Hi Scott!
    There might be two reasons for knowing whether other cluster nodes are running or not and for communicating with them:
    - synchronizing access to the backend
    - synchronizing caches
    If your repository manager must care for serialized access to the backend you will have to synchronize cluster-wide. You don't have to, if your backend can handle parallel access on its own (like a web-server).
    If you cache data in your repository and you want to update the caches of the repositories on the other cluster nodes (maybe because you don't get events for changed data from your backend), you must think of sending messages between cluster nodes. You don't have to, if you think that the expiration of your cache entries is shorter than the required timeliness of the data.
    Kind Regards, Dirk

  • Help regarding search functionality... pls...

    Hello All,
    While selecting a Business Scenario/Process/Step in SolMan, the search functionality is not working.
    Is there any configuration that needs to be done for the search functionality to work?
    Pls help. Any information in this regard will be greatly appreciated.
    best regds,
    Alagammai.

    Hello SolMan Gurus,
    Pls help me.
    Does anybody have any idea about why the search functionality is not working when we try to select the Biz Scenarios from the Biz Process Repository?
    Any configuration needs to be done for the search functionality to work?
    Are is that a known issue with SolMan?
    Pls advise.
    best regds,
    Alagammai.

  • Partner function for customer through IDOC

    Hi All,
    I have a requirement in which I need to create the customer master through IDOC. I am using DEBMAS basic type for that. In its functionality, I need to assign different partner functions to it.
    When I create customer without giving any partner details,  4 entries get created by default with partner functions as BP, SP, PY, SH and KUNN2 value as INTERNAL or the same customer number which is getting created. But I want that the customer number provided by me should be assigned as partner function. Is there any way to change the default entry which is getting created so that I can replace the INTERNAL customer number with the one provided by me.
    I identified the segment as E1KNVPM in it at hierarchy level 3. I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field. But I am getting error Customer INTERNAL already exists for function <Partner function>.
    Am I missing something. Any msgfn or any other input.
    Please help me on this.
    Thanks
    Natasha

    Hi,
    Im facing similar problem
    Im trying to create the customer master through IDOC.
    I am using DEBMAS06 Idoc. 
    I need to assign two partner functions to it.
    When I create a customer with  giving  two partner details, 
    6 entries get created by default with partner functions as BP, RP, EM, SH and KUNN2 value as INTERNAL,
    two others entries (ZC,ZV) are created because this partner roles i defined to be created but KUNN2 hasnt assined value and request to fill it.
    I identified the segment as E1KNVPM in it at hierarchy level 3.
    I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field.
    But I am getting error when  "Customer INTERNAL already exists for function <Partner function>".
    Am I missing something. Any msgfn or any other input.
    How can avoid this error?
    Please help me on this.
    Thanks
    Armand

  • OWC PS5 - Content Presenter - Search functionality in custom list template

    We have created a custom list template for displaying the contents and use this custom list template in the content presenter task flow.
    We would need to implement Search functionality in the custom template.
    Any pointers on how to achieve this?
    Thanks,
    Navaneeth

    Sorry to see that this post hasn't had a response from the search team for so long.
    1 Search will not find content in portlets (for instance page portlets).
    That is correct. The content of portlets may be different for each user so indexing this content can provide misleading results. However, if you only need to index public content, Oracle Ultrasearch can be used to index all portal content, including that displayed through portlets.
    2 If Search Results Type in a custom search portlet is set to Pages, the search will be made in page display name, page keywords and page description. It will not search for item content.
    Searching for pages checks the following pieces of metadata:
    page name & display name
    keywords
    description
    all custom text attributes associated with the page type
    all custom url attributes associated with the page type
    all custom file attributes associated with the page type
    Items will not be searched but again, its possible to index the entire page using Ultrasearch.
    3 It is not possible to search for items but get found item's page links as results.
    This is incorrect. The custom search portlet allows the administrator to select the attributes that should be displayed from the search portlet's "edit-defaults" screens. From here, its possible to select the "page" attribute to be displayed with the search results. This means that you can search for items and then click on a link to go to the page on which the item resides.
    Various improvements have been made for 9.0.4, including better control over the display of page results.

  • Search function for own Shapes

    Hallo,
    i want to search for my selfmade Visio Shapes.
    The Visio search function can´t find my Shapes. I copied my Shapes in C:\Users\Username\Documents\My Shapes but is doesent work.
    What´s my mistake?
    Thanks in Advance

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which Visio's version do you use? Visio 2013 or other.
    Did you get some error messages? Like: Could not find a match.  Please search again.
    Did you search the build-in shapes?
    If you can't search all of the local shapes, this issue may be caused by the "windows search" option disabled. Please see this
    thread, I copied the suggestion here:
    ======
    I have new information on the issue with 64-bit systems and Visio 2007/2003 versions.  I was incorrect when I stated this was not able to work properly on 64-bit systems.
    The missing link in our testing has been the enabling of the Indexing Service after the installation of the 64-bit IFilter Pack from the download centerhttp://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=60c92a37-719c-4077-b5c6-cac34f4227cc 
    (Note that there are two downloads - choose the 64-bit one for your 64-bit OS)
    1) Ensure your OS has Indexing enabled:
       Windows 7 and Windows Vista: Control Panel / Programs / Turn WIndows features on or off / Enable "Indexing Service" / OK  [ restart if required ]
       Windows XP: Control Panel / Add or Remove Programs / Add/Remove Windows Components / Enable "Indexing Service" / Next / Finish
    2) Download and install the IFilter pack above. 
    3) Enable Visio shapes indexing.
        a) When Visio is first launched, it may prompt users to enable the Indexing Service.
        b) Manually - Open the Tools / Options dialog, select the Shape Search tab, click on Visio Local Shapes and then click the "Properties" button, ensure the option "Yes, enable Indexing Service" is selected.
        NOTE ... If Visio cannot find its Index catalog, you may see an error "1.  Visio Local Shapes - The Visio Indexing Service Catalog does not exist.  Please repair the Visio installation."  To recover from this,
    close Visio and all other Office applications, and use the Control Panel to repair the Visio installation, then restart your computer.
    Also -make sure that the Indexing Service is actually started, as it may be set to Manual startup versus Automatic.  Check in the Administrative Tools / Services app.
    After these components are installed / configured, restart the computer.  You may need to allow some time for indexing of your local files to be completed.  Once the indexing is complete, you should start to see improved results.  Let me know
    if this helps with searching for Visio shapes on 64-bit operating systems.
    =====
    If you have any update, please feel free let me know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].

  • Need a code for Customer exit for extractor 0WBS_ELEMT_ATTR

    Hi Guys,
    I need a code for following requirement.
    I have appended some fields to standard extractor 0WBS_ELEMT_ATTR which normally takes data from PRPS table. But the new fields will be getting data from PRTE and PROJ table. with common keys. Following is my code which is not working. Please help me out, I am not good in abap. Please note some lines are commented.
    Thanks,
    H
    CODE:::::
    form 0wbs_elemt_attr  tables i_t_data structure biw_prps.
      data: it_wbs_prps like biw_prps occurs 0.
      data wa_prps like it_wbs_prps.
    data: begin of it_wbs_prps occurs 0,
             PSPNR like prps-pspnr,
             POSID like prps-posid,
             PBUKR like prps-PBUKR,
             IZWEK like prps-IZWEK,
             USR10 like prps-USR10,
             USR00 like prps-USR00,
             USR02 like prps-USR02,
             OBJNR like prps-OBJNR,
           end of it_wbs_prps.
    data wa_prps like it_wbs_prps.
      data: begin of it_wbs_prps1 occurs 0,
              PSPNR like prps-pspnr,
              POSID like prps-posid,
            end of it_wbs_prps1.
      data wa_prps1 like it_wbs_prps1.
      data: begin of it_wbs_prte occurs 0,
              posnr like prte-posnr,
              PSTRT like prte-PSTRT,
              PENDE like prte-PENDE,
              ESTRT like prte-ESTRT,
              EENDE like prte-EENDE,
              ISTRT like prte-ISTRT,
              IENDE like prte-IENDE,
            end of it_wbs_prte.
      data wa_prte like it_wbs_prte.
      data: begin of it_wbs_proj occurs 0,
              PSPNR like proj-pspnr,
              PLFAZ like proj-plfaz,
              PLSEZ like proj-plsez,
            end of it_wbs_proj.
      data wa_proj like it_wbs_proj.
    refresh: it_wbs_prte, it_wbs_proj.
    *it_wbs_jest.
    if i_t_data[] is not initial.
    Get data from PRPS WBS Master Data
         select pspnr posid PBUKR IZWEK USR10 USR00 USR02 objnr
           into corresponding fields of table it_wbs_prps
           from prps
            for all entries in i_t_data
          where POSID = i_t_data-POSID.
         sort it_wbs_prps by posid.
    Get data from PRPS1 WBS Master Data
          select pspnr posid
           into corresponding fields of table it_wbs_prps1
            from prps
            for all entries in i_t_data
         where POSID = i_t_data-POSID.
        sort it_wbs_prps1 by posid.
    Get data from PRTE Scheduling Data for Project Item
         if it_wbs_prps1[] is not initial.
         select posnr PSTRT PENDE ESTRT EENDE ISTRT IENDE
           into corresponding fields of table it_wbs_prte
           from prte
            for all entries in it_wbs_prps1
          where posnr = it_wbs_prps1-pspnr.
         sort it_wbs_prte by posnr.
         endif.
    Get data from PROJ Project Master Data
         if it_wbs_prps1[] is not initial.
         select pspnr PLFAZ PLSEZ
           into corresponding fields of table it_wbs_proj
           from proj
           for all entries in it_wbs_prps
          where pspnr = it_wbs_proj-pspnr.
         sort it_wbs_proj by pspnr.
         endif.
    loop at i_t_data.
       clear: wa_prps1, wa_prte, wa_proj.
       read table it_wbs_prps into wa_prps with key
                  posid = i_t_data-posid binary search.
       read table it_wbs_prte into wa_prte with key
                  posnr = wa_prps1-pspnr.
       read table it_wbs_proj into wa_proj with key
                  pspnr = it_wbs_proj-pspnr.
             i_t_data-zzPBUKR = wa_prps-pbukr.
             i_t_data-zzIZWEK = wa_prps-IZWEK.
             i_t_data-zzUSR10 = wa_prps-USR10.
             i_t_data-zzUSR00 = wa_prps-USR00.
             i_t_data-zzUSR02 = wa_prps-USR02.
              i_t_data-zzPSTRT = wa_prte-PSTRT.
              i_t_data-zzPENDE = wa_prte-PENDE.
              i_t_data-zzESTRT = wa_prte-ESTRT.
              i_t_data-zzEENDE = wa_prte-EENDE.
              i_t_data-zzISTRT = wa_prte-ISTRT.
              i_t_data-zzIENDE = wa_prte-IENDE.
              i_t_data-zzPLFAZ = wa_proj-PLFAZ.
              i_t_data-zzPLSEZ = wa_proj-PLSEZ.
        modify i_t_data.
    endloop.
    endif.
    endform.                    " 0wbs_elemt_attr

    Hi,
    it_wbs_prps1 .
    If you are going to use this internal table to check for a null condition, shouldn't you first assign the data package to it?
    For example,   it_wbs_prps1 = i_t_data[].
    Because you are now using  it_wbs_prps1 to select data from a table and it doesn't have any data.
    Please check.
    -RMP
    Edit : Please ignore this. I didn't see that you are actually filling the internal table. Sorry!
    Edited by: RMP on Oct 18, 2010 12:16 PM

  • Grouping words in preview search function for PDFs

    Hi there,
    I'm looking to see if anyone can help me with the search function in preview. I would like to change the search function so that I can search an entire phrase rather than the individual words. For example, when I read business reports I might want to jump straight to the income statement, so I enter "income statement" in the search box. But instead of searching for the phrase "income statement", it shows all results for both "income" and "statement", giving me about 500 matches. Is there a way I can change this so that when I search for a phrase it only shows results for the entire phrase and not each word? Thanks.
    Regards,
    Saiyaman

    Ah, perfect! I've just tried it now and it works very well. Never knew I could do that. It helped me a lot, thank you very much!

Maybe you are looking for

  • Bug in SQL Workshop, SQL Scripts, Results page [Apex 4.0.1.00.03]

    I have some scripts that I have created to insert various rows into a table called level5. Most rows execute properly and the output shows "1 row inserted" as I would expect. But then some others give bizarre output on the Results page. Here are a fe

  • Website not displayed properly

    I am professional blogger and writes on my website http://www.2013ipl.in and http://www.iplfan.com for IPL related stuff which is sports events. I am using Worldwidelab theme which is using Wordpress platform. When I see my website using Mozilla for

  • I get a sever connection eror when I try to log in from my pc?

    I am getting a server connection error when I try to log in to my icloud dashboard from a pc. It started doing this a few days ago and still can't get in. I am running both Vista and windows 7. Can some one tell me what is happening? Thanks

  • Error -50 when opening a jpeg

    Try to open a jpeg saved in Image Capture and or Preview , or a .mov file and I get "error -50" with QT 7.0.3. I also get an "error -30" message at the same time, saying it can't open a different .mov file..a file I've never seen, heard of and neithe

  • I need to reinstall adobe premier.  I have my serial number, etc.  Where can I do this?

    I am merely trying to reinstall my old Adobe Premier Pro.  I can't seem to find where I can do this without having to pay any extra money.  Also, to get the new Premier Pro CC from my old CS6 program, what would this entail?