Skip to main content

Salesforce

Preparing for Salesforce Spring ’25 Release Updates: LWC & Flow Updates

Token Min

As Salesforce prepares to roll out its Spring ’25 release, it’s vital to stay ahead of the curve. These updates bring new features, enhanced security, and changes that may impact existing configurations. By proactively testing and preparing your Salesforce org, you can ensure a smooth transition and minimize disruptions. Below, we outline preparation tips and key updates to help you get ready.

Hero Title Salesforce Spring 25 Release Dates 20241206 1400x788

Image source: Salesforce

General Preparation Tips

  1. Test Updates in a Sandbox First:

    • Use SFDX tools to search metadata for potential impacts.
    • Tools like Salesforce Inspector Reloaded or Workbench can query records and permissions to identify areas requiring attention.
  2. Monitor Release Notes:

    • Salesforce release updates can shift; always check the latest notes to stay informed about any changes.
  3. Plan Production Changes:

    • Schedule updates outside working hours to allow for testing and rollback without impacting users.

Key Updates in Spring ’25

  1. Enable LWC Stacked Modals

Impact:

This update affects modals (pop-ups), particularly for custom actions using Aura or Lightning Web Components (LWCs).

Preparation:

  1. No Code:
    • Review custom actions and standard action overrides for potential impacts.
  2. Pro Code:
    Developers can use the following strategies to locate and analyze custom and standard actions involving Aura components or LWCs:Custom Actions Query
    Use this SOQL query in Workbench or Developer Console to retrieve custom actions:

    SELECT Id, DeveloperName, EntityDefinition.DeveloperName, Label, ManageableState, MasterLabel, Type  
    FROM QuickActionDefinition  
    WHERE Type = 'LightningComponent' OR Type = 'LightningWebComponent'  
    

    This query identifies all custom-defined actions of these component types, along with their metadata.

    Standard Actions with Custom Component Overrides
    To find standard actions (e.g., New, Edit) overridden with custom components, search your object metadata for the following reference:

     

    <type>LightningComponent</type>

    Testing:

    • Validate post-save navigation behavior in a sandbox before enabling the update.
    • Make adjustments with developer support if behavior changes are required.

    Production Deployment:

    • Communicate any post-save behavior changes to users.
    • Thoroughly test functionality after deployment.

    for more information read this salesforce article.

    1. Enable Secure Redirection for Flows

    Impact:

    Redirects using the retURL parameter will fail unless URLs are added to Trusted URLs for Redirects in Salesforce Setup.

    Preparation:

    • No Code:
      • Review custom actions and flows for redirect parameters.
    • Pro Code:
      • Search metadata (e.g., fields, Visualforce, LWC) for references to retURL.
      • Add all impacted URLs to Trusted URLs for Redirects in Setup.

    Testing:

    • Enable the update in a sandbox and validate all impacted use cases across Salesforce and Experience Cloud.
    • Address failures by adding necessary URLs to Trusted URLs.

    Production Deployment:

    Deploy updated Trusted URLs and test functionality thoroughly to ensure redirects work as expected.  For more information read this salesforce article.

     

    Additional Recommendations

    • For Managed Packages: Contact providers to confirm compatibility with the Spring ’25 updates.
    • Lead Gen & Outlook Integration Updates: Review configurations and APIs related to LinkedIn Lead Gen and Microsoft Outlook to ensure seamless integration.
    • Stay Updated: Regularly read release notes and resources for detailed guidance on each update.

    Conclusion

    Proactive testing and thorough planning are essential for successfully navigating Salesforce Spring ’25 updates. By following the outlined steps and leveraging sandbox environments, you can safeguard your org against disruptions and take full advantage of new features and enhancements.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Vicky Madankar

Vicky Madankar is a technical consultant with over 4 years of development experience. He currently works as a Salesforce developer and loves exploring technology.

More from this Author

Categories
Follow Us