function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SKSANJAYSKSANJAY 

How to update record type for any object in lightning experience when edit button has been overridden by custom lightning component

Hi Everyone,

i am having an issue where the edit button has been overridden by custom lightning component and there we are using force:recordEdit to load the standard edit layout. As I am passing the record id, when user clicks on change record type -> it shows modal for record type selection and then after selection it navigates to custom edit lightning component and loads the record with old record type. I am getting the new recordtype id in URL but its not updating the force:recordEdit loaded record with newly selected record type.

Thanks,
Sanjay Kumar
Saugandh KSaugandh K
Did you find the solution for this? Im in the same sitation!