Salesforce Lightning Web Security

What is Lightning Web Security (LWS)?

Lightning Web Security (LWS) is the new Salesforce default security architecture for all Lightning components, replacing Lightning Locker. The architecture has impact on the ADvendio package though and might lead to issues in the usage of our components.

How will it be enabled?

LWS can currently be enabled/disabled in the session settings of your Salesforce setup.

As of the Salesforce Winter ‘23 release (November 2022), new orgs have LWS for LWC enabled by default. 

Salesforce plans to enable Lightning Web Security gradually for all customers over coming releases. The setting to disable it is temporary and will eventually be removed (safe harbor). 

Please find more information on the related Salesforce pages: https://help.salesforce.com/s/articleView?id=000392327&type=1 and https://developer.salesforce.com/docs/component-library/documentation/en/lwc/security_lwsec_when

What does this mean now for ADvendio?

We are currently checking our ADvendio features for compatibility with LWS. The features in the list below are already supported and compatible:

  • Pre-Invoice wizard

  • Self Service

If you want to enable LWS please make sure to test your ADvendio workflows before.