Timeline for How to check if a value was selected from multi select pick list field in custom controller
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 22, 2023 at 11:27 | comment | added | Derek F | Also, the SNO was introduced in Winter '21 (API v50.0), so I wouldn't really say "latest" here. | |
Aug 22, 2023 at 11:26 | history | edited | Derek F | CC BY-SA 4.0 |
added 1 character in body
|
Aug 22, 2023 at 11:25 | comment | added | Derek F |
The Safe Navigation Operator (SNO) won't work in this scenario because when Donor_Interests__c is null, the SNO returns null. if(null && <other things>) is not valid syntax and I think you'd still end up with a Null Pointer Exception in this case.
|
|
Aug 22, 2023 at 8:05 | review | Late answers | |||
Aug 22, 2023 at 11:28 | |||||
Aug 22, 2023 at 7:46 | history | answered | Samhita Argula | CC BY-SA 4.0 |