+ Start a Discussion
Hope E.Hope E. 

Changing the Record Type in Lightning

Hi,

I'm looking for an easy way to change the object's recordtype via a button or something in Lightning.

any suggestion? 

Regards,
Arezou
 
sachin kadian 5sachin kadian 5
Why dont you use standard 'Change recordtype' button? 
Hope E.Hope E.
Hi Sachin,

thx for quick reply. because I need to change the label of this standard button. do you know any way to override that?
sachin kadian 5sachin kadian 5
We can override the standard buttons with 
{!URLFOR($Action.B__c.Edit, B__c.Id )}

but this is not available for ChangeRecordType. 

You will have to create one lightning component which will work same as this button and can expose that component using quick action for now.
bhanu_prakashbhanu_prakash
Hi,

Plz check below link
http://sfdcmonkey.com/2017/05/09/custom-record-type-selection-lightning-component/ (http://​http://sfdcmonkey.com/2017/05/09/custom-record-type-selection-lightning-component/)