Skip to main content
Inspiring
January 13, 2021
Question

2 multipleDropdownField configuration issue

  • January 13, 2021
  • 5 replies
  • 1 view

Hello community, I have a problem with multipleDropdownField component that should show the list of options depending on the list of selected items in another multipleDropdownField. Then based on selection data should be displayed in Grid. Can someone help the code.

    5 replies

    bhuvanachandrans0001
    New Participant
    January 13, 2021

    Hi akshayg0006,

    You have to update the second multipledropdownfield's choiceLabels and choiceValues  in the saveInto of first multipledropdown.

    mikes0011
    Brainy
    January 13, 2021

    Using a!localVariables() this method is now outdated in most use cases.  This is because we have the ability to "chain" local variable values in such a way as to cause the value of one to refresh when the value of an earlier one is updated. 

    The particular advantage of doing things this way is that we don't have to duplicate the code for a single query across 2 or more locations on an interface, which given enough time and complexity, becomes a maintenance nightmare.

    The Expression Guru
    bhuvanachandrans0001
    New Participant
    January 13, 2021

    Correct. Thanks Mike Schmitt

    vamsik0002
    Known Participant
    January 13, 2021

    This link should be helpful

    https://docs.appian.com/suite/help/20.4/recipe-configure-cascading-dropdowns.html

    though it is for dropdown, multiple dropdown also should be similar.

    Inspiring
    January 13, 2021

    Thanks a lot..