I have set up a global search filter on a custom object that includes the Record Type field. This allows our users to filter down results by Record Type. However, when choosing one of the Record Type values, we see the error "Error: Picklist value does not exist." After doing some research I'm guessing this is being caused by the fact that the Record Type has a comma in it. I was wondering if there was some work around to being able to use this Record Type picklist value as a filter, without having to update the Record Type name (to remove the comma).
Thanks!
Best Answer
Appears to be a known issue which is currently being reviewed: "Error: Picklist value does not exist" in Search Filter Fields for Record Type values with commas
N.B. It might be important to point out that an error may not always be thrown for this issue. Appears record types containing commas are actually being split into separate filters. Eg. a record type filter of "One, Two" is being split into "One" and "Two" at which point the filter is applied. So if you have a record type of "Two", then results will be returned for that. If you have both "One" and "Two" as record types, you will get those results back, but never "One, Two" results. An error is only thrown if neither "One" nor "Two" are valid record types. Hope that makes sense.