Mapping dropdown values in obj form to a group

Hi,
I have a requirement as stated:
I have a dropdown field in my Resc Form having twenty or more values.Now for each dropdown value selected ,a corresponding subgroup should be selected and it should be reflected in approval workflow.
For example:
X application has three dropdown values a,b,c.
And there is a X group having three subgroups x1,x2,x3.
Now for dropdown value 'a',it should be mapped to subgroup x1(this subgroup includes ids of people who can approve and to whom mails are sent)
How this can be achieved?Plz rep in detail as i am a newbie in field of OIM.
Thanks in advance.
Regards
Sitesh

You can make a Task Assignment Adapter whih will read that data from Object Form and assign it to that group.
findGroups - Error while getting group list for login user

Similar Messages

  • Dropdown value clears after saving the form?

    I have a pdf form with a couple dropdown lists. If someone selects a value and then saves and reopens the file, the dropdown value is empty.
    In other forms I also use dropdown and those do not have this issue. but I cannot find what is wrong with this one. Any suggestions?
    I have a custom keystroke script:
    if( event.willCommit )
       if(event.value == "")
    //if nothing is chosen in "Contract eigenaar" then Dropdown2 will be cleared
         this.getField("Dropdown2").clearItems();
       else
        test(event.value);
    And a script:
    //Values
    myDropdown1Values = ["Maak uw keuze", "Fast Flex B.V.", "QNH Sourcing B.V.", "QNH Consulting Midden B.V.","QNH Consulting Zuid B.V.","QNH Consulting Noord B.V."],
    myDropdown7Values = ["Maak uw keuze", "Eigen medewerker", "ZZP-er", "via Leverancier","PDV-er"],
    myDropdown8Values = ["","QNH Consulting Midden", "QNH Consulting Zuid", "QNH Consulting Noord", "Young Colfield"],
    //Populate
    this.getField("Contract eigenaar").setItems(myDropdown1Values);
    this.getField("Dropdown7").setItems(myDropdown7Values);
    this.getField("Dropdown16").setItems(myDropdown8Values);
    // Define what has to be shown in Dropdown2 when value is selected
    var DeptData = { "Maak uw keuze": [""],
                     "Fast Flex B.V.": ["","Fast Flex","Klant"],
                     "QNH Sourcing B.V.": ["","QNH Sourcing","Klant"],
                     "QNH Consulting Midden B.V.": ["","Detachering","Project"],
                     "QNH Consulting Zuid B.V.": ["","Detachering","Project"],
                     "QNH Consulting Noord B.V.": ["","Detachering","Project"]
    var DeptData2 = { "Maak uw keuze":{ Uitleg1: ""},
                     "QNH Consulting Midden B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Midden en de eindklant. QNH consulting Midden zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Midden en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Consulting Zuid B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Zuid en de eindklant. QNH consulting Zuid zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Zuid en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Consulting Noord B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Noord en de eindklant. QNH consulting Noord zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Noord en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Sourcing B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Sourcing en de eindklant. Het inkoopcontract wordt opgesteld door QNH Sourcing met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van QNH Sourcing. Indien het een nieuwe klant betreft ontvangt QNH Sourcing graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."},
                     "Fast Flex B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen Fast Flex en de eindklant. Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien het een nieuwe klant betreft ontvangt Fast Flex graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."}};
    //Value Dropdown2
    function test(cDeptName)
      this.getField("Dropdown2").setItems(DeptData[cDeptName]);
      this.getField("Text1").value = DeptData2[cDeptName].Uitleg1;

    Hi
    actually my earlier post was incorrect
    i have edited my post
    Actually
    i want to update only those records that the user has modified
    eg
    col1 col2 status
    1 ABC good
    2 PQR good
    3 xyz good
    4 lmn excellent
    5 abcz excellent
    is the table before the user modifies
    the user goes and modifies multiple records as following
    col1 col2 status
    1 aaa good
    2 PQR good
    3 xxx good
    4 sss excellent
    5 abcz excellent
    and the user saves the form
    now i want the following output
    col1 col2 status
    1 aaa new
    2 PQR good
    3 xxx new
    4 sss new
    5 abcz excellent
    only the modified record's status should be updated
    sorry for the earlier lapse

  • Acrobat X Pro interactive Map/Dropdown fields

    I create a variety of .pdfs for different purposes which are all related to the same parent (in this case a building on a site).
    I now want to create an interactive map so that I can click the building (button, graphic shape or image etc) and be presented a collapsable list so that I can then select (from a list) the .pdf I am interested in (discipline specific) and open it in a new acrobat window. Each .pdf name in the dropdown list is to represent a separate .pdf file from the same or different network storage location (I am aware the file name(s)/location(s) must not change).
    I have investigated Acrobat X Pro, Adobe Illustrator CS4 and Adobe InDesign CS4. I have decided to target Acrobat as Illustrator did not seem to allow linking and InDesign did not seem to allow List Boxes or Dropdowns for linking purposes. Also, I only wanted to create/manage one file (my interactive map)...my 'menu'...in graphical form...without going down the path of creating a web site.
    Am I on the right track? Is this possible?
    However, after adding the Dropdown field to my form (interactive pdf map), although it allowed any of the available list items to be selected, it DID NOT allow different actions for different list items!
    I added two separate Open file actions (which could not be linked to the two separate list items)...one to open a pdf ffrom one location and the other to open a separate pdf from another location. When you click the field (button)...it just opens BOTH pdf files! Not what I wanted.
    I would have thought that the very nature of a Dropdown list is to be able to select from a collapsable list and perform a specific action on that selection (after all, it does allow multiple similar actions, along with multiple different actions).
    Can THIS be done?...in Acrobat?...in another Creative Suite application?

    Thanks, but...I could not find a `combo box' field, and I have to ask why would I have to write custom code when the `dropdown' field is provided?
    Why can't a different action be linked to a different list choice in a dropdown field?
    If I want to perform a single action, then I would use a `single' button, but that's not what I want to do.

  • How to hide two fields in SharePoint list when a dropdown value selected?

    Hi all,
    I have a SharePoint list which have four columns 1 Title 2.Type (Dropdown: option1:Issues Option2:Risk) 3.Risk Name and 4.Risk type. If 'type' value is 'Issues' then I need to hide field 3 and 4. In other words, default value in dropdown should be 'Issue'
    and want to hide field 3 and 4 are onload without using InfoPath.
    How to achieve this? Thanks in advance!

    You can make use of jquery for the same. Add script editor webpart on the page and access the dropdown value and based on the value you get, show or hide the fields. Below are some pointers.
    http://sachinvkatkar.blogspot.in/2013/02/hide-fields-from-sharepoint-newform.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/50aa6f8d-f742-4400-82f3-7949ab1c215e/need-help-manipulating-form-fieldsrows-using-jquery?forum=sharepointdevelopmentprevious#802d9d4d-c19b-4752-a4fb-e38f40f50c51
    http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
    http://sharepointnadeem.blogspot.in/2013/09/sharepoint-showhide-list-column-based.html
    Geetanjali Arora | My blogs |

  • Dropdown help on Interactive form in Web Dynpro ABAP.

    Hi all,
    we are creating an SAP Interactive forms for the Material Master Creation.
    We want the value help to be displayed in dropdown boxes for various mandatory fields to be filled up by the user.
    Please suggest how to do that??
    These helps are there when we create a material master through Transaction mm01.

    Hi Sasidhar,
    Could you please clarify.
    I had taken a value node in the Context of the view for the field for which i have to display the value help.
    I have also bound this value node to the dropdown list on the form by specifying it in the binding tab. Still i am not getting the help.
    Do we have to write some code for that in the method tab of the view??

  • Add new dropdown value in search criteria for Invoices

    Hello,
    I want to add one more value in Drop-Down box of the search criteria of invoices.
    As on now there are 2 DropDown boxes
    in Your Referance No
    in Transaction No
    (New)
    in Order No (This will have search value as "Sales Order No")
    Can anyone tell how to add this inw value?
    I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
    public static final String INORDERNO = "inorderno";
    if("inorderno".equals(attribute))
              documentListFilter.setId(attributeValue);
    YBillingStatusCRM.java is created which extends BillingStatusCRM.class
    com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
    if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
              importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
    Accessing it in JSP organizer-content-doc-search.jsp
    YDocumentListSelectorForm yform =
        (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
    <option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
    Regards,
    Shaun
    Edited by: Shaun07 on Aug 5, 2010 7:29 AM

    Hello,
    I want to add one more value in Drop-Down box of the search criteria of invoices.
    As on now there are 2 DropDown boxes
    in Your Referance No
    in Transaction No
    (New)
    in Order No (This will have search value as "Sales Order No")
    Can anyone tell how to add this inw value?
    I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
    public static final String INORDERNO = "inorderno";
    if("inorderno".equals(attribute))
              documentListFilter.setId(attributeValue);
    YBillingStatusCRM.java is created which extends BillingStatusCRM.class
    com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
    if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
              importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
    Accessing it in JSP organizer-content-doc-search.jsp
    YDocumentListSelectorForm yform =
        (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
    <option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
    Regards,
    Shaun
    Edited by: Shaun07 on Aug 5, 2010 7:29 AM

  • Enabling and disabling input filed based on the Dropdown values selection

    HI,
    I have a requirement with Adobe Interactive forms being called from HCM Forms & Processes. We have a drop-down list and a inputbox.
    based on the values selected from the drop-downlist, the input box should be visible and hidden.
    If the input value is visible, I got to send  some part of the value selected from the drop down to the input field.
    i tried to write the following script in the click event of dropdown  but the input field is not appearing with any value selection.
    if data.Layout.CH1.CHContent.ISR_DDL_1stSelected.rawValue = "00000000" then
    data.Layout.CH1.CHContent.ISR_NEW_COST.presence = 'Visible' else
    data.Layout.CH1.CHContent.ISR_NEW_COST.presence = "Hidden"
    endif
    Thanks in Advance,
    VR.

    Hi Mukesh,
    THanks alot.
    Yes,  The Split functionality is working.  I have added the code in 'Change' event and  for selecting the value from the Drop down, am  writing the code in the 'exit'.
    In addition to this, I am populating the values to the drop down from the Generic service.  The problem is, while running  the  Process from Portal and check and send button,  the fields fetched from the generic service & the dropdown values are getting refreshed. i hope, this is because of the java script.
    pls. suggest me if this can be handled .
    Thanks &Regards,
    Venkatesh.

  • Is it possible to test the dropdown values?

    Here we are trying to test dropdown value using Adobe browser lab for firebug.
    We are testing Registration form which has many dropdown fields.
    But using Adobe browser lab for firebug not able to get the dropdown values.
    Thanks
    Jenny

    hi Mark,
    1.for dropdown fields kindly follow below steps :
        1. open url http://uat.univadis.com/ click on Unites Kingdom (last country)
        2. at the top right corner enter following credentials : username:[email protected] and password : test1234
         3. it will navigate to home page automatically after successfull login.
         4. click on Search Tab on the tab. on Search Page u will find field name "Show results in order of source".
         5 . select any drop down value and try to capture the same drop down value using adobe browser lab.
    I have tried above steps but selected drop down values are NOT shown in adobe browser lab. it is showing default drop down values. please let me know ur findings.
    2. And also i am not able to get a preview of screenshots after testing the screens. Plz let me know, how to get the preview of screenshots.(Where the screenshots will be saved?)
    Thanks,
    Jenny

  • W2 boxes mapped to tax form fields or groups

    hi,
    Is there any documentation that gives the mapping of w2 boxes to the tax form fields or groups? If not anybody made that mapping for the reference?
    Points guaranteed

    Hello,
    Go to SFP transaction and provide the Form name and Look for the field name which is mapped to the Box, then go to T5UT3 in SE16n and see how the tax form field gets the value and which Tax form is mapped for the Tax form field. Detailed documentation I have created in the WIKI link
    https://wiki.sdn.sap.com/wiki/display/ERPHCM/StepstofindparticularBoxvalueinTaxReporter
    With Regards,
    S.Karthik

  • Store dropdown value in a variable in WAD

    Hi,
    I would like to pass the values from dropdown box to variable in my IP application. These variables are used to restrict the char values in filters of my application. When I change the dropdown box, my variable value should automatically change. My dropdown box uses the Char/struc member (Characteristic_selection) as data binding because I am doing the cascading dropdown boxes for my selection. I can not use variable as data binding for my dropdown box and I know this will work if I use the variable selection as data binding for drop down box.
    Now, the dropdown value is never stored in the variable, I don't know what I'm doing wrong.
    So, I need to know:
    - Variable settings
    - Dropdown settings
    - Dataprovider sttings
    I am using WAD 7.0
    Thanks!

    Hi Sebastian,
    Ok if I understand right, you have 2 DropDown webitems - on selection of one you would want the 2nd to filter which is cascaded action on DropDowns; and on selection of each DropDown you would want to pass the selections to the main query variables. Check if the below settings work;
    DropDown 1 -> DP1 (perhaps on a master IO), Characteristic -> say C1, Affected Data Providers -> DP2 (DP of DropDown 2), Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C1, Binding Type -> Variable, choose corr. query Variable
    DropDown 2 -> DP2 (perhaps on a master IO), Characteristic -> say C2, Affected Data Providers -> None, Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C2, Binding Type -> Variable, choose corr. query Variable
    --Priya

  • How to use Ajax Get Multiple Values in Tabular form?

    Hi All-
    I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
    Basically, I want to use the drop down list to populate rest of the values on the form.
    I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    Workspace: iConnect
    login: demo
    password: demo
    I was able to duplicate his example on page 1 (home page).
    However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
    Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
    This is what I have done on this page:
    1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
    3. Put the following in the Page Header:
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);   
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
        get = null;
    </script>
    Add the follwing to the end of the above JavaScript:
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    var s = filter.id;
    var item = s.substring(3,8);
    var field2 = list2 + item;
    f_set_multi_items_tabular2(filter, field2);
    4. Tabular form query:
    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    5. In Book_ID_DISPLAY column attribute:
    Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
    Changed to -> onchange="javascript:setLOV(this,'f03');"
    Now,  T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
    Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
    Ling
    Updated code in Red..

    Ling
    Lets start with looking at what the javascript code is doing.
    function f_set_multi_items_tabular(pValue, pRow){
      /*This will initiate the url for the demand process to run*/
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                              'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
      if(pValue){
        /*If there is an value than submit item name with value*/
        get.add('TEMPORARY_APPLICATION_ITEM',pValue)
        get.add('T_ROWNUM',pRow)
      }else{
        /*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
        get.add('TEMPORARY_APPLICATION_ITEM','null')
      /*Submit the url and te returned document is of type XML*/
      gReturn = get.get('XML');
      if(gReturn){
        /*There is something returned*/
        var l_Count = gReturn.getElementsByTagName("item").length;
        /*For all elements of the tag item*/
        for(var i = 0;i<l_Count;i++){
          /*Get the item out of the XML*/
          var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
          /*Get the id of the item*/
          var l_ID = l_Opt_Xml.getAttribute('id');
          /*Get the element in the original page with the same id as
          **the item we have in the XML produced by the ondemand process
          var l_El = html_GetElement(l_ID);
          /*Now get the value of the item form the XML*/
          if(l_Opt_Xml.firstChild){
            var l_Value = l_Opt_Xml.firstChild.nodeValue;
          }else{
            /*There is no value*/
            var l_Value = '';
          if(l_El){
            /*There is an element with the same id as the item we are processing*/
            if(l_El.tagName == 'INPUT'){
              /*The element is an input item just set the value*/
              l_El.value = l_Value;
            }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
              /*If it is a span elment and has the class grabber
              **Then set the innerHTML of the parent to the value
              **and the id of the parent to the id
              l_El.parentNode.innerHTML = l_Value;
              l_El.parentNode.id = l_ID;
            }else{
              /*Else set the value as innerHTML*/
              l_El.innerHTML = l_Value;
      get = null;
    Now where it went wrong in your initial post
    The XML that was returned by your XML process would be something like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_1">CSS Mastery</item>
      <item id="f03_1">22</item>
      <item id="f04_1">Andy Budd</item>
      <item id="f05_1">1</item>
    </body>
    When you don't use apex_item to create your tabular form a item in the table will look like
    <input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
    Notice the id's f02_1 and f02_0001 don't match.
    So to make it work the XML would have to look like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_0001">CSS Mastery</item>
      <item id="f03_0001">22</item>
      <item id="f04_0001">Andy Budd</item>
      <item id="f05_0001">1</item>
    </body>
    To do that simply use lpad in the ondemand process like
    HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
    HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
    HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
    HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
    Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
    Nicolette

  • Passing values from a form to a page containing forms.

    I would like to pass a value from a form to a page containing two forms (one of the forms is in a tab).Once the value is passed, I want the two forms to be executed with the value passed. Can this be done and how? Any help would be appreciated. Thanks.

    Yes, this is possible.
    I will give you a brief outline.
    From the 1st form, you need to save the value, you want to pass to the 2 other forms, using the wwsto_api_session apis.
    Then, using go() or call() from the Successful submission section, you need to go/call the page containing the 2 forms.
    You need to write some pl/sql code in the 2 forms (on the page) to retrieve the value saved and perform the action you desire. The saved value can be retrieved using the wwsto_api_session apis.
    However, both forms will not get executed at the same time unless both of them are in the same tab i.e. unless both forms are visible at the same time.
    If the forms are on different tabs, they will get executed when they are being displayed.
    But, there are ways to execute both the forms, if it really necessary, even if they are not on the same tab.
    I will be posting the an example soon in this thread.

  • How do I get the values from a form?

    How do I get the values from a form?

    You can try using request method..
    request.getParameter("yourFormInputName");
    Try this.

  • Passing multiple character values from parameter form to PL/SQL

    Hi,
    I am passing multiple character values from parametr form into
    the report query and a PL/SQL procedure. It works fine with the
    query, when I use &variable. But, it doesn't compile in PL/SQL,
    so I just used the :variable, but not getting any records in the
    PL/SQL procedure. Any suggestions?
    sincerely,
    gj

    gj / Fedro,
    Only using the &referecne, you can pas a string / multiple character values and this would work for query only.
    The bind parameter in PL/SQL wouls support only single value
    Thanks
    The Oracle Reports Team

  • How to: username as default value in a form

    How can I use the user_name (portal user: wwsec_person.user_name) as a default value in a form. When I use #USER I get the db_user value.

    Hi,
    You can use the api portalschema.wwctx_api.get_user. This will return you the logged in user.
    Thanks,
    Sharmila

Maybe you are looking for