Skip to main content

I have a list of SObjects. Now I have to do either one. Image the object has 2 fields name and id 1. Create a map in which the name becomes the key and id the value without for loop

2. Filter the list of SObjects based on the name.   I should not iterate in any case. We can create a map with ID, SObject but I don't want that. It is ok even if it is Name, SObject.  Anyone has a solution to this?    #SolveProblemsTogether #Service Cloud #Post Question #Challenge #DiscussSalesforceQueries

0/9000