How to implement search in Oracle Apex 3.2?

I am new to orale apex & i want to impelment keyword based search in my app. I want a textbox on page 0 so that this textbox will come on every page. User will enter the search criteria & clieck on search button, app. will search that keyword in database & if found will redirect to that page other messa eg to the user.
Any help would be highlt appretiated...
Thanks,
-Amit

Create Page 0;
- Add a HTML Region to it
- Add a Texfield to it within the region
- Add a Button to it within the region
- The button should branch to the to page where the details will be shown (let's say Page 2).
On page 2 you will have a report with the details. The code may look something like this:
SELECT * FROM DETAILS_TBL WHERE ID = :P0_TEXTwhere P0_TEXT is the name of the textfield.
Mike

Similar Messages

  • How to implement this in Oracle Apps 11i

    Hello Friends
    I am working as a consultant for a manufacturing company.
    They have a format for charging Excise and Sales tax on their products (example below). I dont know how to implement this using oracle apps. Please help me ASAP.
    eg.
    Product A:
    MRP = Rs. 100
    Assessable Value (i.e. the value at which I have contract with the Government to pay Excise Duty) = 60% of MRP = Rs. 60 in this case.
    Excise Duty = 16% of AV =0.16*60 = Rs. 9.6
    Now, let’s suppose I am selling my product to a dealer at 30% discount.
    Therefore, Sale Price = 70% of MRP = Rs. 70
    Sales Tax = 4% of Sale Price = 0.04*70 = 2.8
    Therefore, total revenue from the deal = 70-9.6-2.8 = Rs. 57.6

    you can use Advance Pricing or creating discount or attiribute while calculating.
    this is not much complex, possible even with Advance Pricing too. Thanks
    Shiv

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • How to implement search engine for pdf file.

    Hi
    I am newbie to AIR technolgy .how  to implement search engine . when i enter the name of file in search box , it should fetch correspoding  the pdf file .
    Please help me out
    Thanks
    Mohan

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • How to Implement SSL with Oracle Applications R12 without using Load Balanc

    How to Implement SSL with Oracle Applications R12.1.3 without using Load Balancer

    Please refer to (Enabling SSL in Release 12 [ID 376700.1]).
    Thanks,
    Hussein

  • How to implement SEARCH HELP for input field in WDA

    Hi All,
    I am doing a tool for my team. in this tool there are 4 input fields to show different processes. I implemented the 4 input fields and also bind the respective tables to these fields successfully. Actually I want to filter the data between 2 fields . Means the data in the 2nd input field should be based on the 1st input field. Means when I'll select for example 'CHI' (code for CHINA) in the 1st input field the 2nd field meant for country name should show all country name with value 'CHINA'. But the problem is that all values related to each field are in different table with no foreign key relationship and also some combinations are in single table..
    I have tried the import and export parameter method for search help but no luck till now.
    Can anyone please suggest me how to implement this scenario..
    Thanks in advance...
    sekhar

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • How to implement countdown timer in apex

    Hi all,
    I want to implement timer in my application.i am working on apex 4.0 version.I am developing online test application,so for this i want to display timer for test.
    can anyone suggest me how can i implement countdown timer in my application.
    thanks
    jitu

    Hi,
    You can refer "Martin Giffy D'Souza's" Enhanced APEX Session Timeouts example
    http://www.talkapex.com/2009/09/enhanced-apex-session-timeouts.html
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Implementing Search Filed in apex 4.1

    Hi All,
    I am new to APEX
    I have an application, which is based on SQL query. For that apllication i want implement a search function based on particular column.
    For Ex: I have name column in the application, So in the search text filed when i any type a string present in name column it should redirect me to the same page by filtering the records on that search criteria
    when the criteria matches
    else if it doesn't matches the search criteria appropriate message "not found" should be displayed.
    the report i have for this is classic report.
    Please anybody guide me on this as i need this on urgent basis.
    Thanks

    Hi,
    This is my code
    select * From (
    select
    apex_item.checkbox(21,'#ROWNUM#','UNCHECKED') " " ,
    APEX_ITEM.HIDDEN(1,ptr.row_id)||APEX_ITEM.text(22,ptr.country_code||'-'||ptr.name) partner,
    ptr.row_id,
    ptr.country_code,
    cmp.country_description,
    ptr.name,
    ptr.gsrt_category,
    ptr.gcm_ptr_category,
    APEX_ITEM.TEXT(19,ptr.opn_number_esrt,5) opn_number_esrt,
    ptr.company_id,
    count(ptr.emea_category),
    apex_item.select_list_from_query(23,ptr.emea_category, 'select category_description,category from fridge_esrt_ptnr_cat_mst') cat,
    apex_item.select_list_from_query(24,ptr.partner_group, 'select partner_group,group_id from APEX_SRT_PTNR_GROUP') partner_group,
    apex_item.select_list(25,ptr.global_isv,'Y;Y,N;N') global_isv_flg,
    apex_item.select_list(26,ptr.specialised_partner,'Y;Y,N;N') specialised_partner_flg,
    apex_item.select_list(27,ptr.opn_membership_level,'Diamond;Diamond,Platinum;Platinum,Gold;Gold,Silver;Silver,Remarketer;Remarketer') opn_membership_level,
    apex_item.select_list(28,ptr.high_impact_stl,'High Impact Partner;High Impact Partner,Managed Partner;Managed Partner,Partner STL;Partner STL') high_imp_ptr,
    apex_item.select_list(29,ptr.managed_ptr,'Strategic;Strategic,Managed Partner;Managed Partner,Investment;Investment') managed_ptr_flg,
    apex_item.select_list(30,ptr.we_apps_type,'Transformational,Best-in-Class,C-Level') we_apps_type,
    apex_item.select_list(31,ptr.isv_ready_status,'Y;Y,N;N') ptr_stl_account,
    round(sum(srt.cd_sum/1000),4) cd_sum
    from apex_srt_partner ptr
    left outer join apex_ptr_revenue_a srt on ptr.name = srt.partner_name and substr(ptr.country,1,3) = srt.country_code
    left outer join oxo_cube.l_company_d cmp on srt.country_code = cmp.country_code
    where
    cd_sum>0 and ptr.emea_category <>'DIR' and
    ptr.country_code in(select country_code from ept_sec_apex_data_vis where upper(trim(user_email))=upper(trim(:APP_USER)))
    and
    (case when :P1_CATEGORIES is null then 'X'
    else emea_category end) = nvl(:P1_CATEGORIES, 'X')
    and
    (case when :P1_PNAME is null then 'X'
    else name end) like '%'||upper(:p1_pname)||'%'
    and
    (case when :P1_COUNTRY is null then 'X'
    else cmp.country_code end)  = nvl(:P1_COUNTRY, 'X')
    and
    (case when :P1_REGION is null then 0
    else cmp.region_seq end)  = nvl(:P1_REGION, 0)
    and
    (case when :P1_CLUSTER is null then 0
    else cmp.cluster_seq end)  = nvl(:P1_CLUSTER, 0)
    and
    (case when :p1_subcluster is null then 0
    else cmp.sub_cluster_seq end)  = nvl(:p1_subcluster, 0)
    and
    (case when :p1_fiscalmonth is null then 'X'
    else srt.fiscal_month end)  = nvl(:p1_fiscalmonth, 'X')
    having count(ptr.emea_category)=1
    group by ptr.row_id,
    ptr.country_code,
    cmp.country_description,
    ptr.name,
    ptr.gsrt_category,
    ptr.gcm_ptr_category,
    ptr.opn_number_esrt,
    ptr.company_id,
    ptr.emea_category,
    ptr.partner_group,
    ptr.global_isv,
    ptr.specialised_partner,
    ptr.opn_membership_level,
    ptr.high_impact_stl,
    ptr.managed_ptr,
    ptr.we_apps_type,
    ptr.isv_ready_status
    order by cd_sum desc)
    where(
    instr(upper("NAME"),upper(nvl(:P1_PNAME,"NAME")))>0
    )Thanks
    Edited by: 917574 on May 30, 2012 1:28 AM

  • How to implement callout in Oracle B2B 11g

    Hi,
    I am referring to the document http://docs.oracle.com/cd/E23943_01/user.1111/e10229/callouts.htm#CHDEFBDG and trying to implement callout for a specific requirement.
    Initially i want to implement the callout using simple XML-XML transformation . For this i have done couple of settings in oracle B2B but unfortunately it is not working. Below is the detailed steps.
    1) I have copied a example java Code Example of an XML-to-XML Transformation in section 13-2 of the above mentioned document to JDeveloper, compiled the code and created the jar file (TestCallout.jar).
    2) I have copied the .jar file to a specific path (ex: D:\Oracle\Middleware\user_projects\MyCallout ) and mentioned the same path in B2B UI / Configuration tab/ Callout Direcotry.
    3) Created a New .xsl file using Jdeveloper where i am mapping from one format of XML schema to another format of XML schema.
    4) I have created a new callout in the callout tab and below are the details:
    Implementation Class : com.mycallout.XMLTransform
    Library Name : TestCallout.jar
    Now please suggest me where i can mention the path of .xsl file which i have created, in Oracle B2B callout UI ?
    What parameter name and value should i mention in the parameters section?
    Below are my XSL file :
    <xsl:stylesheet version="1.0"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://www.example.org"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns1="http://www.example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl ns0 ns1 xsd xp20 bpws aia mhdr bpel oraext dvm hwf med ids bpm xdk xref ora socket ldap">
    <xsl:template match="/">
    <ns0:Input>
    <ns0:OrderType>
    <xsl:value-of select="concat(/ns1:OredrStatusInquiryRequest/ns1:BranchPlant,/ns1:OredrStatusInquiryRequest/ns1:OrderType)"/>
    </ns0:OrderType>
    <ns0:OrderNumber>
    <xsl:value-of select="/ns1:OredrStatusInquiryRequest/ns1:OrderNumber"/>
    </ns0:OrderNumber>
    <ns0:Item>
    <xsl:value-of select="concat(/ns1:OredrStatusInquiryRequest/ns1:LineNumber,/ns1:OredrStatusInquiryRequest/ns1:Item)"/>
    </ns0:Item>
    </ns0:Input>
    </xsl:template>
    </xsl:stylesheet>
    Please help me to move further.

    Now please suggest me where i can mention the path of .xsl file which i have created, in Oracle B2B callout UI ?In the step#4 itself, you need to add callout parameter with name "xsltFile" which should be of type string and value of this parameter should be absolute path of XSL file (including file name). So suppose you have copied the xsl in directory C:\xsl and name of XSL file is abc.xsl then value of parameter "xsltFile" should be C:\xsl\abc.xsl
    Regards,
    Anuj

  • How to implement search help instead of match code objects table in program

    Hi,
    We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
    We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
    in EC6.0.  And search help VMVLC is available.
    In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
    in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
    I want to know how to replace this matchcode object table with the search help in the program.
    Thanks,
    Abirami.

    Hi,
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
    Regards,
    Amit

  • How to Implement search Refiners for social tagging in SharePoint 2013

    Hi Sharepointers,
    Scenario is that when i add tags to Site Collection I can be able to refine that Site url with the tag term in Enterprise Search. I had implemented refined search with Managed Metadata Column in Custom List and Document Library. But now I need to implement
    Refined Search for Social tags. Need Valuble suggestions
    Thanks,
    Vinnarasi

    Hi Anil Avula,
    Thanks for your reply. Already I had used "Refinement" Webpart for having Search Refiners in List Level. I had referred
    Add
    Search Refiners link. Now my requirement is that, When I add a tag (i.e)Social tagging in "Tags&Notes"  for a Site Collection and search for
    the tagged-term, Search results should be refinable for the tagging. Hope to have a reply
    Thanks,
    Vinnarasi

  • How to implement this multi-langual APEX apps

    My requirements are:
    - login page has a dropdown of two languages: English (en-us) and French (fr)
    - page is refreshed when dropdown value has changed.
    - language is selected at login page, and this language setting cannot changed during session.
    - Use cookie to store the selected language, and this language is selected once the login page is launched next time.
    Implementation:
    Globalization Settings
    - primary lang = en-us
    - Application lang derived Form = item preference
    - do the translation in XLIFF files
    Login Page
    - create a SELECT LIST with name "FSP_LANGUAGE_PREFERENCE", list of value definition "STATIC:English;en-us,français;fr"
    - After Submit
    owa_util.mime_header('text/html', FALSE);
    owa_cookie.send(name => 'LANG', value=> :FSP_LANGUAGE_PREFERENCE, expires => sysdate + 30);
    - Before Header
    l_cookie := owa_cookie.get('LANG');
    l_value := l_cookie.vals(1);
    :FSP_LANGUAGE_PREFERENCE := l_value;
    Problems:
    When the cookie is stored with value "fr", the droplist is "francais" but the page is not in French,. Also, I don't know how to set the refresh the page when dropdown value is changed.
    Any suggestion ?

    hello
    About Refresh of the page when the value is selected:
    You need to change the type of select list to select list with submit/redirect and put also a Branch in the page so the app could know where to go after submit/redirect.
    About the cookie problem:
    I think that the setting of the value on the page doesn't make this value is set in app.
    After setting this value to any field (TEXT or LOV) you need to submit the page so the value will stick.
    I remember having the same problem but didn't solved it. :/
    And also I don't know if this matters but it's faster:
    l_cookie := owa_cookie.get('LANG');
    :FSP_LANGUAGE_PREFERENCE := l_cookie.vals(1);
    regards
    piotr

  • ADF 11g: How to implement search form with automatic substring search

    We have ADF search form and result table on the same page. Say, VO that this search form is based upon is famous Employee table from HR schema. What we need is a logic when user enters partial employee first name ie: 'jo'...it should return 'john', johnny, joanne etc...
    just like if user would use wildcard %
    What worked in 10g ADF was something like this:
            AccessServiceImpl svc = (AccessServiceImpl)JSFUtils.EL("#{data.AccessService.dataProvider}");
            BirthViewNewImpl b = svc.getBirthViewNew();
            ViewCriteria vc = b.getViewCriteria();
            String staffId = JSFUtils.getFromSession("staffId").toString();
            String studyId = JSFUtils.getFromSession("studyId").toString();
            if (vc != null) {
                System.out.print("BR " + studyId + " " + staffId + " ");
                AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
                Iterator criteriaRows = vc.iterator();
                while (criteriaRows.hasNext()) {
                    ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
                    if (r != null) {
                        for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
                             if (JboTypeMap.isCharType(defs[j].getSQLType())) {
                                 String val = (String)r.getAttribute(j);
                                 String col = defs[j].getColumnName();
                                 if (val != null) {
                                     System.out.print(col + "=" + val + " ");//just to see what is going on
                 System.out.println("");
            b.searchRecords();//method in VO that executes query
             * This is now very wrong.... Very artificial way to eliminate % from the UI
             if (vc != null) {
                 AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
                 Iterator criteriaRows = vc.iterator();
                 while (criteriaRows.hasNext()) {
                     ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
                     if (r != null) {
                         for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
                             if (JboTypeMap.isCharType(defs[j].getSQLType())) {
                                 String val = (String)r.getAttribute(j);
                                 String col = defs[j].getColumnName();
                                 if (val != null) {
                                     val = val.substring(0,val.length()-1);//return to normal
                                       System.out.println("Column: " + col);               
                                       System.out.println("Value: " + val);               
                                       r.setAttribute(j,val);
            return null;The problem is for some reason this does not quite work in 11g.
    What is the best practice to achieve this functionality in 11g?

    Or use a catsearch index or a contains index in your query. The will preform much better for large datasets as it doesn't do a full table scan.
    Google for Oracle Text ( http://www.google.de/search?q=%27oracle+text%27+catsearch&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a )
    Timo

  • How to implement Search content of the PDF In Windows Store apps

    Hi,
    I Have Rendered PDF in Windows Store apps .I am not able to Search the Content of the PDF .Please Suggest me best Solution 
    Thanks
    m venkatasuresh

    You'll need to either interpret  the PDF file yourself or find a 3rd party PDF component.
    The in-box PDF renderer produces a non-searchable image rather than text (I suppose you could
    OCR the rendered image, but that's a pretty ugly solution)

  • SSO for Oracle Apex application

    Hi All,
    I am working on the requirement where the client want to implement the SSO for the apex application which are in different workspaces.
    But not using oracle SSO server :(
    The Microsoft active directory is used for authentication.
    Please give me some idea how to implement SSO for these apex applications.
    Thanks & Regards,
    Prutha

    Hi,
    I am trying to implement Single-Sign On for my Apex applications. Below are the requirement steps:
    This is working fine within same WORKSPACE and on single DB, but I need to implement SSO across DB with different workspaces.
    1. I have *2 Databases* DB-1 and DB-2. Both are different and running on different machines.
    2. On Both DB's Apex is configured.
    3. I have to deploy an app which uses internal Application Express account credentials for Login on DB-1
    4. From DB-1, after login, I have to provide a link to open another Apex App deployed on DB-2
    5. All Apex Apps on both DB's are using same Authentication Schemes.
    6. In both DB's I have PAGE SENTRY function for session validation.
    Can we configure Apex only once on both DB servers like RAC. Do we have any admin setting in Apex by which we can achieve th motive.
    Please help me to implement such functionality using only Apex across different DB's and different Workspaces.
    Thanks,
    Ismail
    Edited by: user9536278 on Mar 27, 2012 4:18 AM

Maybe you are looking for