Solved
Forum Discussion
JackLacava
3 years agoCommunity Manager
Works fine here (7.4).
If args.CustomCalculateArgs.FunctionName.XFEqualsIgnoreCase("rounder") Then
api.LogMessage("fired")
Dim sb As New StringBuilder()
For Each kp As KeyValuePair(Of String, String) In args.CustomCalculateArgs.NameValuePairs
sb.Append($"{kp.Key} {kp.Value}")
Next
api.LogMessage(sb.ToString)
The value contains all items, separated by comma and space.
For extra-safety with commas, you can try surrounding the parameter with double-quotes (which you'll then have to strip).
EricOsmanski
3 years agoValued Contributor
As long as you have [] around the parameter it should pass the entire comma separated string to the rule. I have never had an issue. Only when you don't have [] around the parameter does it pass only the first value. Looks like you do have the brackets appropriately in the button, though.
Can you screenshot the button?
Related Content
- 4 years ago
- 8 months ago
- 2 years ago
- 2 years ago