Article #000001341
Summary
Some AdvoLogix functionalities will not work when LWS is enabled.
Question
Why can I no longer upload files using the Related Files component?
Resolution
Lightning Web Security is the latest security framework within the Salesforce Platform that implements secured communication between different components across multiple AppExchange packages within your organization.
AdvoLogix has determined this security framework is not yet ready to be enabled within any organization that contains the AdvoLogix application and its related lightning components. LWS is going to be enabled for new organizations generated after Winter '23, and in its current state, LWS does not yet fully support organizations that contain both lightning aura and web components. Salesforce also has advised not to enable LWS when your organization contains both lightning aura and web components, as the component may malfunction in an undetermined way. For more details, read this article.
Workaround
Steps to disable Lightning Web Security (LWS):
- Go to Salesforce Setup | Security | Session Settings.
- Scroll down the page to a section titled Lightning Web Security.
- Disable the checkbox Use Lightning Web Security for Lightning web components.
- Click Save button to save session settings.