Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

There isn't, you can only get the Id of a list of objects easily by converting the list to a map and getting the keyset. (See I just want the IDs?I just want the IDs?)

I'm afraid you're stuck to looping over the list, and adding them manually like you are doing now.

There isn't, you can only get the Id of a list of objects easily by converting the list to a map and getting the keyset. (See I just want the IDs?)

I'm afraid you're stuck to looping over the list, and adding them manually like you are doing now.

There isn't, you can only get the Id of a list of objects easily by converting the list to a map and getting the keyset. (See I just want the IDs?)

I'm afraid you're stuck to looping over the list, and adding them manually like you are doing now.

Source Link
pjcarly
  • 7.5k
  • 5
  • 37
  • 56

There isn't, you can only get the Id of a list of objects easily by converting the list to a map and getting the keyset. (See I just want the IDs?)

I'm afraid you're stuck to looping over the list, and adding them manually like you are doing now.