You need to sign in to do that
Don't have an account?

security issues
Hi Team,
I have a lightning Component that used the access="global". Salesforce has suggested please remove the access="global" in all lightning components.

but when I remove the access="global", the package got not Upload it showing an error message.

any suggestion that would be helpful for me.
Thank you.
Ranjith M
I have a lightning Component that used the access="global". Salesforce has suggested please remove the access="global" in all lightning components.
but when I remove the access="global", the package got not Upload it showing an error message.
any suggestion that would be helpful for me.
Thank you.
Ranjith M
The error is probably related to the scenario explained in https://salesforce.stackexchange.com/questions/307758/component-is-from-a-managed-package-and-must-be-marked-access-global-on-sfd
If you are releasing a component as part of a package, then you definitely want your component to be accessible outside of your org, for which you would need to mark it with a global access.
See related: https://salesforce.stackexchange.com/questions/219001/lightning-component-in-this-managed-package-must-be-marked-access-global
https://salesforce.stackexchange.com/questions/176948/when-to-set-lightning-access-global-in-managed-packages
If this information helps, please mark the answer as best.Thank you
All Answers
The error is probably related to the scenario explained in https://salesforce.stackexchange.com/questions/307758/component-is-from-a-managed-package-and-must-be-marked-access-global-on-sfd
If you are releasing a component as part of a package, then you definitely want your component to be accessible outside of your org, for which you would need to mark it with a global access.
See related: https://salesforce.stackexchange.com/questions/219001/lightning-component-in-this-managed-package-must-be-marked-access-global
https://salesforce.stackexchange.com/questions/176948/when-to-set-lightning-access-global-in-managed-packages
If this information helps, please mark the answer as best.Thank you