- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
({
myAction : function(component) {
//alert('getZen');
var action = component.get("c.find");
alert('line 5');
var self = this;
// alert('after 7');
action.setCallback(this, function(actionResult) {
//alert('getZen1');
var state = actionResult.getState();
var data=actionResult.getReturnValue();
if (component.isValid() && state === "SUCCESS") {
alert('success');
alert(JSON.stringify(data));
component.set("v.acclst", actionResult.getReturnValue());
}
});
$A.enqueueAction(action);
},
});
https://salesforce.stackexchange.com/questions/170429/lightning-record-display
Комментарии (0) RSS
Добавить комментарий