Hii,
In my case i have to edit the multiple Dropdown field value:
the value from my record type is like : "Product 1,Product 2".
So, value is not matching with choice value. How to resolve this, I tried converting the value to list of text using split but still it is not working.
Discussion posts and replies are publicly visible
"p1;p2"
split(local!data,";")
use ";" in split , try this ->
a!localVariables( local!value:"Option 1;Option 2"; local!splitedValue: split(local!value,";"), { a!multipleDropdownField( choiceLabels: { "Option 1", "Option 2", "Option 3" }, choiceValues: { "Option 1", "Option 2", "Option 3" }, value: local!splitedValue, label: "Multiple Dropdown", labelPosition: "ABOVE", saveInto: {local!splitedValue}, searchDisplay: "AUTO", validations: {} ) } )
Your are right , But it is not working, I am calling it from record, I don't know why it is not working
could you please give us a screenshot of local variable value , where temp local variable should contain this value :
ri!record['recordType!{65daf38b-046b-457b-930c-521bbccdc1d0}PP Type.fields.{263d05f5-db7e-469f-b4bc-f41ee5d40137}primaryproduct']
Hello antogladvinj3315 ,
What are you trying to fetch in local!value? What does it have to do with the dropdown and why are you overriding it? Because if you save the selected values in the same local variable(local!value), that changes your vaules that you have initially configured with rule!PP_ChoiseValues_PrimaryProduct().
What are the values/string/list that is present in the constants? share us what values you have in both the constants.
Can you paste the output of the Local!Value to understand the output .
Thanks You for replying
I got the issue, It is a space occurring in Value ie: "Product 1; Product 2" , but choice value is "Product 1" "Product 2"
Space issue: yellow marked area
In constant i have