Skip to main content
Serena Wu (IBM) 님이 #Trailhead Challenges에 질문했습니다

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개
  1. 2022년 3월 3일 오전 6:59

    Thanks your answer Keiji.

    The following code has fixed the problems.

    <apex:outputLink value="/{!a.Id}"> {!a.name} </apex:outputLink>

0/9000