Kishore Talari (Cognizant) 提问于 #Apex2018年11月12日 09:49How to redirect record detail page in lightning using apexHow to redirect account record detail page using below codepublic PageReference save(string id) { System.debug('Entered'); PageReference nextPage = new PageReference('/'+id+'/view'); nextPage.setRedirect(true); return nextPage;}Thanks.........6 个回答排序按日期排序按最有帮助排序按日期排序加载更多评论...Sandhya Reddy Kasarla2018年11月12日 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,Sandhya
Sandhya Reddy Kasarla2018年11月12日 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,Sandhya