Kishore Talari (Cognizant) fragte in #Apex12. Nov. 2018, 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 AntwortenSortierenNach Datum sortierenNach "Am hilfreichsten" sortierenNach Datum sortierenMehr Kommentare laden...Sandhya Reddy Kasarla12. Nov. 2018, 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,SandhyaIn Slack antworten
Sandhya Reddy Kasarla12. Nov. 2018, 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,Sandhya