You need to sign in to do that
Don't have an account?
mobile vistex
how to push map data into a list
hi iam actually trying to prepare a table where i want to push map data into list ? what is the approach to move data of map to a list in apex
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
See the below snippet for pushing map data into a list:
Hopefully, this helps you!
Thanks,
Use Map values() method as below.
"Try this code."
for this, you need to use the values() method.
Eg.
Map ObjectName is mapObj.
So you need to write mapObj.values();
List<String> listObj=new List<String>();
listObj.add(mapObj.values());
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi