Activity Forums Salesforce® Discussions How do you use the map in the lightning component?

  • Anjali

    Member
    December 11, 2020 at 12:42 pm

    ({ doInit: function(component, event, helper) {
    var action = component. get('c.getMyMap'); action. ...
    var state = response. getState(); if (state === "SUCCESS") {
    //set response value(map) in myMap attribute on component. component. set('v.myMap',response. ...
    }); $A. enqueueAction(action);

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos