SUMMER'23 : CASESAFEID() UPDATE


In Summer 23 Release, there has been a modification to the CASESAFEID function in Salesforce. 

I want to ensure that you understand the impact of this change for both Lightning Experience and Salesforce Classic.

Earlier in Lightning Experience, the CASESAFEID function would convert any 15-character ID, regardless of its validity. 

However, now it will only convert valid Salesforce 15-character IDs to case insensitive 18-character IDs. 

If you pass in an invalid ID, the function will simply return the ID that was passed in.

For instance, if you provide an invalid ID like A01xx000003DHur.

The function will return the same ID - A01xx000003DHur. 

As this ID is not valid as it starts with a capital letter. 

On the other hand, if you provide a valid ID such as 001xx000003DHur.

The function will return a converted ID like 001xx000003DHurAAG.

Follow Us

Posted By : Sudeer Kamat Date :

view_module Related

label Labels

Comments 0