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
3 years agoNew Contributor II
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...
- 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
seburn
3 years agoNew Contributor III
P.s. make sure to put square brackets around the parameter passed in via button to pick up all comma separated values e.g
{seq_name}{ParamCC=[|!ParamA!|]}
Related Content
- 3 years ago
- 1 year ago
- 3 years ago