Activity Forums Salesforce® Discussions "Apex Output Link" is not Working in Salesforce Visualforce Template?

  • Aman

    Member
    May 31, 2018 at 8:04 am

    Hi Parv,

    For VisualForce Template  ‘/{!relatedTo.id} doesn't work,here you can use this URL in your Value.

    <apex:outputLink value="{!LEFT($CurrentPage.URL,FIND('/',$CurrentPage.URL,9))+relatedTo.id}" target="_parent" >{!relatedTo.Name}</apex:outputLink>

    Hope this helps!

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos