Welcome to Zuora Product Documentation

Explore our rich library of product information

Troubleshooting CPQ X Performance Issues with Lightning Web Security

Troubleshoot and improve CPQ X performance issues by configuring Lightning Web Security settings.

If you are experiencing performance issues with CPQ X, there is a critical setting to review that might help improve the situation. In this article, we will guide you through the process of addressing performance problems by configuring Lightning Web Security (LWS) settings.

Issue

You might have encountered slow performance while using CPQ X. This can be caused by certain security settings that impact the loading of user interface (UI) elements.

For instance, performance issues may have arisen when switching between intervals, particularly in the case of ramp deals.

Solution

To address these performance issues, follow these steps:

  1. Log in to your Salesforce account.

  2. Click Setup located in the upper right-hand corner of the interface.

  3. In the Setup menu, scroll down to the Security section.

  4. Under Security click Session Settings.

  5. Locate the setting called Use Lightning Web Security for Lightning web components and Aura components and enable it.

    Note:
    • Salesforce suggests that enabling this setting activates Lightning Web Security (LWS) in place of Lightning Locker, which enhances the security of Lightning web components and Aura components.

    • Deactivating this setting allows all UI elements to load, facilitating inspection by developers. However, it may lead to performance degradation, especially when pages contain numerous UI elements.

Salesforce recommendation

Salesforce strongly advises enabling the Use Lightning Web Security for Lightning web components and Aura components setting to ensure the best balance between security and performance. By doing so, you can maintain the integrity of your CPQ X application while avoiding unnecessary performance bottlenecks.

Additional resources

For more information on Lightning Web Security and when to enable it, Salesforce offers several helpful articles: