Oracle UCM search results

hi,
We have a requirement to sort results in UCM based on the number of times it has been accessed i.e the most accessed content item on top of the list. Is this the way UCM displays search results by default? If no, is there a way to achieve this?
Any kind of help is highly appreciated.
Thanks and Regards,
Nithya

I doubt you can do it out-of-the-box. The number you want to add is not available in standard metadata fields - it can be obtained if you turn on CONTENT TRACKER. Even if you do so, you will have to add this field to queries that search results are based on. This will definitely require some customization (IMO).

Similar Messages

  • Open UCM Search results

    Hello,
    I create a search page using UCM Search Data Control
    And showing result as
    <af:iterator value="#{bindings.Return.collectionModel}"
    var="hints" rows="#{bindings.Return.rangeSize}">
    <af:goLink text="#{hints.title}" destination="#{hints.URI}" inlineStyle="margin:5px"/>
    </af:iterator>
    This code allow download files. But content (*.xml) loading as files too.
    How i can get a full path link from search data control (like Administration Console -> Content -> Get Link) ?
    Where i can get a documentation about search data control (please give me any link)?

    I doubt you can do it out-of-the-box. The number you want to add is not available in standard metadata fields - it can be obtained if you turn on CONTENT TRACKER. Even if you do so, you will have to add this field to queries that search results are based on. This will definitely require some customization (IMO).

  • How can i download full search results

    I have a requirement of downloading the ucm search results. However the ucm search only gives 200 by default..
    How can i download full search results. plz share if u know.

    In this case, you can temporarily increase the number of returned rows as described e.g. here: increase the number of documents by result page

  • UCM 11g File missing from search result although file is accessable

    When I do search without any criteria in UCM 11g, some files missing from search result although I know the files were checked into UCM already since I'm able to see these files using url similar to:
    http://ucm/cs/idcplg?idcService=GET_FILE&dID=12345
    or use following url to get document information:
    http://ucm/cs/idcplg?idcService=DOC_INFO&dID=12345
    the file is not in the search resule even search by ID.
    also, the seach result say "displaying 1-20" but only display few files (e.g. 2 files, less than 20)
    Is this a known problem? the same search was working in UCM 10 perfectly.
    Thanks

    The query seems able to retrieve the missing document. for example, I search by content ID, in the audit log (eanbled as you mentioned) give th efollowing information:
    fusionappsattachments/6     09.13 06:22:03.878     IdcServer-3474     --- @ResultSet SearchResults ---
    fusionappsattachments/6     09.13 06:22:03.878     IdcServer-3474     numFields=66,*numRows=1*,currentRow=0
    also, the infomation following above give the deteail field information which match with the missing document.
    I looks like UCM just did not bring it to UI as part of search result.
    This seems match with my another finding as I mentioned earlier: the seach result say "displaying 1-20" but only display few files (e.g. 2 files, less than 20)
    it seems query did find the documents but UI did not show it.
    Not sure if this is a known bug.

  • Oracle text search in UCM

    When I use the oracle text search in UCM, I get an error:
    !csUserEventMessage,Administrador,lgcucmlabdev1.cpd.edinfor.pt:16200!$!csSearchUnableToReturnResults
    intradoc.common.ServiceException: !csSearchUnableToReturnResults
    *ScriptStack GET_SEARCH_RESULTS
    3:getSearchResults,**no captured values**
    at intradoc.server.SearchManager.retrieveSearchInfoAsBinder(SearchManager.java:295)
    at intradoc.server.SearchService.retrieveSearchInfo(SearchService.java:1846)
    at intradoc.server.SearchService.doLocalSearch(SearchService.java:1376)
    at intradoc.server.SearchService.getSearchResults(SearchService.java:670)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:550)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can anyone help me?
    Thanks

    The UCM forum is {forum:id=390}
    John

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • Oracle Text search returning no results

    Hi,
    I have created an oracle text (ctxsys.context) on a BLOB column which has various documents of .doc,.docx,.pdf, types.
    CREATE INDEX IND_RESUME_DETAILS ON RESUME_DETAILS (RESUME)
       INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('datastore ctxsys.default_datastore filter ctxsys.inso_filter sync (on commit)')
    However, the query using 'Contains' does not return any search results.
    select employee_number,Score(1) from resume_details where CONTAINS(RESUME,'JAVA',1)>0 order by score(1) desc
    On checking the  'ctx_user_index_errors' view , it has an entry for every row in the table. However, it does not show any error in the err_text column
    ERR_INDEX_NAME
    ERR_TIMESTAMP
    ERR_TEXTKEY
    ERR_TEXT
    IND_RESUME_DETAILS
    5/8/2014 18:27
    AAAl0GAAGAAEFoWAAC
    IND_RESUME_DETAILS
    5/8/2014 18:27
    AAAl0GAAGAAEFoWAAD
    IND_RESUME_DETAILS
    5/8/2014 18:27
    AAAl0GAAGAAEFoWAAE
    Even the index status shows 'VALID'.
    I tried dropping and recreating indexes, dropping and recreating the table.. However, it's not working at all.
    What's surprising is,it used to work earlier without any problems.
    I also have another context index on  another column on the same  table which is a varchar2 column. The search on that column works absolutely fine.
    The database version is
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Request someone in helping  me root cause this issue. Any help is appreciated.
    Thanks

    Hi Barbara,
    Still the same issue.
    Its putting an entry into 'ctx_user_index_errors' but with nothing in the err_text column..Hence, difficult to track what or where the problem lies.
    And moreover, the same index was working earlier. Just stopped working all of a sudden.

  • How to configure what is displayed in srfDocSnippet (Oracle Text Search)?

    I am using UCM 10gR3 with SiteStudio 10gR4. I installed the Oracle Text Search component and it is working well. One of the requirements for a search results page is the specific layout of the data displayed. srfDocSnippet returns a really ugly display if the search result return is just metadata. I didn't find any documentation in UCM on how to configure this display.
    How to you configure what is displayed in srfDocSnippet?
    Thank you,
    Ken

    How To get the Summary from CIS on Document Objects (Doc ID 837740.1)
    What is the Closest Equivalant toVdksummary option In Oracle Full Text Search (Doc ID 787173.1)
    those notes on MOS may help.

  • Oracle UCM custom Criteria Workflow

    I am looking for some help.
    I am trying to create a criteria workflow based on a document type. I have used the command wfrelease to commit all metadata to the repository in the entry step.
    The user in the workflow will either approve the workflow or select from a custom metadata field option list called "status". Once a user sets the value to "rescan" in the "status" option list I want the user to reject the workflow. Once rejected we want the workflow to be sent to an alias and not the original author.
    If the user sets the value of the "status" option list to either "return", "reroute", or "invalid" value and rejects the workflow then I want the workflow to be routed to a different alias.
    Is this very difficult to accomplish? What steps would I need to create? I am pretty sure somehow I need to create tokens for the 2 different aliases and call them on reject but I am having trouble putting all of this together.
    Thanks in advance for your help!

    Hey Data Bitz
    The good news is that yes, all this can be done with some configuration and a bit of workflow scripting.
    Several items:
    1) I'm not seeing a reason why you need to use WfRelease in the entry step. Workflow users can still access and alter the metadata for routing as you describe. Do you want the item to be indexed (to appear in the search results lists)?
    2) While there are several ways to do this I would envision a two step workflow. Step one is your "rejection handler" step 2 is your user review step.
    first time through content passes through step one with a criteria based jump in the entry event of that step. The criteria is along the lines of if step entry count <= 1 then jump .
    Make sure that step one is an edit and review step. Step two is where the user either approves or sets the status metadata field to some other value. If s/he approves, the content is released (or goes on to subsequent steps).
    If the status is changed then you want to trigger a rejection. This brings me to point 3...
    3) Do you want "rejection" or do you just want to rout the content to another set of users for review. The reason is that rejection is logged as a "rejection" Workflow Action in the database. If you are tracking or reporting against this then you'll want a "real" rejection. If you just want the item to be routed to an alias that is based on the value of the status field then this is different and can be achieved without a full blown rejection action. The choice is yours and the impact is really just on reporting and the routing behavior of the content object.
    4) so lets say the user sets the status to "rescan". Remember we're in step 2 here. Use the update event of step 2 to look for the Metadata Update action. Because the update event of the workflow step acts like a loop it is able to pick up the metadata updates that the user executes. Configure a jump in the step event to say +if there has been a metadata update action then check the value of the status metadata field.  if the value of the status metadata field is "rescan" then perform this action, if the value of the metadata field says some other value (either "not rescan" or "return", "reroute" etc) then perform this other action+
    5) So if you really want a true rejection then the this action from above will be a bit of IDOC to execute with WFREJECT service. You'll need to pass along the appropriate parameters for the service (see pp 348/349 of the services reference guide for the WF_REJECT service and required parameters. The guide is here: http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/services_reference_10gr3en.pdf). If you just want to route the content to another set of users then the this action and this other action are actually the same and you can jump back to step 1 with a jump script. While the actions are the same, the users will be different and we can handle this with some basic workflow configuration scripting as well. Now here is where the fun begins.
    6) So you're back in step 1 either because the WF_REJECT action happened or because you jumped here. The status field set to "rescan" or some other value like "return", "reroute" etc. Go back int the entry event of step 1. This is where the pass through code from item 2 above was written. The cool thing about the entry event is that it gets evaluated BEFORE step users are set and email notifications go out. This means that you can set any kind of user decision logic right in the event. So beneath the pass through code I would create another block of workflow scripting that does the following: gets the value of the status field - you can do this simply by referencing the metadata field name - e.g. myVar=xStatus. If myVar="rescan" then set a companion file variable to the name of the alias you want - e.g. +<$if myVar="rescan"$><$wfSet("reviewerAlias","YOUR_ALIAS_NAME")$><$endif$>+ If you're unfamiliar with the companion file, see pp 18 of the workflow implementation guide (link below). Think of it as a temporary memory cache for each item in workflow. It is a place where any key value pairs can be set and retrieved for any document as long as it is in workflow. Keep setting the value of "reviewerAlias" to the different alias names based on your IF condition. for example:
    +<$if myVar="rescan"$><$wfSet("reviewerAlias","YOUR_ALIAS_NAME")$><$elseif myVar="return"$><$wfSet("reviewerAlias","YOUR_OTHERL_ALIAS_NAME")$><$endif$>+
    7) Finally you have the content in the right step, you have evaluated the metadata and have set a variable in the companion file with the correct alias name you want to be the users for the step. The last thing is to retrieve that alias name and set that alias as the step user. Remember that workflow is able to set either individual user names (singly or CSV) or ALIAS names as step users. Remember that an alias in UCM is a list of user names. You will use a token in step 1 to retrieve the value of the companion file key and set the alias to be that user. The token code is straight forward but if you want a walk through then check out the adding ad hoc step users section in chapter 9 of the workflow implementation guide here:
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/workflow_guide_10gr3en.pdf
    Your token code will look something like this:
    <$wfAddUser(wfGet("reviewerAlias"), "alias")$>
    The wfAddUser function is the token code. It is what adds the step user and it take two parameters - parameter 1 is the name or names of a user or alias. parameter 2 is the type either "user" or "alias".
    So this give you a fully dynamic workflow that allows the routing of the items to be fully dynamic and driven off of metadata - something that is very easy for end users. It also allows the reviewers to be dynamically set using tokens and a bit of idoc. No coding outside of the workflow admin applet has to happen at all.
    Of course, my company, Fishbowl would love to talk with you more about what you're doing and see if we can provide any additional service to you. Please let me know!
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • WCP Framework 11g and SES 11g : search results are not secured

    Hello,
    We are integrating WCP 11.1.1.6 and SES 11.1.2.2
    we have quite a stunning issue here where the search results returned by a WCP Framework application are not secured, ie secured contents are returned in the search results for unauthenticated users and for users who have no permission on these contents.
    Though, the search results are well secured in the standard SES search interface (http://seshost/search/query/).
    The main concern is about results coming from WCC.
    Thanks for any help,
    Vince

    Hi Jiri,
    we managed to integrate UCM and WCP with Document Service taskflows and it works fine, ie security is well propagated for the roles we want.
    WCC/UCM and WCP authenticate users via WLS which is connected to an AD.
    SES has its own identity management system which authenticates users directly to the AD.
    We activated the SESCrawler component in WCC/UCM and the SES/UCM crawling process is OK.
    We can search for UCM contents in SES without issue and anonymous/unauthenticated search in SES doesn't return results from non-public security groups, which is what we want.
    WCP search is connected to SES (which is the default setting), eg from adf-config.xml:
    <searchC:adf-search-config xmlns="http://xmlns.oracle.com/webcenter/search/config">
    <display-properties>
    <common numSavedSearches="5" />
    <region-specific>
    <usage id="simpleSearchResultUIMetadata" numServiceRows="5" />
    <usage id="searchResultUIMetadata" numServiceRows="5" />
    <usage id="localToolbarRegion" numServiceRows="5" />
    </region-specific>
    </display-properties>
    <execution-properties timeoutMs="7000" prepareTimeoutMs="1000" />
    <crawl-properties fullCrawlInterval="P5D" enableWcServicesCrawl="true" enableWcDiscussionsCrawl="true" enableWcUcmCrawl="true" />
    <ses-properties>
    <connection>ses</connection>
    <data-group>SourceGroup</data-group>
    </ses-properties>
    </searchC:adf-search-config>
    So the problem is that anonymous/unauthenticated search in WCP does return results from non-public security groups, which is not what we want.
    eg: access to the WCP app (don't logon)
    run a search
    in the search results, you can see contents which are not assigned in the public security group. Though, the WCC/UCM guest role doesn't have any permission on these SG.
    I can't raise SR myself.
    Thanks for any help,

  • Need to create link to Word Doc in blob column in search results report

    I got the Oracle Text boolean search of word documents in a blob column of a table working.
    Now I need to be able to create a link in the results report.
    I know that Oracle creates a link for each document in the column when you attach a file, I just need to know what the link should be to allow users to open the document in the search results report.
    Right now the application is set to do a search in the attached word documents, and in the results window it shows the names of the people who match the search, but it won't allow me to create a link to their resume in the results report.
    the name of the table is CONTRACTOR_LIST and the blob column is RESUME.
    How would you go about creating a simple link to the word file in the results window?
    Here is the code for the query
    select score(1) relevance, Name, Resume
    from contractor_list
    where CONTAINS (resume, :P1_SEARCH, 1) > 0
    order by 1 desc
    That works, but I can't get it to link to the resume file.
    Here is the code I'm using for the link
    javascript:popupURL(&quot;#RESUMEL#&quot;)
    This just give me an error page and the the link is
    http://server-namer:8080/apex/[datatype]
    the error is
    Bad Request
    The HTTP client sent a request that this server could not understand.
    Thanks again!
    Edited by: gjones77 on Dec 2, 2008 6:14 AM
    Edited by: gjones77 on Dec 2, 2008 7:08 AM

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • How to display the search result without reloading the whole page

    HI,
    I have separate fragments for Search Box to enter keyword and Search Result to display the result. Also I have different sections within the page to put these fragments. So how could I display the results without reloading the whole page.
    Also if I have next button in my search result area, how could I display the search results in next page without reloading all other sections present in our page. Please let me know if any service or idoc function present such that result could be shown in search result section without reloading whole page.
    Please let me know how to restrict page reload for every action within a page.
    Thanks,
    Ramesh
    Edited by: Ramesh_Est on May 27, 2010 3:14 AM
    Edited by: Ramesh_Est on May 27, 2010 8:39 PM

    This is default behaviour of the template of your space. You can create a new page template and than you can create a region for the search results.
    Or you can create a custom taskflow were you use the webcenter taskflows to search for the space.
    Take a look at this white paper:
    Extending webcenter spaces: http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
    and this one:
    Customizing site templates: http://www.oracle.com/technology/products/webcenter/pdf/owcs_ps1_site_template_wp.pdf
    Edited by: Yannick.O on 13-Apr-2010 02:32

  • Error in saving search result in MDS application

    Hi All
    I'm developing a ADF customizable web appicatoion using jdeveloper 11.1.2.0
    It works fine when I deploy this application to metadata repository, but when I Save a search result in search panel it gives following error "You do not have permission to replace this search"
    This is my configuration in ADF-Config file
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="MAR_TargetRepos" path="/pages"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="MAR_TargetRepos">
    <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property value="mds-csd" name="repository-name"/>
    <property value="jdbc/mds/csd" name="jndi-datasource"/>
    <property value="owsm" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    Please help me to resolve this error

    Hi,
    you are trying to change a system search, which is not allowed for customization. You can save custom searches in MDS but not override system searches
    +"Query component now support the overriding the saved search functionality. When user click on the "Save..." button, "Create Saved Search" dialog comes up with name field populated with the currently selected saved search. If user enters a "System Search" name and click OK button, a error dialog stating "You do not have permission to replace this search:" is shown. If user enters an already existing saved search name then a warning dialog stating "Replace existing search:" is shown. On clicking OK existing search is replaced with the new definition. If a name that is not already present in the saved-search list is provided, a new search with the given name is created. For this a new event QueryOperationEvent.Operation.OVERRIDE is added.+
    +Query component now allows the deletion of saved-search which is currently active search in the query-panel. When user deletes currently active saved-search, we set the first search from system-search list as the currently active search, and refresh the query-panel when "Personalized Saved Search" dialog is closed. "+
    http://jdevadf.oracle.com/adf-richclient-demo/docs/release-notes.html
    Frank

  • Oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.

    Hi experts,
    I am trying to deploy a new version of a WC Portal application and when the deployment finishes successfully I cannot see the web page. The error is:
    Error 500--Internal Server Error
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
        at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
        at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
    Checking the output log I can see:
    <Jul 29, 2013 2:47:21 PM CEST> <Error> <HTTP> <BEA-101020> <[ServletContext@667149283[app:<App_name> module:<Module> path:/<Path> spec-version:2.5 version:V4.0]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
            at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
            at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
            at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
            at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
            at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/search/model/DataControls.dcx"
    I have checked similar errors in the forums and tried the solutions purposed but with no success. I do not understand why the application is looking for the DataControls.dcx file inside a standard WC Search library.
    Any help would be much appreciated.

    Hi Dani,
    Eventually I found the problem, it is reported in Oracle Support as Doc ID 1503173.1.
    It seems jDeveloper is a bit special when adding Directories to the MAR file. If the whole directory "/oracle" is added, the adf-config.xml introduces the following line:
    namespace metadata-store-usage="WebCenterFileMetadataStore" path="/oracle"/
    As a result, this diverts all /oracle/... file and class requests to MDS, which causes failures.
    So when editing the MAR deployment profile be careful to select the sub-directories under /oracle/webcenter/portalapp/ one by one.
    Added to this, I had to perform the cleaning process you suggested to make it work too, otherwise I get a different error...
    Final steps are:
    1. Undeploy application.
    2. Delete MDS partition.
    3. Shutdown managed server.
    4. Delete /cache and /tmp content for the managed server.
    5. Start managed server.
    6. Exectute Clean all in jDeveloper.
    7. Create a new mar deployment as described in SR 1503173.1.
    8. Deploy to EAR file.
    9. Deploy new application to managed server using Enterprise Manager.
    And it works!
    Thanks for your help!

  • 11.5.9/OAF 5.7 : how to add new fields in iProc "search results" page

    We need to add new fields into iProc "search results" page - "Personalize Self-Service Defn" is et, we can enter the personalization screens (from both the "master" link at top/right page level or from the link above the region) - anyway cannot find how to add new fields. Do we have to go to AK developer and/or XML files or is it feasable from OAF (as it is with 11510) ? TIA.

    It depends on what fields you want to add.
    1. If Oracle has included the fields, just render them via personalizations
    2. If they are brand new fields:
    a) you will need to extend the VO (I do not know the exact name).
    b) change the query to get your extra db columns if necesary
    c) add transient attributes to the VO and map them to b).
    d) Then you need to add the items via personalization and map them to the attributes you created in c)
    Check on metalink for the lates version of OAF Dev Guide and Personalization guide.
    Thanks
    Sandeep

Maybe you are looking for