Timeline for Cannot convert list of objects to specific type
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2017 at 12:20 | vote | accept | Renato Oliveira | ||
Jan 25, 2017 at 17:30 | answer | added | cropredy | timeline score: 2 | |
Jan 25, 2017 at 17:22 | history | tweeted | twitter.com/StackSalesforce/status/824306475178852355 | ||
Jan 25, 2017 at 17:19 | answer | added | Ilya Lepesh | timeline score: 0 | |
Jan 25, 2017 at 16:03 | comment | added | Renato Oliveira | @DerekF I tried to get the list to a variable and then converting it to a list of Ids, and it gave me the same error. | |
Jan 25, 2017 at 15:54 | comment | added | Renato Oliveira | I haven't. I was hoping to reduce lines of code with this approach... getting the list of what I need with one line. | |
Jan 25, 2017 at 15:52 | answer | added | crmprogdev | timeline score: 1 | |
Jan 25, 2017 at 15:47 | comment | added | Derek F |
Not sure why you're getting this error (or why it's saying that you're trying to cast a List<ANY> instead of a List<Object> ), but as a workaround, have you tried iterating over the resulting list and casting individual objects as Id instead of trying to cast the entire list?
|
|
Jan 25, 2017 at 15:41 | history | asked | Renato Oliveira | CC BY-SA 3.0 |