The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.

Forum Discussion

Rev's avatar
Rev
New Contributor II
3 years ago
Solved

passing multiselect combo-box as parameter

Hi,   ParamA will be a multiselect combo box and the same should be passed to business rule as well. May I know how it can be done? I'm passing the parameter in calculate button, then DM step a...
  • seburn's avatar
    3 years ago

    Hi. 

    You can split the string in the receiving business rule by delimiter e g comma

    Dim split as String() = args.NameValuePairs.XFGetValue("ParamCC").Split(",")

    Then loop through rresults to get each selection e.g

    For Each param As string in split

         ' Do Something 

    Next