How create combo/dropdown list in Acrobat toolbar?

Hi! How create combo/dropdown list in my custom Acrobat toolbar (using plugins SDK)?

You can add a dropdown/flyout menu to a toolbar button using the APIs provided.  There is a sample in the SDK.
There is no support for an edit field or other type of UI.

Similar Messages

  • How to create a dropdown list to list the values from two different tables?

    Hi,
    I have the following requirement:
    1. I have to create a dropdown list to display all the values from the second column of  a table.
    2. Another dropdown list to display all the values from the second column of another table.
    3. A text box should help me to add the selected values.
    How to get this done in a PDF? Please help.
    Regards,
    Latha

    Is this a LC form? Because Acrobat forms have no concept of tables, just
    individual fields...

  • How do I import a long list from either exel or word into dropdown list in acrobat?

    How do I import a long list from either exel or word into dropdown list in acrobat?

    There is not a built-in method for this unfortunately, but you can use JavaScript to help out. Specifically the setItems field method.
    If you'd be interested in testing out a tool that greatly simplifies this process, feel free to contact me by email at: acroscript at gmail dot com

  • How can I create a dropdown list of all 12 months without having to type each month manually?

    Hello,
    We are creating a writeable/fillable Form PDF that asks for a person's birth month, birth date, and birth year.
    We want to make filling the form as easy for our respondents as possible. For the blank that asks for the birth month, we would like to create a dropdown list of all 12 months.
    We also would like to  make the creation of the form as easy as possible for us. Is it possible to avoid having to type all 12 months into the list?
    What about for birth years from 1901 to 2000?

    And you are aware of the possible options for listing the months and having an optional export value for each month.
    For listing the months, you can use a number, a 3 character string, or the full name.
    For the export value, the full name, the 3 character value, the 1-2 number, or the 0-11 JavaScript value.
    I would look at deciding how you want to populate the drop down box and build a one page form with just this field. You can then insert that page into a PDF and copy the field as needed and then delete the inserted page. Or you could create an FDF file to create the drop down box.

  • I would like to create a dropdown list in a pdf form without entering each value manually.

    The data is huge and contains a a lot of  product code numbers. It is extracted from our SAP system and I would like to either use an xml or excel file to create the dropdown list in the pdf form.  I use Adobe Acrobat X.

    This can be done with a script. XML files are more complex but Excel files, converted to a plain-text format, can be imported and then used to set the items list of a drop-down using the setItems() method.

  • How to set Dropdown list in tablen whith others Dropdown values in each row

    how to set Dropdown list in tablen whith others Dropdown values in each row of the table

    hi ,
    You have to add the parent element before adding data to the child node ...you follow the below steps it will work
    1) Take ContextStructure as follows ...
    tabledata (valuenode)
        ddownbyindex( value node) --within the tabledata node
             value (attribute)
    2)Binding to your layout
      tabledata (node) ---bind this to the dataSource property of your  table
          ddownbyindex( node)
                Value (attribute)--bind to the texts property of you DDbyIndex
    3)In wdinit() method add the following code
         IPrivate<Your view name>.ITabledataElement tabledataElement =wdContext.createTabledataElement();
        wdContext.nodeTabledata().addElement(tabledataElement);
        for(int i=0;i<5;i++)
         IPrivate<Your viewname>.IDdownbyindexElement ddbyindexElement=wdContext.createDdownbyindexElement();
             ddbyindexElement.setValue("Value"+i);
             wdContext.nodeDdownbyindex().addElement(ddbyindexElement);
    And set the cardinality property of the table node as 0..n
    and dropdownbyinex node to 1..n
    You try it ...
    Regards
    Madhavi
    Edited by: madhavi kotra on Sep 2, 2008 6:00 PM

  • Search Criteria: how to filter dropdown lists?

    Hello Experts!
    In my 'Search Criteria' page of Complaints I have some fields such as Transaction ID, Transaction Type, Created By, Partner Function, etc. 'Partner Function' is bringing ALL partner functions of the system in the dropdown list. I need to restrict/filter this dropdown list in order to bring ONLY the values that I need.
    The same thing happens, for example, the field 'Status'. It brings all statuses of the system, but I just need it to bring the statuses of my Status Profile.
    This happens for all dropdown lists in all search pages.
    How can I filter these dropdown lists?
    Thanks a lot,
    Luis.

    Hi Luis,
    Redefine method GET_DEQUERY_DEFINITIONS and use the following piece of code:
    FIELD-SYMBOLS: <rt_result> TYPE crms_thtmlb_search_field_info.
    CALL METHOD super->get_dquery_definitions
        RECEIVING
          rt_result = rt_result.
    READ TABLE rt_result WITH KEY field = 'STATUS' ASSIGNING <rt_result>.
    <rt_result>-ddlb_options will contain all the values for status you see in the dropdown list. Modify this list as per your requirement and hence modify the main Internal table - RT_RESULT from <rt_result> for field status.
    I hope this helps.
    Thanks
    Vishal
    Edited by: Vishal Kesar on Nov 24, 2010 12:35 AM

  • How to use dropdown list in module pool

    Hi guys,
    I have provided  a dropdown list in my  screen in my module pool program.
    How should I insert values in the dropdown list.
    Regards
    Mac

    HI,
    Check this code.
    PROCESS AFTER INPUT
    PROCESS ON VALUE-REQUEST.
      FIELD ZDEPT-DEPTNO MODULE create_dropdown.
    *** DOUBLE CLICK ON CREATE_DROPDOWN
    MODULE create_dropdown INPUT.
      SELECT EMPNAME
                    DEPTNAME
                    FROM YDEPT
                    INTO CORRESPONDING FIELDS OF TABLE itab_details.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'DEPTNO'
                value_org       = 'S'
           TABLES
                value_tab       = itab_details
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc  0.
      ENDIF.
    ENDMODULE.
    HERE IN PAI DOUBLE CLICK THE MODULE THEN WRITE THE ABOVE CODE IT SHOULD WORK.
    YDEPT IS THE TABLE I CREATED TO STORE DEPARTMENT NUMBERS.
    ZDEPT IS THE STRUCTURE OF THE TABLE.
    IF YOU ARE STILL UNCLEAR
    PLEASE CHECK
    'DEMO_DROPDOWN_LIST_BOX' PROGRAM IN SE51 AND SCREEN NUMBER IS 100
    Regards and Best wishes.

  • How to implement dropdown list in catalog definition

    hi all,
    I am using wc11g, I defined my taskflow in DefaultGroupSpaceCatalog.xml and defined input parameters for this taskflow, but how to implement a dropdown list function when customer want to select one value from multiple available options, just like when user edit my taskflow in composer, in the "display options" tab, when user want to change background item, there is a dropdown list shows available values:
    light
    medium
    dark
    How to implement this dropdown list for my own parameters?
    Best regards

    Is their a specific reason why you are using taskflows and not portlets?
    Because with portlets you can have an additional mode for doing the customization. You can create your own jspx page that represents that mode and then you can easily implement a dropdownlist or whatever form you want.
    Using taskflows, you don't have such features available as far as i know.
    Another solution would be to add a button in your taskflows that only renders when you are the admin. Otherwhise, the button does not show.
    That button can open a popup were you add a form with a dropdownlist and in the backing bean you can set the parameter yourself but i don't realy know the code needed for that because it is an input parameter of the taskflow, right?

  • Creating a dropdown list which is depending on the selections from 2 other dropdown lists

    Hi,
    I'm new to LiveCycle and JavaScript and I was hoping someone could help me with this form I am creating.
    This is what I want it to do:
    I have a dropdown list named 'Area' which drops down to 3 options.  Once the form filler selects an area, they will then select an option from dropdown list 2 which is named 'Brand'  (there is up to 5 options), I then I want dropdown list 3 named 'Address" to have all of the address of the area and brand selected.
    Is this possible?
    Thankyou for your help!!

    Hi,
    here is an example for three dropdowns with dependencies.
    You have to copy this code in the change-event of the fist dd:
    Number and Letter are the entries in my example in the first dd. You have to adapt to your entries. Then you have your object names change in the script.
    DropdownListe2.addItem("123"); - this phrase you could use several times (in your example 5x for the second dd)
    switch (xfa.event.newText)
        case "Number":
            DropdownListe2.clearItems();
            DropdownListe3.clearItems();
            DropdownListe3.rawValue = null;
            DropdownListe2.addItem(" ");
            DropdownListe2.addItem("123");
            DropdownListe2.addItem("456");
            DropdownListe2.selectedIndex = 0;
            break;
        case "Letter":
            DropdownListe2.clearItems();
            DropdownListe3.clearItems();
            DropdownListe3.rawValue = null;
            DropdownListe2.addItem(" ");
            DropdownListe2.addItem("A");
            DropdownListe2.addItem("B");
            DropdownListe2.selectedIndex = 0;
            break;
        default:
            break;
    This code you have to copy in the change-vent from the second dropdown:
    switch (xfa.event.newText)
        case "123":
            DropdownListe3.clearItems();
            DropdownListe3.addItem(" ");
            DropdownListe3.addItem("123_aa");
            DropdownListe3.addItem("123_bb");
            DropdownListe3.selectedIndex = 0;
            break;
        case "456":
            DropdownListe3.clearItems();
            DropdownListe3.addItem(" ");
            DropdownListe3.addItem("456_aa");
            DropdownListe3.addItem("456_bb");
            DropdownListe3.selectedIndex = 0;
            break;
        case "A":
            DropdownListe3.clearItems();
            DropdownListe3.addItem(" ");
            DropdownListe3.addItem("A_1");
            DropdownListe3.addItem("A_2");
            DropdownListe3.selectedIndex = 0;
            break;
        case "B":
            DropdownListe3.clearItems();
            DropdownListe3.addItem(" ");
            DropdownListe3.addItem("B_1");
            DropdownListe3.addItem("B_2");
            DropdownListe3.selectedIndex = 0;
            break;
        default:
            break;
    Here you will find an example:
    https://workspaces.acrobat.com/?d=WjPa976zd1Ekdahx9r9kUw
    Hope it will helps you,
    Mandy

  • How to put dropdown list for a field in MIGO

    Hi all,
    I added a new tab in MIGO by using the BADI  MB_MIGO_BADI
    in that tab for one of the field i have to put dropdown list (some static values)
    i tried VRM_SET_VALUES , but how to pass the static values to the screen field as dropdown list.
    please help on this issue.
    Thanks,
    Satish

    Hi,
    The logic u told is right it should work.
    PROCESS ON HELP-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP.
      PROCESS ON VALUE-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP_VENDOR.
    MODULE HELP_VENDOR INPUT.
    *break-point.
      wa_values-key = 'M'.
    wa_values-text = 'Manufacturer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'FD'.
    wa_values-text = 'First Stage Dealer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'I'.
    wa_values-text = 'Importer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'DI'.
    wa_values-text = 'First stage or Second stage dealer of Imported Goods'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'MD'.
    wa_values-text = 'Manufacturers Depot or Consignment Agent'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'SD'.
    wa_values-text = 'Second stage dealer of Indeginious Ecisable Goods'.
    append wa_values to values.
    clear wa_values.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    = '01'
        VALUES                = VALUES
    EXCEPTIONS
       ID_ILLEGAL_NAME       = 1
       OTHERS                = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDMODULE.                 " HELP_VENDOR  INPUT
    *&      Module  HELP  INPUT
          text
    MODULE HELP INPUT.
    if sy-uname = 'ABAPUSER'.
      break-point.
    endif.
    ENDMODULE.                 " HELP  INPUT
    Process on help req is triggering on pressing the F1 help but process on value req is not triggering on pressing F4 it is triggering before the screen display i.e in PBO can u tell wat might be the problem.
    Thank u very much.

  • How to trigger dropdown list click in editable alv?

    I have an editable alv - and wehn a certain field is changed - I want to force the user to update a 2nd field, which is filled via a dropdown list.
    Ive trapped the change of the first field, in the handle_data_changed method, but need to from there - call an event to simulate a click onthe 2nd dropdown field, and can not figure out how to do that. the method modify_cell wont work as it expects a value to be passed in and I need to use my dropwdown.
    How is this done?
    Do I have to change it from a dropdown to an f4 event? I woudl really rather not.

    Dear srivallika,
    first you have do build up an steploop on your dynpro for the it_ccode-bukrs
    AT PBO
    loop at it_ccode cursor g_ccode_cur into wa_cccode.
    my set loopc
    module ccode_loopc.
    endloop.
    Include PBO
    module ccode_loopc.
      g_ccode_loopc = sy-loopc.
    endmodule.
    You only see via DIAG Dialog the displayed rows on the Dynpro.
    So if you only have a steploop of 4 rows -- you only get 4 rows to the wgate.
    Better use the field-set makro.
    AT PBO
    module rfc_fieldset_ccode.
    INCLUDE PBO
    module rfc_fieldset_ccode.
    data: ls_ccode like line of it_ccode.
    data: i type i.
    I'll use deeper structure
      perform rfc_fieldset_ccode.
    but you also can define the code here
    loop at it_ccode into ls_ccode.
         add 1 to i.
         field-set 'INDX'       i i .
         field-set 'BUKRS'   i   ls_ccode-bukrs .
    endloop.
    endmodule.
    Why to do this? The field-set makro (don't forget to include AVWRTCXM at your topinclude) will send the data from internal table via AGATE to the WGATE.
    Here now you can define the dropdown list:
    srivallika, i'll hope i could help you a little. If you have any questions, you won't bother me. ASK!
    With best regards
    Thorsten

  • How create LOV(select List) with all LDAP users

    Hello,
    I am trying to create a selected list with all the users in my LDAP, note my LDAP is synchronized with my OID.
    Any suggestions, I'm searching the the pl/sql statment?
    Thanks
    Hussam

    Hi Hussam,
    Take a look at my comments in the following two threads -
    Re: LDAP
    Re: Cookie And LDAP
    The two different threads discuss the methods I use to do what you want to do (so you really need to 'combine' the two different threads).
    Hope this helps

  • How to fill dropdown list in Adobe form

    Hi Experts,
                  I am new to adobe form.Please tell me ,how to fill drop down list in adobe form?
    Thanks,
    Hans

    Hello Arafat,
    I am using a drop down list in Adobe Interactive Form for Web Dynpro ABAP.
    The form is of ZCI type layout and the form interface is of XML schema-based interface type and the XML schema source is set to "Generated".
    I have included the following code in WDDOINIT method of the view:
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zsttxecr.
    handle1 = wd_context->get_child_node( name = 'DATA.NODE1' ).
    select ktokd from kna1 into corresponding fields of zstruct.
    append zstruct to zitab.
    endselect.
    handle1->bind_table( new_items = zitab ).
    In the Adobe Form Designer, i have binded the node NODE1 to the enumerated drop down list from native web dynpro library. Still the drop down box is not getting populated.
    Please let me know what is missing.
    Thanks and Regards.

  • Dropdown list in alv toolbar

    Hello,
    I am trying to get a dropdown column in an ALV table. While searching in the forum I now have the dropdown in thr ALV column 'VALUE' but I am not able to to get values in the column.
    I have one node called 'RES' type WDR_CONTEXT_ATTR_VALUE with the attributs VALUE and TEXT and the following coding:
    ***********************ALV INIT
      data: lr_if_controller type ref to iwci_salv_wd_table,
            lr_cmdl          type ref to cl_salv_wd_config_table,
            lr_cmp_usage     type ref to if_wd_component_usage.
    Instantiate ALV1 component
      lr_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if lr_cmp_usage->has_active_component( ) is initial.
        lr_cmp_usage->create_component( ).
      endif.
    Get reference to model
      lr_if_controller = wd_this->wd_cpifc_alv( ).
      lr_cmdl          = lr_if_controller->get_model( ).
      data: lr_col type ref to cl_salv_wd_column,
            lr_dropdown type ref to cl_salv_wd_uie_dropdown_by_key.
      create object lr_dropdown
        exporting
          selected_key_fieldname = 'VALUE'.
      lr_cmdl->if_salv_wd_table_settings~set_read_only( abap_false ).
      lr_col = lr_cmdl->if_salv_wd_column_settings~get_column( id = 'VALUE' ).
      lr_col->set_cell_editor( lr_dropdown ).
    data: lt_valueset type table of wdr_context_attr_value,
    ls_valueset type wdr_context_attr_value,
    lr_node type ref to if_wd_context_node,
    lr_nodeinfo type ref to if_wd_context_node_info.
    lr_node = wd_context->get_child_node( name = wd_this->wdctx_res ).
    lr_nodeinfo = lr_node->get_node_info( ).
    ls_valueset-value = '1'.
    ls_valueset-text = 'eins'.
    append ls_valueset to lt_valueset.
    ls_valueset-value = '2'.
    ls_valueset-text = 'zwei'.
    append ls_valueset to lt_valueset.
    lr_nodeinfo->set_attribute_value_set(
    exporting
    name = 'VALUE'
    value_set = lt_valueset
    data: itab_res type table of wd_this->element_res,
          stru_res type wd_this->element_res.
    append stru_res to itab_res.
    lr_node->bind_table( itab_res ).
    Anyone knows what I am doing wrong?
    regards
    Stefan

    Hi ,
    I think its not get updated because the external context mapping of the node is done at design time... so remove the design time mapping and do the dyanamic mapping .. once the attributes valueset is updated.. see the below code...
    Instantiate ALV component
    DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
    l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
    IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
    l_ref_cmp_usage->create_component( ).
    ENDIF.
    Pass context node to ALV
    DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
    l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    hope this will help ..............
    Regards
    Yash

Maybe you are looking for