You need to sign in to do that
Don't have an account?
Flint Lockwood
Get value from Map Salesforce Lightning Syntax
Hi,
I am trying to do something to what we are able to to in Visualforce. In Visualforce, can use this syntax Map[key] to retrieve values from a map. However, I am unable to get the syntax correct in Salesforce Lightning. Anyone know the correct syntax for getting values from a map?
I am trying to do something to what we are able to to in Visualforce. In Visualforce, can use this syntax Map[key] to retrieve values from a map. However, I am unable to get the syntax correct in Salesforce Lightning. Anyone know the correct syntax for getting values from a map?
go to below link for you solution
https://teachforce.wordpress.com/2016/11/16/how-to-use-map-in-lightning-component/
mark it best answer if it helps you so it make proper solution for others
thanks
you can iterate map values in lightning component go to below linke for reference
http://salesforce.stackexchange.com/questions/140608/how-to-iterate-over-map-in-salesforce-lightning-component
i hope it helps you
Thanks
let me inform if it helps you