Kishore Talari (Cognizant) ha fatto una domanda 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 risposteOrdinaOrdina per dataOrdina in base alla maggiore utilitàOrdina per dataCarica più commenti...Sandhya Reddy Kasarla12 nov 2018, 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,SandhyaRispondi in Slack
Sandhya Reddy Kasarla12 nov 2018, 10:10Hi,You can try below url'lightning/r/My_Custom_SObject__c/' + customRecord.Id + '/view'Best Regards,Sandhya