Last active
December 6, 2015 05:00
-
-
Save karanrajs/6da6b2cc7a1f45645b58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doInit : function(component, event, helper) { | |
var action = component.get("c.getRecentRecords"); | |
var fields = component.get("v.fields"); | |
action.setParams({ | |
ObjectName : component.get("v.object"), | |
limits : component.get("v.limit"), | |
fieldstoget : fields.join() | |
}); | |
action.setCallback(this,function(response){ | |
// Logic to process the returned value | |
}); | |
$A.enqueueAction(action); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment