You need to sign in to do that
Don't have an account?
SFDC Forum 9
@Auraenabled from private method
I have public non static method which will call couple of private methods ,one of them in turn make call to web service.
Now i will have to make them annotated with @AuraEnabled, how can I do that.
I tried making all of them static, it gices an errors
'this cannot be used in static resource'
'variable does not exist: request'
Please suggest
Now i will have to make them annotated with @AuraEnabled, how can I do that.
I tried making all of them static, it gices an errors
'this cannot be used in static resource'
'variable does not exist: request'
Please suggest
If it is a SOAP call, your code should look like this
and if it is REST, it should look like this