Pass values fromSharePoint list multi-selection list box to Infopath Multi-selection list box and back

Design overview:
List A
InfoPath Library - Form A
SharePoint Designer workflow
List A has a multi-selection column with multi-values.
Form A has fields populated from the data in List A by using a data connection in the form.  I have a workflow that updates the values or creates a new item in List A. All fields work except the mufti-selection. The multi-selection has ;# separating
the values and I am having trouble setting the list box properly(checking of the selecting values) instead it concats all values on one line. I basically need to get the multi-selection column from list 1  to show exactly in the Form A and be able to
update the selection with the workflow. I can do this with single values with no problem. the multi-selection list is difficult. I read somewhere I can use a repeating table but I am not sure the workflow will work with that. That is only a read and not 
a write.

Wow over my head a little. I understand what an array is with script but not how to write the script to handle it. I made this:
event.value = getField("LISTBOX").value;
But still no change in the behavior with multi selections. Example below if you want to check it out.
https://dl.dropboxusercontent.com/u/2944617/formtext2.pdf

Similar Messages

  • HT5137 How can I get my castleville legends to connect to facebook?  I select the option to connect, it goes to facebook and back to the app, but it still won't connect.  I have both restarted the app and my phone wiht no luck.

    How can I get my castleville legends to connect to facebook?  I select the option to connect, it goes to facebook and back to the app, but it still won't connect.  I have both restarted the app and my phone wiht no luck.

    Hello sdrail81,
    The following article provides tips that can help resolve most issues with apps from the App Store.
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Cheers,
    Allen

  • Passing values between jsp pages

    Hi all,
    I am a newbie to jsp. I am trying to pass value from one jsp to another.
    Let me post the code here and make my point clear. I have 3 jsp pages and am trying to get the value into my 3rd page that was in the first page.
    This is my Test.jsp page:
    <%@page contentType="text/html"%>
    <html>
    <head><title>Test JSP Page</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    Testing.. JSP Page
    <FORM action='Response.jsp' method="POST">
    <input type='Text' name='get_name'>
    <input type="submit" value="Click Me">
    </FORM>
    </body>
    </html>
    This is my response.jsp page:
    <%@page contentType="text/html"%>
    <%@page import = "sun.jdbc.rowset.CachedRowSet" %>
    <html>
    <head><title>Response Page</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    Thank you... <%=request.getParameter("get_name") %>
    // I want to pass this get_name to my next page, but since request.getParameter returns an object and not a string, how will I capture the value and pass it to my next page.
    </body>
    </html>
    The 3rd jsp page is:
    <%@page contentType="text/html"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
    // I am trying to get the value of the name here in this page.
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    </body>
    </html>
    Your help is appreciated.
    Thanks

    Hi,
    Thanks for the reply, it works. I was wondering whether this is an efficient way of doing this. What I want to do further is to setup a connection to a database and use the value I got from my previous page to query the DB and get the results and display.
    I have see some code in the java website and a lot of people do by writting a bean /class(believe bean is just a class) and then importing it and do the things that way. I have good knowledge of OO and Java as a language and would definitely love to do it this way.
    What i think i am missing is the basic idea to doing this way. So if you could let me know how to do this using java classes I would really appreciate it. If its too much to explain can u point to some good source(URL's) that explain's this. I have searched on this and all i find is code with no good explaination.
    Thanks a lot

  • Pass values between fields

    Hi, Can anyone tell me how can I pass values between two fields. I have a combobox feild in edit.uix and I want to pass this value to a text field in browse.uix. Can anyone tell me how can I do it.
    Thanks

    add a second form in your jsp.
    and put this hidden field in it.
    and post this new form.

  • On button click of Infopath forms select multi select list box values...

    Hi,
    We have multi select list box on one of the info path forms. We have placed on button on this form. If user clicks on this button we want to select some of the values in Multi select list box (check box).
    Is it possible if yes how can we achieve it?
    Thanks.
    Regards,
    Amit Chhatbar

    Hi Amit,
    From your description, you would like to check items in a multi-selection box when a button is clicked.
    I’d recommend you make use of rules in InfoPath form, i.e. when button is clicked, then set a field’s value.
    However, if you are using multi-selection box, then you could only set the value of one item at a time. If you want to select several items at once, then we could use code. For more information:
    http://www.bizsupportonline.net/blog/2009/07/understanding-multiple-selection-list-box-infopath/
    http://www.bizsupportonline.net/infopath2007/programmatically-select-all-items-multi-select-list-box.htm
    If you are using several check boxes to replace multi-selection box, then it will be more easy. The rule could be that when this button is clicked, set a field’s value (check box field) to true and repeat it.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to increase the width of the drop down list box in SSRS multi value parameter

    Hi,
    I am using SSRS 2012. I have a parameter, which accepts multi value.
    The width of the drop down list box is very small, and the user need to scroll to the right to view the complete view of the content in the list box. But, if I don't use multi value then the length is good.  Kindly suggest how to I increase the width
    of the list box when it set to multi value parameter.
    Thanks in advance,
    Mahalengam Arumugam

    Hi Mahalengam,
    After testing the issue in my local environment, I can reproduce it. When the values for a single parameter are too long, the drop-down list of the parameter will automatically enlarge to an appropriate size. While the values for a multiple parameter are
    too long, we need to scroll to the right to view the complete view of the content in the list box in SSRS 2008. But in SSRS 2008R2 and SSRS 2012, we can directly drag the black control at the bottom of the list box to control the size.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support
    Hi Katherine,
    Thanks for your reply. I understood we need to drag the list box to a maximum size to view the contents.
    But, this seems an additional task, i know this is a limitation in the current version of SSRS and hope it will be resolved in the next versions.
    Thanks for your efforts,
    Mahalengam Arumugam

  • Passing Values to a dropdown list within a dialog box

    I am using the app.execDialog(dialog1) command to display a dialog box on my form. The dialog box contains dropdown list (popup). I have found examples that do this but in all the examples they reference the loadDefaults function with hardcoded values.
    For example:
    loadDefaults: function (dialog)
    dialog.load(
    subl:
    "Acrobat Standard": "111",
    "Adobe Reader": "222"
    Does anyone know if there is a way to pass values into the loadDefaults via a variable etc.. I can get the data I want to populate the dropdown with but I cant figure out how to load it into the control.
    Thanks
    Ken

    Hi scamp, not sure what you're asking. What do you mean by "pass" fields from one list to another? If you need information in list 1 to show in list 2, just create lookup columns in the SharePoint list. If you mean you want to add columns to
    list 2 automatically, you'll need to make a designer workflow for that.
    cameron rautmann

  • APEX - passing values from LOV's or multi-select LOV's to another APEX form

    I am new APEX development and I need to take the values from LOV's and multi-select LOV's and pass them to another APEX form. I want to take those passed values and use them in the where clause of the base-table in the called form. Any assistance would be greately appreciated.

    Hi,
    Refer this example
    http://www.talkapex.com/2009/07/apex-how-to-pass-multiselect-list.html
    Example: http://apex.oracle.com/pls/otn/f?p=20195:2100
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • List box display depand upon another list selection

    hi all
    i m trying to generate a listbox depanding upon the selection of first list box. like if i select option 1 in first listbox it should display a database table in other list box, if 2nd then display other db table & so on.
    is it possible.
    plz give some suggestion or code
    regards

    in the list box selection event call submit function [\b]and pass the value to DB which queries against that value and populates the required list box.

  • Changing the selection screen based on the option in list box option

    Hi Experts,
    I have a list box parameter in my selection screen,
    i have four options and i am changing my selection screen based the option selected.
    see my code below,
    at selection-screen output.
      GS_VRM_VALUES-KEY = '1'.
      GS_VRM_VALUES-TEXT = TEXT-S02.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '2'.
      GS_VRM_VALUES-TEXT = TEXT-S03.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '3'.
      GS_VRM_VALUES-TEXT = TEXT-S04.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '4'.
      GS_VRM_VALUES-TEXT = TEXT-S05.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      CLEAR: GS_VRM_VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    = 'P_DROP'
          VALUES                = GT_VRM_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.
    LOOP AT SCREEN .
        CASE P_DROP .
          WHEN '1'.
            IF SCREEN-GROUP1 = 'M2' OR
              SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '2'.
            IF SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '3'.
            IF SCREEN-GROUP1 = 'M2' OR
                SCREEN-GROUP1 = 'M4' .
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '4'.
            IF SCREEN-GROUP1 = 'M2' OR
            SCREEN-GROUP1 = 'M3'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN OTHERS.
            IF SCREEN-GROUP1 = 'M2' OR
               SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
          screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    my problem is when i change the option in the list box, the particular modify group ie, the screen is getting changed only after i press enter, So please suggest me how i can change the screen without pressing enter.

    Hi,
    without using VRM_SET_VALUES...you just create one data element by going se11....create one domain for it...now give the values in the "value range" tab....and at the time of declaration just write ..
    PARAMETERS var1 TYPE <your created data element>
                        AS LISTBOX VISIBLE LENGTH 20
                        USER-COMMAND onli
                        DEFAULT <one value>.
    You will get the same effect as list box....and make it mandatory..
    Arunima

  • Hiding of Select Options in screen based on selection in selection list box

    Hi People,
             I have a screen where i have put a selection list box, it is pre-filled with values, Now based on the value which user selects, I want to show/hide some select-options fields. I have declared the select options in the top include of my program,
    SELECT-OPTIONS: so_user FOR ls_rsp_user-user_id MODIF ID 222,
                    so_userg FOR ls_rsp_usergrp-user_grp_id MODIF ID 333,
                    so_ccode FOR ls_vdmp-bukrs MODIF ID 444,
    then in the PBO of my screen, I have written a module, set screen in which I loop over screen & check the group id's
    LOOP AT SCREEN.
        IF screen-group1 = '111'.
          IF gv_hier_resp_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
        ELSEIF screen-group1 = '222'.
          IF gv_user_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
        ELSEIF screen-group1 = '333'.
          IF gv_user_group_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
        ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    I am setting some flags based on the value which user selects in the selection list box, When I debugged I found that the flags were being set correctly, but the screen group value never set to '222' or '333', these are id's i have used for select options. Hence I am unable to hide/show the select options fields.  Kindly suggest some solutions for this.
    Thanks & Regards,
    Deepak

    then in the PBO of my screen
    Your SELECT-OPTIONS are defined in a SELECTION-SCREEN so the PBO actions must be maintained in a AT SELECTION-SCREEN OUTPUT block.
    I suppose the selection-screen is a subscreen, if you dont want to get unwanted interactions with a main selection-screen of the report, check sy-dynnr
    AT SELECTION-SCREEN OUTPUT.
       CASE sy-dynnr.
         WHEN '1000'. " main screen of report
         WHEN '0100'. " selection-screen defined as subscreen
           LOOP AT SCREEN.
             CASE SCREEN-GROUP1.
               WHEN '111'.
             ENDCASE.
           ENDLOOP.
       ENDCASE.
    Regards,
    Raymond

  • Dynamic population of second list box based on the selection of first list

    Hai Friends,
    I have the code like this.
    Here my issue is: when the user accesses this page he will get the topic and related categories in the drop down boxes. but when the user changes the topic it needs to populate the categories from the database and kept the topic same for the respective categories. so how can i do this?
    <form name="questionForm" method="post" action="listQuestions.lgs">
    <table bgcolor="F8D8D8" cellspacing="2" cellpadding="2" align="center"
         style="margin-top: 100px">
         <tr>
              <td>Topics:</td>
              <td><select name="topic">
                   <c:forEach items="${model.topics}" var="topic">
                        <option value="<c:out value="${topic.topicId}" />"><c:out
                             value="${topic.topicName}" /></option>
                   </c:forEach>
              </select></td>
              <td>Categories:</td>
              <td><select name="category">
                   <c:forEach items="${model.categories}" var="category">
                        <option value="<c:out value="${category.categoryId}" />"><c:out
                             value="${category.categoryName}" /></option>
                   </c:forEach>
              </select></td>
         <tr>
              <td><a
                   href="addQuestion.lgs?categoryId=2<c:out value="${category.categoryId}"/>">Add
              New Question</a></td>
              <td></td>
              <td></td>
              <td></td>
         </tr>
         <tr>
              <td>Questions under this Category:</td>
              <td><c:if test="${model.questions} == null">
                   <c:out value="no questions found" />
                   <br>
              </c:if> <c:if test="${model.questions} != null">
                   <c:forEach items="${model.questions}" var="question">
                        <table>
                             <tr>
                                  <c:out value="${question.questionDesc}" />
                             </tr>
                        </table>
                   </c:forEach>
              </c:if></td>
         </tr>
         <tr>
              <td colspan="2"><input type="submit" /></td>
         </tr>
    </table>
    </form>
    regards,
    phani.

    Hi Rahul,
    I followed the link what you have mentioned and i need clarification in regarding this....
    function getResponseAction(){
    // Verifying State & Status
    if(verifyReadyState(xmlhttp) == true){
    // Building a DOM parser from Response Object
    var response = xmlhttp.responseXML.documentElement
    // Deleting all the Present Elements in the Drop-Down Box
    drRemove()
    // Checking for the Root Node Tag
    var x = response.getElementsByTagName("option")
    var val;
    var tex;
    var optn;
    for(var i = 0;i < x.length; i++){
    optn = document.createElement("OPTION")
    var er
    // Checking for the tag which holds the value of the Drop-Down combo element
    val = x.getElementsByTagName("val")
    try{
    // Assigning the value to a Drop-Down Set Element
    optn.value = val[0].firstChild.data
    } catch(er){
    // Checking for the tag which holds the Text of the Drop-Down combo element
    tex = x[i].getElementsByTagName("text")
    try{
    // Assigning the Text to a Drop-Down Set Element
    optn.text = tex[0].firstChild.data
    } catch(er){
    // Adding the Set Element to the Drop-Down
    document.questionForm.category.options.add(optn)
    but in my springframe work i have the controller like this where i am putting category object in the context and i am retrieving this in my listQuestions.jsp like this
    <tr>
              <td>Topics:</td>
              <td><select name="topic" onchange="populateCombo(this.value)">
                   <c:forEach items="${model.topics}" var="topic">
                        <option value="<c:out value="${topic.topicId}" />"><c:out
                             value="${topic.topicName}" /></option>
                   </c:forEach>
              </select></td>
              <td>Categories:</td>
              <td><select name="category">
                   <c:forEach items="${model.categories}" var="category">
                        <option value="<c:out value="${category.categoryId}" />"><c:out
                             value="${category.categoryName}" /></option>
                   </c:forEach>
              </select></td>
         <tr>
    package com.lgsglobal.lgsexam.spring.controllers;
    import java.util.HashMap;
    import java.util.List;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.Controller;
    import com.lgsglobal.lgsexam.dao.CategoryDAO;
    import com.lgsglobal.lgsexam.dao.QuestionDAO;
    import com.lgsglobal.lgsexam.dao.TopicDAO;
    import com.lgsglobal.lgsexam.hibernate.pojos.Category;
    import com.lgsglobal.lgsexam.hibernate.pojos.Topic;
    public class ListQuestionsController implements Controller {
         private TopicDAO topicDAO = null;
         public void setTopicDAO(TopicDAO topicDAO) {
              this.topicDAO = topicDAO;
         public TopicDAO getTopicDAO() {
              return this.topicDAO;
         private QuestionDAO questionDAO = null;
         public void setQuestionDAO(QuestionDAO questionDAO) {
              this.questionDAO = questionDAO;
         public QuestionDAO getQuestionDAO() {
              return this.questionDAO;
         private CategoryDAO categoryDAO = null;
         public void setCategoryDAO(CategoryDAO categoryDAO) {
              this.categoryDAO = categoryDAO;
         public CategoryDAO getCategoryDAO() {
              return this.categoryDAO;
         public ModelAndView handleRequest(HttpServletRequest request,
                   HttpServletResponse response) throws Exception {
              HashMap mymodel = new HashMap();
              List topics = topicDAO.getTopics();
              mymodel.put("topics", topics);
              if (request.getParameter("topic") != null) {
                   System.out.println("in topics condition to retrieve questions");
                   int topicId = Integer.parseInt(request.getParameter("topic"));
                   Topic topic = topicDAO.getTopic(topicId);
                   List categories = categoryDAO.getCategories(topic);
                   mymodel.put("categories", categories);
                   System.out.println("exiting topics condition to retrieve questions");
              if (request.getParameter("category")!= null) {
                   System.out.println("in category condition to retrieve questions");
                   int categoryId = Integer.parseInt(request.getParameter("category"));
                   Category category = categoryDAO.getCategory(categoryId);
                   List questions = questionDAO.getQuestions(category);
                   mymodel.put("questions", questions);
              return new ModelAndView("listQuestions", "model", mymodel);
    so here my issue is like how i can populate categories in the category(dependent combo). so please let me know the solution.
    awaiting for reply. for any furthere info please let me know....
    regards,
    Phani.K

  • Pass Values to Edit Form thru Query String and Save in List

    I have developed a custom Edit form from SharePoint Designer and I am passing values thru Query String as below;
    http://<>/cli/acc/Lists/GIInfo/testEdit.aspx?ID=262&com=POD_Send
    And, user supposed to save the form directly without changing the values came thru Query String as below. 
    Now, issue is, when user saves the form, values is not getting saved. It saves when we change the value in text box or when we do a text change event in form. Becasue data binding says Text Change even in data binding property.
    __designer:bind="{ddwrt:DataBind('u',concat('ff22',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Actions')}"/>
    Kindly guide me what is the issue, or correct approach to do that? I want to pass values to Edit Form thru Query string and save in List without changing those.
    -Rajesh A.

    I know this is late, but i found a very good solution on this post and credit goes to the author.
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4be1be38-0663-4b80-8f28-45f38f98f9d0/sharepoint-designer-2010-custom-newformaspx-data-in-textbox-fields-dont-save-on-submission?forum=sharepointcustomizationprevious
    The issue was resolved by changing the textbox values,
    <asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="" Value="{$Destination}"  __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">
    instead of
    <asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="{$Destination}"  __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">

  • How To Enable a List Box To accept  Multiple Selection

    Dear all,
    How can I enable a List box to accept multiple selection.If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    The only problem is, the XML form data only contains the first selection made. All others are discarded. This is the first thing I've ever done with the Life Cycle Designer but the product seems somewhat in a version 1 state. Lots of features but no depth. Any suggestions about the XML?

  • Passing values in a vector list as bind variables in sql query.

    Hi,
    I have a vector list containing values 12,13,14.
    vector<string> v;
    v has values 12,13 and 14.
    Here the number of values in vector list are not fixed.
    I want to pass these values as bind variables to sql query.
    Can anyone suggest me how to do this.
    Thanks in advance!!

    Ah, the it's the classic 'Varying In-List' again
    See:
    The Tom Kyte Blog: Varying in lists...
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:110612348061 (started more than a decade ago, so scroll down for more recent examples)

Maybe you are looking for

  • Alignment failure - HP Officejet Pro 8500A Plus

    I have an HP Officejet Pro 8500A Plus all-in-one printer. The printheads failed and I bought authentic HP printheads (two), installed them and I still get the alignment failure error. The print quality is excellent on all quality and alignment report

  • Install Mac OS X on a new SSD

    I am looking at getting an SSD installed on my iMac. If I get the SSD installed, it will have no OS it will be blank. How would I get Mac OS X back on the hard drive? If I were to purchase a hard drive inclosure and put my old hard drive in the enclo

  • How to use the method substituion in variable ODI

    Hi folks, I have a variable that run the follow query; select GER_LOT_EXEC_ODI('Fluxo', 1, 'C') FROM DUAL GER_LOT_EXEC_ODI is a function, and i need to pass the data shema name before this: I'd like that stay this: select data_shema_user.GER_LOT_EXEC

  • What is this operator..i'ven't seen it before

    You define a multiple-row subquery in the WHERE clause of an SQL query with a comparison operator&qu ot;=" What happens when the main query is executed? A. the main query executes with the first value returned by the subquery B. the main query execut

  • Quikly table row update and freeze ui

    Hello forum, I'm trying update tableview by observablelist with 500 ms frequency. Using this interval the UI freeze. Can u help me pls?