I'm trying the following code to use the apex:outputLink component to link to the respective record detail page. But it alert me that my page does not bind to the record ID value in order to link to the record detail page. Seeking for help. Thanks in advance.
<apex:outputLink value="{! URLFOR('https://brave-bear-bwe9a1-dev-ed.lightning.force.com/lightning/r/Account/')+a.Id+'/view' }"> Details </apex:outputLink>
2 respostas
Thanks your answer Keiji.
The following code has fixed the problems.
<apex:outputLink value="/{!a.Id}"> {!a.name} </apex:outputLink>