Refresh Dropdown List In Presentation In Bpm 10g

I am using Oracle BPM 10g and facing issue in refreshing drop-down list in presentation.
Actually i have a drop-down list with 250 items populated from database. I have some text fields and search button on presentation to narrow down the drop-down list items. Initially i get 250 drop-down list items and when i enter searching text in text field and press search button then i get 5 drop-down list items but list is not refreshed (it display all previous 250 items).
Is there any way to refresh the page without navigation or any idea to get my objective?

@ Hi Anoop,
doing a valueset.clear () gives a <i>null pointer exception</i>. am doing a clear before populating the values. Can u suggest comthin else.
@ Hi Murtuza,
Also thers no  difference even after putting the code in modify view()
I had earlier made a method just for populating the Valueset. I cald that method in ModifyView(). Still no change.. can u plz suggest somthin else
Thanks in advance.

Similar Messages

  • How to trigger a refresh of a dropdown list when the selection is changed

    Hi,
    This is a general ExtendScript question, but since I'm working with FM, I'll ask here first. I have a bit of a paradox here and I'm not sure of the best way to handle it.
    I have a dialog box with a dropdown list, where I want to refresh certain controls when the user changes the selection in the list (dropdownList.onChange). This includes refreshing the contents of the list itself. However, the problem is, as soon as I try to refresh the list contents, it triggers onChange again. So, if I put the call to refresh the box within the onChange handler, it results in an endless loop, because my refresher function triggers onChange when it refreshes the list.
    Does anyone know a better methodology, where I can safely trigger a refresh of a dropdown list within the list's own onChange event handler? I really wish that onChange was reserved for a user action only, or there was at least some property to that effect.
    Russ

    Hi Russ,
    you can stop that with "stopPropagation()"
    You can find this in "Javascript Tools Guide" on page 150.
    I'm not able at the moment to send you an example 'cause I'm in a hospital for a while.
    Happy New Year!

  • Dropdown List Not Refresh with Static PDF

    Hi,
    I'm using LiveCycle ES2 version 9 to design my form and view using Acrobat X Pro. In my form, I have a dropdown list that binds to a data connection to populate the list of products available. The SQL query of the data connection is as simple as below,
         "SELECT ProductCode, ProductName FROM PUB_Product WHERE ActiveInd = yes"
    Everything works perfectly when I save my PDF in dynamic form. However, due to some limitation with dynamic form, I have no choice but to save the PDF in static form. Problem with static form arises when there are changes to PUB_Product table which could be adding/removing product, setting an active product to non-active and etc. In case of any changes, I have to re-open the PDF in LiveCycle and save it in order to have the latest data reflected in the form. Is there anything I can do so that the changes to the product table will straight away reflected in the form without having to re-save it?
    Thanks in advance for your advise.
    Regards,
    Steven

    Hi Paul,
    Thanks for helping. I'm using Acrobat to view the PDF form. Thus, shouldn't have any problem connecting to the database.
    I've captured some screenshots as below and hope it helps you understand my situation better.
    This is my Access database
    This is my PDF. Added a data connection "Product" using SQL Query "SELECT ProductCode, ProductName FROM PUB_Product WHERE ActiveInd=yes" whereby it will only extract the "active" products.
    Binded the product code dropdown list with "Product" data connection to populate the list.
    The output of the PDF form. Only the active products are being listed.
    Now, if let's say I add a new product to my PUB_Product table, the dynamic form will straight away list the new product but not the static form.
    Dynamic form
    Static form
    In order to see the new product listed in the static form dropdown list, I have to re-open the form in Live Cycle and just simply save it. So my question is, is there anything I can do to skip this "open and save" step?
    Thanks.
    Regards,
    Steven

  • Usage of SQL and SQLQuery Component Oracle BPM 10g

    Hey Friends,
    I have created SQl and SQL query catalog compoenents in Oracle BPM 10g, but unable to figure about how to use them in the BPM process. Do i need to create an automatic activity and make implemenatation as method and write java/pbl code there. Please suggest some solution with code snippet.
    Thanks!!

    Having them cataloged constitutes most of the work you'll need to do. As you mention, the rest of the work is figuring out how you want to use them in a process.
    As an example, if you wanted to have method that would return a list of customer ids you could create a method in a BPM Object:
    listOfIds as String[]
    for each element in
      SELECT customerId
        FROM customer
      do
        listOfIds[] = String(element.customerid)
    end
    // return the array with the valid values
    return listOfIdsAfter adding this, you'll notice that there is an error flagged for your logic. Look at the Properties tab and change the "Server Side Method" property to "Yes".
    Now that you have the method that returns an array, you could use it to automatically populate a dropdown field for an attribute in the BPM Object. You'd do this by opening the properties of the attribute and changing the "Valid Values" property to "Dynamic Method" and select the method you just added.
    There's more to it than this, but hope this is enough to get you going,
    Dan

  • Dynamic updates in dropdown field using presentation

    My requirement is as follows:
    1)     Combination of text box & dropdown in the presentation.
    2)     Dropdown is dependent on the text box.
    3)     If user will enter the two characters in the text box then automatically drop down will be fill the list of the string(s) starting with entered 2 characters.
    Ex:
    In side text box I entered “GO”.
    In the drop down it should populated with list of cities start with “GO”.
    Please let me know if any one having the solution satisfying above requirement.
    With Best Regards,
    Ratna Prasad,

    Hi,
    <div class="jive-quote"><span class="jive-quote-header">user11180317 wrote:
    I enter any text in the textbox and according to that i execute the query which is in the dynamic method of the referenced data of the drop down but nothing happens.So i called another method on change invoke having the refreshvalidvalues command then also nothing happened.</div>
    A few ideas when testing this.
    1. Double check your textbox that is supposed to update the attribute shown in the dropdown. Look at the textbox's Properties and verify that there is an "On change invoke" method associated with the field.
    2. Open the method referenced in the first step. The method should have the logic:
    logMessage "refreshing valid values" using severity = DEBUG
    refreshValidValues("theNameOfTheAttributeInTheDropdown")A common problem is when you leave the double quotes out of this logic (e.g. refreshValidValues(theNameOfTheAttributeInTheDropdown) will not work)
    3. Double check the attribute that you want to update dynamically. In the above step, the attribute's name is "theNameOfTheAttributeInTheDropdown". Open this attribute now and verify that in the Valid Values section for the attribute - there is a Dynamic method invoked that updates the permitted values for this attribute (and therefore the values shown in the dropdown).
    4. Open the method that updates the attribute's valid values dynamically (method found in step 3) and add a logMessage statement at the top like:
    logMessage "Entry - valid values update for attribute theNameOfTheAttributeInTheDropdown" using severity = DEBUGAfter the valid values have been retrieved, show this list using another logMessage statement in this method.
    5. Run the screenflow again from the WorkSpace and verify that dropdown is getting populated. If not - check the log file for the point of failure.
    Hope this helps,
    Dan

  • How to retrive the user name when we know the user ID in BPM 10g ?

    Hi All,
    I want to retrive the participants name by the participant's id. I have a drop down list where the participants ID is present. Now I will invoke a method on change of this drop down and it will return the name of the choosen Participant ID. Can any body help me to write tha exact code to retrive the exact Name in BPM 10g.
    Thanks in advance~
    Anupam
    Edited by: Anupam on May 15, 2012 9:52 AM

    Hi,
    DirHumanParticipant part = DirHumanParticipant.fetch(session : DirectorySession.currentEngineSession, id : "test");
    logMessage("The display name is "+part.displayName);
    logMessage("The first name is "+part.firstName);
    logMessage("The last name is "+part.lastName);
    HTH
    Edited by: Ruben Vidaurre on 14-may-2012 23:19

  • Display month and year in dropdown list on selection screen

    Hi
      Can anyone tell me how to display months and year in a dropdown list on a selection screen?
      also please tell me how to get the first and the last dates upon selecting the month and year on the dropdown list.
    Month: January Year:2007 . 
    After selecting the required month and year, the first date and last date i.e '01.01.2007 - 31.01.2007' should be displayed on the right side.
    Reward Points assured..
    thanks,
    Chetan

    Hi..,
    <b>
    Just copy, paste and execute this program !!</b>
    type-pools: vrm.
    parameters : p_month(2) type n as listbox visible length 10,
    p_year(4) type n as listbox visible length 10.
    DATA : W_DATE type d, w_ldate type d.
    initialization.
    perform user_drop_down_list_fordt.
    perform user_drop_down_list_foryr.
    start-of-selection.
    concatenate p_year p_month '01' into w_date.
    call function 'BKK_GET_MONTH_LASTDAY'
      exporting
        i_date        = w_date
    IMPORTING
       E_DATE        = w_ldate
    write /: w_date,w_ldate.
    build user_drop_down_list
    form user_drop_down_list_fordt.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    data: t_months type t247 occurs 0 with header line.
    clear list. refresh list.
    name = 'P_MONTH'.
    select * into  table t_months
    from t247 where spras eq 'EN'.
    sort t_months ascending by mnr.
    loop at t_months.
    clear value.
    value-key = t_months-mnr.
    value-text = t_months-ltx.
    append value to list.
    endloop.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    for year...
    form user_drop_down_list_foryr.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    clear list. refresh list.
    name = 'P_YEAR'.
    do 9999 times.
    clear value.
    value-key = sy-index.
    append value to list.
    enddo.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    <b>
    Hope this solves ur problem..</b>
    regards,
    sai ramesh

  • How do I get a value attached to a text on a dropdown list?

    I need to get an overall average based on the selected option in several different dropdown lists. Once I have the average the final field will reflect the text as one of the options. 
    There are 3 areas that are being measured. 
    Quantity, Quality and Performance
    Each area will get a rating, The dropdown list will show Fails, Meets, Exceeds.
    The ratings need a number value that can be used to average the areas. 
    Quantity = Meets = 2
    Quality = Exceeds = 3
    Performance = Meets = 2
    Total = 5
    Avg = 2  (rounded to nearest whole)
    Final rating = Meets
    I have built the drop down lists. I see a value that appears to be attached but I cannot figure out how to grab the value.  I need to present this to the executive team soon. Please help me understand how this works, and yes I got it to work in Acrobat but needed other functionality only available in LC Designer. 
    I am using Adobe LiveCycle Designer ES2.
    Thank you!!

    If you have assigned values to the dropdown items - on the Binding tab of the Object palette: "Specify Item Values" - those values become the rawValue for the dropdown.
    So for something simple in FormCalc, on the calculate event of the Final Rating you would just add the fields together and do the math.
    $ = (ddl1 + ddl2 + ddl3) / 3

  • Refresh activities listed in workspace inbox automatically

    Hi, I have a split-n implemented inside a process. The activity is asigned to a group of persons with a specific role. The first person who executes the activity completes the activity and the process continues, but this activity is still shown in other persons whom the activity was assigned previously.
    I want to reload other users' inbox so they can't see this activity anymore.
    I found this code inside workspace.properties, which is located in OraBPMStudioHome\webapps\workspace\WEB-INF.
    # Not used in this version.
    fuego.workspace.refreshTimeMin=1
    I've also found this code for FuegoBPM System Administrator 5
    fuego.portal.autoRefreshMenuOptions=true
    fuego.portal.refreshTimeMin=0.1
    I've tried coping this code inside in workspace.properties but it didn't work.
    Does anybody know the equivalent to refresh activities listed in workspace inbox automatically code used in Oracle BPM Studio 10.3.1.0?

    Hi Joe,
    normally the inbox is refreshed automatically when you enter.
    We found the program that is called when you enter the inbox.
    Here you can add additional code.
    Function module: SINWP
    subroutine: append_folrg_to_tree
    Best regards,
    Werner.

  • Adobe LiveCycle Designer ES 8.2 Dropdown List Fill from a spreadsheet

    I am a new user to Adobe LiveCycle Designer and have created a form which a manager is required to fill out for each of their employees.
    I would like to create a drop-down object which will contain the name of the employees, so the manager can just pick the employee from a dropdown list and then fill out the evaluation.  We have over 1000 employees, so I don't want to type them in one by one.
    Please let me know how to link the list of employees to this form from another source. 
    I can put the list of employee names into an Excel spreadsheet or an Access Database.
    I have tried following information posted in different places in the web, but I must be doing something wrong??
    I would appreciate a step by step guide of instructions to help me accomplish this task.
    Thank you in advance for your assistance.

    Select the Drop Down object and add a sample name thru the object UI. Now view the "XML Source" TAB, it shows xml code similar to the image.
    Now need to prepare all the names from the excell, place all names in one column of excell and copy paste the <text> and </text> nodes to the names(hopefully each column at a time). now need to copy all together and prepare final version to copy notepad (may require some replace all with spaces to format properly) then from notepad only update the above xml source . while going to design view it may pop-up warning message of changed xml, and click yes, now all names should be present in the dropdown. Hope this works.All we are doing here the form design is from "XML Source" tab insted of adding one by one from the object from design view.

  • Creating a Month dropdown list for a report with multiple datasets

    I am currently working on a report that contains many charts that rely on multiple datasets. Currently, I have parameters @StartDate and @EndDate to display the information of the previous month across all the charts as my default value. Now, I would like
    to create a dropdown list so that the user can pick any month, and have the report display the data across all the charts for that particular month, while keeping the display of the previous month as the default value. Can anyone help as to how I can approach
    this. Would I have to use an expression when I specify my available values, or would I have to create a dataset to get the value of all 12 months? Any help would be greatly appreciated.

    This is essentially where I am having some trouble, as in creating the dataset that returns the individual months of the year as I am relatively to the use of SSRS. Could you possibly elaborate on how I can do so? Thank you in advance!
    Create a dataset in SSRS
    Inside dataset properties map datasource and then inside give command like
    DECLARE @Month int = 5 --example value
    SELECT ...
    FROM Table
    WHERE datefield >= DATEADD(mm,DATEDIFF(yy,0,GETDATE())*12 +(@Month-2),0)
    AND datefield < DATEADD(mm,DATEDIFF(yy,0,GETDATE())*12 +(@Month-1),0)
    then on refresh it will take field information and parameter information by itself.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Is it possible? two dropdown list

    I try to get a value from the first dropdown(jdbc connection) in the second dropdown box.
    using jdeveloper 10.1.3.4
    I always get error message;
    500 Internal Server Error
    java.lang.NullPointerException     at hr.DataHandler.get_prj_num(DataHandler.java:446)     at _test__dropdown._jspService(_test__dropdown.java:68)     [/test_dropdown.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.javaI think request.getParameter() in second dropdown box can not read it from the first dropdown box.
    would you help me ? - code is the following, not everything because of space-
    ****datahandler class****
        public ResultSet get_prj_num(String job_title) throws SQLException {
          try {
            job_title = job_title.toUpperCase();
            getDBConnection();
            String jobquery = "begin ? := get_prj_num(String job_title); end;";
            CallableStatement callStmt = conn.prepareCall(jobquery);
            callStmt.registerOutParameter(1, OracleTypes.CURSOR);
            callStmt.execute();
            rset = (ResultSet)callStmt.getObject(1);
          } catch ( SQLException ex ) {
          logException( ex );
          return rset;
    ***function in database***
    FUNCTION GET_PRJ_NUM(st in VARCHAR2)
    RETURN PRJPKG_NUM.REF_CURSOR
    AS PRJNUM_CURSOR PRJPKG_NUM.REF_CURSOR;
    BEGIN
    OPEN PRJNUM_CURSOR FOR
    SELECT PROJECT_NUMBER FROM PROJECTS WHERE STATE_CODE =st;
    RETURN PRJNUM_CURSOR;
    END;
    ****jsp page a part of it -for space*****
    <%@ page language="java" import=" java.sql.ResultSet"%>
          <jsp:useBean id="empsbean" class="hr.DataHandler" scope="session"/>
           <%ResultSet rset = empsbean.get_prj();%>
        </h3><form action="insert_action.jsp ">
          <table cellspacing="2" cellpadding="3" border="1" width="70%">
            <tr>
              <td width="30%">
                <span class="bold">
                  <span class="bold">
                    <span class="bold">
                      <span class="bold">
                        JOB_TITLE
                      </span>
                    </span>
                  </span>
                </span>
              </td>
              <td width="70%">
                <select size="1" name="JOB_TITLE">
                  <%while (rset.next ())
        out.println("<option value=" + rset.getString("state_code") + ">" +
        rset.getString("state_code") + "</option> "  );
    empsbean.closeAll();
    %>
                </select>
              </td>
            </tr>
            <tr>
              <td width="30%">
                <span class="bold">
                  <span class="bold">
                    <span class="bold">
                      <span class="bold">
                        STATUS
                      </span>
                    </span>
                  </span>
                </span>
              </td>
              <td width="70%">
                <select size="1" name="prjnum_drop">
    <%ResultSet rset1;
    String job_title = request.getParameter("JOB_TITLE");
    // String job_title ="TN";
      rset1 = empsbean.get_prj_num(job_title);
    %>
                  <%while (rset1.next ())
        out.println("<option value=" + rset1.getString("project_number") + ">" +
        rset1.getString("project_number") + "</option> "  );
    empsbean.closeAll();%>Edited by: Jin on Oct 10, 2008 2:51 PM

    after debugging, I have one error now.
    500 Internal Server Error
    java.lang.NullPointerException     at _test__dropdown._jspService(_test__dropdown.java:70)     [/test_dropdown.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)java.lang.NullPointerException     at test_dropdown._jspService(_test__dropdown.java:70)-the error points at the following;
    String job_title = request.getParameter("JOB_TITLE");
    it seems the second dropdown couldn't get the value from the first dropdown selection.
    I wonder jdbc connection in the first dropdown still alive when the second dropdown list turns.
    is it easy to use Servlet with the two dependent dropdown list?
    thanks

  • How to create dropdown list for custom remote function module

    HI ,
           I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
    For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete  values ) in function module.Is it possible.

    Hi
    Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
    In this you can provide a value
    Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
    Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
    refresh fields.
    DATA: fields LIKE SVAL OCCURS 0.
    fields-tabname = 'MAKT'.
    FILEDS-FIELDNAME = 'MAKTX'.
    APPEND FIELDS.
    CALL FUNCTION 'POPUP_GET_VALUES'  " Try copying this in a Test program and execute
            EXPORTING
              POPUP_TITLE  = 'Enter Mail Id here'
              START_COLUMN = '5'
              START_ROW    = '5'
            IMPORTING
              RETURNCODE   = SRETURN
            TABLES
              FIELDS       = FIELDS.
    Cheerz
    Ramchander Rao.K
    Edited by: Rob Burbank on Nov 23, 2011 9:50 AM

  • Dropdown list with multiple selections

    I need to create a dropdown list in a selection screen and allow the user to select more than one option. Can this be done. I know how to use VRM_SET_VALUES to create a dropdown but it restricts me to selecting only one value. The user should be able to select multiple values. Thank you.

    Hello,
    Try to use this Fm
    PARAMETERS :
    y_p_list TYPE char32  AS LISTBOX VISIBLE LENGTH 22
                                  MODIF ID rsg. .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR y_p_list.
      PERFORM y_f_dring_type_f4.
    FORM y_f_file_frmt_f4 .
      MOVE: text-212 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-213 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-214 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-215 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'FIELD'
          dynpprog        = sy-repid
          stepl           = 1
          value           = ' '
          value_org       = 'S'
          display         = ' '
        TABLES
          value_tab       = y_i_listbox1[]
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
      REFRESH y_i_listbox1.
    ENDFORM.                    " y_f_file_frmt_f4
    Use this code you will get the List box in selection screen.

  • What is similar to BPM 10g PAPI Caching in BPM 11g?

    Hi,
    Earlier we were using BPM 10g where for BPM workspace/Custom Worklist, PAPI caching was used. Now we are looking for using BPM 11g where HWF (Human Workflow) APIs are present instead of PAPI. Can anybody tell me that is it possible to use caching in HWF APIs and how it is done?
    Thanks
    Edited by: user10778361 on May 25, 2012 12:04 PM

    One of teh difference which I noticed is that BPM Workspace had the left pane where the integrated ADF Applications were visible whereas Worklist didnot have that option.
    Some more prime differences here -
    Difference between Oracle BPM Worklist & Oracle BPM Workspace

Maybe you are looking for