You need to sign in to do that
Don't have an account?
Phuc Nguyen 18
Error in Callback
Hello All,
I have a callback in a component help that is returning the id of a record from an apex class.
The name.id value is being returned. I can see the id of the new record. component.set('v.donor',name.Id)
But it is throwing an error after the record is saved.
How can I get the id from the controller helper js back to the .cmp to enable to the lightning:fileupload button?
Thanks,
P
I have a callback in a component help that is returning the id of a record from an apex class.
The name.id value is being returned. I can see the id of the new record. component.set('v.donor',name.Id)
But it is throwing an error after the record is saved.
Error in $A.getCallback() [Cannot set property 'checked' of null] Callback failed:I am trying to return the new id to the cmp to enable the lightning:fileUpload button. Its greyed out and I am assuming it will be enabled once it recognized an id.
How can I get the id from the controller helper js back to the .cmp to enable to the lightning:fileupload button?
Thanks,
P
Thx
All Answers
Thx