Af:query and MDS for persisting searches

I have seen several references to persisting searches using the af:query component and MDS, but I can't find any information on how to do it. Can somebody please post some info on this topic? Is there an uptake doc or an example app that demonstrates how this is done?
I have looked on the Oracle doc site: http://fmwdocs.us.oracle.com/doclibs/fmw/E10285_01/appsdrop.htm
And I have searched the forums with no luck.
I am using Build JDEVADF_MAIN_GENERIC_081208.2002.5237.
Thanks!
Mike

Mike,
You're obviously an Oracle employee with access to internal Oracle websites and builds that the rest of the world cannot see.
You should ask on the internal Oracle forum.
John

Similar Messages

  • How do I get to the iWeb code so I may add my megatags and keywords for better search visibility

    Would like to maximize my iWeb made webpage on the web and utilizing megatags and keywords through my search engine.
    They say I need to add these words after my header in the code...how do I find the code?

    So you want to found but cannot find the information how to accomplish that?
    Funny, to say the least.
    Look at the right under the heading More like this.
    And search this forum. See picture below :
    Or wait for our resident SEO expert to tell you that for a fee.

  • Two Servers doing Query and Indexing for Search have red crosses for their rows.

    Hi,
    I have three servers under Search Application Topology:
    I have done a crawl reset and awaiting these to finish. Is this correct. I have also restarted both servers with the red crosses, but still they do not show up as ticked. I did run a command a powershell command reduce CPU usage by NodeRunner and
    also changed Max NodeRunner size to 200 in it's config. This is when things started to go wrong.
    Any ideas?
    Thanks.
    John.   

    Hi,
    I am glad to hear that your issue is solved.
    I find that setting the upper RAM usage of the Noderunner process to anything less than
    500MB would prevent the Admin components from loading and therefore the topology health states would not show in Search Administration.
    Setting the upper RAM usage of the Noderunner process to between 500MB and
    1GB, the Admin components would (mostly) load and the topology health states would show in Search Administration, but Search Crawls would consistently fail.
    Setting the upper RAM usage of the Noderunner process to anything above 1GB would allow Search to work correctly.
    Here are articles about performance Issue Caused By Node Runner In SharePoint 2013, take a look at:
    http://platinumdogs.me/2014/01/07/controlling-search-noderunner-memory-usage-in-sharepoint-2013/
    http://www.spdeveloper.co.in/sharepoint2013/optimizing-the-configuration-of-development-farm.aspx
    Best Regards,
    Lisa Chen
    TechNet Community Support
    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]

  • Adding keywords and phrases for high search engine hits

    I'm new to iWeb and most things seem to be working. I have one question and one problem, hopefully you guys can help out.
    Question: how do I add html code that is not visible on the page but that will help Google and other search engines find my page using keywords, phrases, etc.? Please assume I know very little about this and need the holding hand explanation.
    Problem: I have a media file portion on my website that displays pictures (working very well) and one that is supposed to show a movie (not working at all). The movie was made with iMovie and has an .m4v extension. When you click on the link for the movie it shows a blank screen on Firefox and a Quicktime logo with a big question mark on Safari. I'm attempting to view the website on my Mac with the latest Quicktime software on it but it doesn't work. Any ideas on how to fix it?
    Some additional info: the hosting provider is 1and1.com and I have a Windows server package (unfortunately). Also, if I publish the site to a folder the movie area works flawlessly, it just does not work on the hosted site.
    Thanks!!

    You don't need to do post publication manual editing of your site to add keywords and other metadata. You can use the freeiWeb SEO Tool. If you're publishing to MobileMe you can add them after publication. If you're publishing to a commercial hosting server you'll need to publish to a folder on the desktop, run SEO and then use a 3rd party ftp client like the free Cyberduck to upload your site.
    If you have to republish SEO remembers what you added and can quickly add them again before uploading.
    OT

  • JNDI, Active Directory and Persistent Searches (part 2)

    The original post of this title which was located at http://forum.java.sun.com/thread.jspa?threadID=578342&tstart=200 subsequently disappeared into the ether (as with many other posts).
    By request I am reposting the sample code which demonstrates receiving notifications of object changes on the Active Directory.
    Further information on both the Active Directory and dirsynch and ldap notification mechanisms can be found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/overview_of_change_tracking_techniques.asp
    * ldapnotify.java
    * December 2004
    * Sample JNDI application that uses AD LDAP Notification Control.
    import java.util.Hashtable;
    import java.util.Enumeration;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import com.sun.jndi.ldap.ctl.*;
    import javax.naming.directory.*;
    class NotifyControl implements Control {
         public byte[] getEncodedValue() {
                 return new byte[] {};
           public String getID() {
              return "1.2.840.113556.1.4.528";
         public boolean isCritical() {
              return true;
    class ldapnotify {
         public static void main(String[] args) {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=antipodes,DC=com";
              String adminPassword = "XXXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              String searchBase = "DC=antipodes,DC=com";
              //For persistent search can only use objectClass=*
              String searchFilter = "(objectClass=*)";
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //bind to the domain controller
                      LdapContext ctx = new InitialLdapContext(env,null);
                   // Create the search controls           
                   SearchControls searchCtls = new SearchControls();
                   //Specify the attributes to return
                   String returnedAtts[] = null;
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                         //Specifiy the search time limit, in this case unlimited
                   searchCtls.setTimeLimit(0);
                   //Request the LDAP Persistent Search control
                         Control[] rqstCtls = new Control[]{new NotifyControl()};
                         ctx.setRequestControls(rqstCtls);
                   //Now perform the search
                   NamingEnumeration answer = ctx.search(searchBase,searchFilter,searchCtls);
                   SearchResult sr;
                         Attributes attrs;
                   //Continue waiting for changes....forever
                   while(true) {
                        System.out.println("Waiting for changes..., press Ctrl C to exit");
                        sr = (SearchResult)answer.next();
                              System.out.println(">>>" + sr.getName());
                        //Print out the modified attributes
                        //instanceType and objectGUID are always returned
                        attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();System.out.println("   " + e.next().toString()));
                             catch (NullPointerException e)     {
                                  System.err.println("Problem listing attributes: " + e);
              catch (NamingException e) {
                          System.err.println("LDAP Notifications failure. " + e);
    }

    Hi Steven
    How can I detect what change was made ? Is there an attribute that tell us ?
    Thanks
    MHM

  • Enabling Create New Query and Personalize in Check Status

    Hi All,
    We followed below steps Enable Create New Query and Personalize in Check Status
    Go to the role of the user - PFCG - Authorizations - Change authorization data - Cross-application authorization objects - authorizations for Personal Object Work List (POWL) iViews
    Specified the application ID POWL_APPID - SAPSRM_E_CHECKSTATUS
    What should be done to enable define query and personalize for all users.
    We have changed the following settings -
    In activity POWL_CAT - '??' , POWL_LSEL-DISALLOWED - POWL_QUERY - ?? , POWL_RA_AL - ?? , POWL_TABLE - ??.
    With our current settings Create New Query and Personalize in Check Status appear but are disabled (greyed out)
    New Query Button appears but clicking on it produces no output.
    Nikhil
    Edited by: Nikhil Malvankar on Sep 12, 2011 5:57 AM

    You could the following to check if the Query still exists in the database:
    Open SQL Management Studio and connect to the SQL Server hosting the ConfigMgr database
    In SQL Managemnt Studio, Expand Database, Expand CM_YourSiteCode
    Expand tables and find the dbo.Queries table
    Right-click the dbo.Queries table and select Select Top 1000 Rows
    See if you can find your "ghost" Query
    Please note - it IS NOT supported
    to make direct changes to ConfigMgr database so I would properly call PSS on this one before you start getting creative.

  • Combine query and xml recordset

    I'm trying to see what's the best way to combine a query and
    XML recordset.
    Database:
    TableA
    FieldA, FieldB, ...
    Joe, 1
    Bob, 2
    XML from Web Service
    <record id="1" att="Job A" .../>
    <record id="2" att="Job B" .../>
    Need to link TableA.fieldB to matching id attribute from the
    XML recordset.
    Right now, I load theXML recordset along side the query and
    use XPath to search the XML based on parameters from the query that
    I'm looping and output the results to screen.
    <cfloop ...>
    xmlStr = xmlSearch(xmlRecordset,"/root/record[id =
    #qry.fieldB#]");
    <tr><td>qry.fieldA</td><td>xmlStr</td></tr>
    </cfloop>
    Just wondering to see if it's good to do it like this.

    Might be faster to convert the xml to a query and then use
    query of queries with a join statement.

  • How to implement Quick Query and Saved Searches in ADF?

    We are using 11gR2 ADF.
    The requirement is to enable Quick Search and save the Searches.
    In the Oracle ADF documentation, it is mentioned that
    - Create a view with view criteria named.
    - In the .jspx drag and drop the view criteria and Select Quick Query
    Upon doing the above, we see that a Search panel is getting created, but with a message 'No Search Fields Added'.
    In the named view criteria, Under 'UI Hints' we have set
    -- execution mode as Both
    -- Search region mode is Basic
    -- Show Operators in Basic
    Under 'Criteria Definition'
    the attributes are added in a group with OR condition.
    Thanks for your reply. Oracle ADF developer guide does not help!!
    If you have any other documentation that helps in implementing this Quick Query and Saved Search, your help is greatly appreciated.

    Set the following on your af:query component
    SaveQueryMode = hidden
    ModeChangeVisible = false
    This should work for you ..
    Regards,

  • Different LOVs in af:query and af:form for the same VO attribute

    Hi,
    We need to display different LOVs in af:query and af:form for the same attribute in VO.
    Is it possible to use LOV Switcher for this ?
    What condition can we use in LOV Switcher attribute to check if it is View Critearia row or VO row ?

    We have a VO attribute "User" which needs to be displayed as LOV in a Search Panel ( af:query component created using View Critearia ) and in a af:form.
    When this VO attribute is displayed in search panel, in LOV, we need to show all users.
    When this VO attribute "User" is displayed in a form for editing, in LOV, we need to show only active users.
    For this, we created two LOVs "ActiveUsersLOV" ( which shows only active users ) and "AllUsersLOV" ( which shows all users ) on VO attribute "User".
    LOVSwitcher attribute should return "ActiveUsersLOV" if the LOV is displayed in form and "AllUsersLOV" if the LOV is displayed in search panel.

  • How to change the lable text for a search parameter in af:query

    Hello.
    I have a db table with a column "Date Requested". I have created a search functionality using the ViewCriteria with bind variables to filter the results in a given date range based on the Date Requested Column. I have used it as the af:query with table as results on the screen.
    I want to change the label on the screen for that search attribute as "From Date" and "To Date". Right now I see the Date Requested as the label name in the af:query component
    Please let me know if you have any suggestions.
    Thanks,
    Vinay Polisetti

    Vinay,
    Not Sure. As per the below threads there is a bug (bug 12806987) raised for this sometime back. Not sure about the status of it.
    View Criteria: I can´t change the labels to bind variable
    Label of bind variables with Criteria inside ViewCriteria
    You could probably try the follow the below link and try to change it programatically.
    Binaries: Customizing the <af:query> component display by overriding CriteriaItemAttributeHints
    Cheers
    AJ

  • Af:query not fetching records when VC Modified for advance search

    Gurus,
    I have a view criteria and using it i have a af:query component in my page. When i run the page i see the fields in the search box correctly. However i see another LOV in the search which has options like "Equals","Between", "Does not contain" etc. Though this option is good for 1 search criteria, it is not of any use for another. How can i remove it from the search criteria that i dont want
    thnks
    Jdev 11.1.1.5.

    you would need to add the following to the view criteria item in the view criteria definition for the VO - in order NOT to show any of the operators.
    <CompOper
                Name="DepartmentName"
                ToDo="-2"
                Oper="">You would need to do - by open the VO.xml and add this xml snippet - which would ensure that the operators are NOT shown in the query panel.
    Sample:
    For Departments VO, say there is a view criteria that defined on department id and department name and you do NOT want to show the operators.
    After defining the VC, open the VO file - add the above.
    <ViewCriteria
    Name="DepartmentsVOByDeptIdorDeptName"
    ViewObjectName="com.samples.model.DepartmentsVO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="Always"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    </CustomProperties>
    </Properties>
    <ViewCriteriaRow
    Name="vcrow0"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="DepartmentsVOCriteria_vcrow0_DepartmentId"
    ViewAttribute="DepartmentId"
    Operator="="
    Conjunction="AND"
    Required="Optional"/>
    <ViewCriteriaItem
    Name="DepartmentsVOCriteria_vcrow0_DepartmentName"
    ViewAttribute="DepartmentName"
    Operator="STARTSWITH"
    Conjunction="AND"
    Required="Optional">
    *<CompOper*
    Name="DepartmentName"
    ToDo="-2"
    Oper="">
    *</CompOper>*
    </ViewCriteriaItem>
    </ViewCriteriaRow>
    </ViewCriteria>
    Thanks,
    Navaneeth

  • I have had Itunes installed on my laptop for many years. I t started malfunctioning so I uninstalled it. I tried to reinstall and there is persistent error in installing . What is the problem ? How can I solve this?

     

    "It started malfunctioning so I uninstalled it".
    That may have been necessary, may not have.
    "I tried to reinstall and there is persistent error in installing.  What is the problem?"
    No clue.. you've not provided us any details. 
    "How can I solve this?"
    Search these forums or google for the error occurring or post the error so that others can help you.

  • How to create the Query and T Code for Special Reports

    Dear Freinds,
    Could any one advise the process to create the Query and the T code for some special combination of reports. Where can we find the documentation on this if that exists?
    Thanks for the help.
    Regards
    Moderator: Please, search SDN - you'll find the answers

    HI
    Go to Tools -->ABAP WorkBench -->Utilities --> SQVI QuickViewer ( Query Builder)
    Go to Tools -->ABAP WorkBench -->Utilities -->SAP Query -->SQ01,SQ02,SQ03
    first create Infosets in SQ02, Assign Infoset to UserGroups in SQ03 and create a Query in SQ01.
    Create a Transaction Code in SE93.
    regards
    Venkat

  • Query string such as a search engine for oracle

    first of all ,sorry for my English but i'll try to explain clearly as i can !!
    i would like to get a result from query that order by most match in each record
    for example :
    input value is "football world cup" ; so there are 3 words to find; "football","world","cup" (i split this string with space)
    and there are 3 columns in table to find
    the result must have to return any records that found 3 words in same record
    and follow by any records that found 2 words in same record
    and follow by any record that found each word
    now i'm doing it like this :
    select distinct * from (
       select * from tbl_1 where
       (col_1 like '%football%' or col_2 like '%football%' or col_3 like '%football%')
       AND (col_1 like '%world%' or col_2 like '%world%' or col_3 like '%world%')
       AND (col_1 like '%cup%' or col_2 like '%cup%' or col_3 like '%cup%')
    UNION ALL
       select * from tbl_1 where
       (col_1 like '%football%' or col_2 like '%football%' or col_3 like '%football%')
       AND (col_1 like '%world%' or col_2 like '%world%' or col_3 like '%world%')
    UNION ALL
       select * from tbl_1 where
       (col_1 like '%football%' or col_2 like '%football%' or col_3 like '%football%')
       AND (col_1 like '%cup%' or col_2 like '%cup%' or col_3 like '%cup%')
    UNION ALL
       select * from tbl_1 where
       (col_1 like '%world%' or col_2 like '%world%' or col_3 like '%world%')
       AND (col_1 like '%cup%' or col_2 like '%cup%' or col_3 like '%cup%')
    UNION ALL
       select * from tbl_1 where
       (col_1 like '%football%' or col_2 like '%football%' or col_3 like '%football%')
       OR (col_1 like '%world%' or col_2 like '%world%' or col_3 like '%world%')
       OR (col_1 like '%cup%' or col_2 like '%cup%' or col_3 like '%cup%')
    )this query is generated by java program and it works well
    i think this query is suitable for input value that less than 3 words (cos it's not too large) ,but if input value is more than 3 words
    so this query will be generated too large and nobody do like that ,i think
    so ,do you have any suggesstions or solutions for this problem ??
    thanks in advance :)
    Edited by: user4463440 on Sep 12, 2010 12:14 PM

    Hi,
    Welcome to the forum!
    Whenever you have a quetion, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data. Explain how you get those results from that data. Say what version of Oracle you're using.
    For example, the data might be:
    CREATE TABLE     tbl_1
    (     tbl_1_id     NUMBER (6)     PRIMARY KEY
    ,     col_1          VARCHAR2 (20)
    ,     col_2          VARCHAR2 (20)
    ,     col_3          VARCHAR2 (20)
    INSERT INTO tbl_1 (tbl_1_id, col_1, col_2, col_3) VALUES (1, 'world c',       'up',               'soccer world');
    INSERT INTO tbl_1 (tbl_1_id, col_1, col_2, col_3) VALUES (2, 'FOOTBALL',  'world wide web',  NULL);
    INSERT INTO tbl_1 (tbl_1_id, col_1, col_2, col_3) VALUES (3, 'Foot',       'ball',          'theworldcup');
    INSERT INTO tbl_1 (tbl_1_id, col_1, col_2, col_3) VALUES (4, 'Foo',       'Bar',          'Crup');
    CREATE GLOBAL TEMPORARY TABLE     target
    (     target_txt     VARCHAR2 (20)
    ON COMMIT PRESERVE ROWS
    INSERT INTO target (target_txt) VALUES ('Football');
    INSERT INTO target (target_txt) VALUES ('World');
    INSERT INTO target (target_txt) VALUES ('Cup');I think the results you woulkd want from that data are:
    TBL_1_ID COL_1           COL_2           COL_3            NUM_FOUND
           2 FOOTBALL        world wide web                           2
           3 Foot            ball            theworldcup              2
           1 world c         up              soccer world             1
           4 Foo             Bar             Crup                     0because the rows with
    tbl_1_id 2 and 3 both matched 2 of the target words (col_3='theworldcup' matched both 'world' and 'cip',
    tbl_1_id=1 matched only 1 (the 'c' at the end of col_1 and 'up' at the beginning of col_2 do not combine to make 'cup', and 'world' in 2 columns only counts as 1 match), and
    tbl_1_id=4 matched none.
    One way to get those results in Oracle 9 (and up) is:
    ELECT       t.tbl_1_id, t.col_1, t.col_2, t.col_3
    ,       COUNT (DISTINCT UPPER (g.target_txt))     AS num_found
    FROM            tbl_1          t
    LEFT OUTER JOIN       target     g     ON     UPPER (t.col_1) || ' ' ||
                                  UPPER (t.col_2) || ' ' ||
                                  UPPER (t.col_3)
                             LIKE     '%' || UPPER (g.target_txt)
                                      || '%'
    GROUP BY  t.tbl_1_id, t.col_1, t.col_2, t.col_3
    ORDER BY  num_found     DESC     NULLS LAST
    ,       t.tbl_1_id
    ;This will work with any number of target words.
    The searched columns in tbl_1 must be hard-coded into the query, but it's easy to add as many as you need.
    This assumes that you can create a table to hold the target words. If your application is getting a delimited list, it should be easy to have it parse the list and INSERT as many rows as necessary into the target table. A Global Temporary Table might be best for the target table; that way, different sessions could run the query at the same time, each with its own set of target words.
    If you can't create a target table, then you can pass a delimited list, and have the query create a result set that has one target word on a row. See the following thread for an example:
    i don't won't to tokenize in plsql
    I hope this answers your question.
    If not, change the sample data (if needed), and post the results you want from that data, with an explanation with specific examples.
    Edited by: Frank Kulash on Sep 12, 2010 8:14 PM
    Chnaged "CREATE TABLE target" statement

  • Redefining Query method for BP search

    Hi All,
    I added sales office and sales group field in BP search page (COMM_BUPA_SEARCH) ,
    I created child class for CL_BSP_BP_ACCMOD i.e. ZCL_BSP_BP_ACCMOD and tried to redefined Query method.
    But in IF_CRM_BSP_MODEL_ACCESS_IL~QUERY there are some private attribute of Super class, because of that I am facing the error.
    Please advise me in
    1) What should I do to add sales office and sales group in query  criteria .
    2)To add sales office and sales group fields on search screen I created new field group and add that in BUP_BUS1006_SEARCH_ALL_FIELDS (Group type attribute is set to Screen Group) But on page the title of screen group is still "Search By Role", insted of "Search by sales Info" (This is description of newly added field grp)
    Swanand

    1) If am not mistaken, there is a variable in the standard SAP program called lv_where_clause for the search query.But this would be a modification. try looking into this program SAPLCRM_BUPA_BSP_SEARCH_ACC. try putting a break point and see if this is where you wanted to add the field in your query.
    Thanks,
    Shailaja

Maybe you are looking for

  • Data Modeler: Editing or creating a view "crashes"

    Hi all, some days ago I've created a view in my relational model using the data modeler (SQL Developer 3.2.20.09). Today I wanted to add some more columns. Unfortunately the property pane doesn't open any more when double clicking the view object (fo

  • After System restore from Time Capsule Mail doesent work

    HI i resored my Time capsule backup on my mac because of the need for space to install windows on my mac (Boot camp doesent works!) i can use all my programms and data well exept Mail when i start mail it Flashes: You can't use this version of Mail w

  • Oracle RAC 10g on VMware

    I am installing Oracle RAC on 2 virtual machines using RHEL 3-U7, basically I have been able to install RAC and the software for the database. However when I run dbca to configure ASM, I get Error When starting ASM instance on node node1 PRKS-1009: F

  • How to trigger a workflow from event - newbie question

    Hi, I have a simple workflow, with the start node triggered by an XML event. What JMS destination I am supposed to send the XML document to in order for the workflow to be triggered. I thought that it was the wlpiEvent, but the workflow doesn't start

  • Camera Raw opener on CS5 for Cannon 5D Mark III, I can not fine page to load this.

    Please Help, My lap top can not open Raw files, with massage " Get latest version on Camera Raw opener". I can not fine the  place to getting one to load.