You need to sign in to do that
Don't have an account?
Sonya Dhand 14
Disable Access to Non-global Apex Controller Methods in Managed Packages (Critical Update)
Hi
Can anyone help me with what needs to be done with this critical update by Salesforce in Summer 17 Release?
https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_lightning_cruc_access_public_methods_in_packages.htm
Mnay thanks
Sonya
Can anyone help me with what needs to be done with this critical update by Salesforce in Summer 17 Release?
https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_lightning_cruc_access_public_methods_in_packages.htm
Mnay thanks
Sonya
It affects access to server-side Apex controller methods from your Lightning components. If you’ve written Lightning component code that calls non-global Apex methods in a managed package, you have some work to do.
As a reminder, the Apex methods behind your Lightning components server actions have the following access modifier requirements.
Apex methods in the same namespace as your component must be marked public or global.
Apex methods in a different namespace from your component must be marked global.
Thanks,
Nagendra
We just need to check on custom lightning components. Earlier we can access public Apex class from manage package as a controller in lightning component. e.g below:
<aura:component controller='mynamespace.ApexClassInManagePackage' implements='flexipage:availableForAllPageTypes' access='global'>
I hope this answer will helpful. Please let me know if you need any detailed information.
Thanks!
We just need to check on custom lightning components. Earlier we can access public Apex class from manage package as a controller in lightning component. e.g below:
<aura:component controller='mynamespace.ApexClassInManagePackage' implements='flexipage:availableForAllPageTypes' access='global'>
I hope this answer will helpful. Please let me know if you need any detailed information.
Thanks!