function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vipin  PulinholyVipin Pulinholy 

Visual force Email template for diplaying related list info

I am trying to create a visual force Email template. I need to display the related list info in the email Template. I am following the steps from wiki . My requiremtn is to build a URL (A ‘click here’ link in the email content with URL parameteds from the related list id).

 

<apex:repeat var="cx" value="{!relatedTo.Cases}">      

 <tr>   

<td> <a href="https://www.mywebsite.com/{!cx.id}">View</a> </td>

 </tr></apex:repeat> 

  From the existing wiki code I undersatnd that we can use the repeat tag to get the related list info.In this code I want to add a logic to get all id values and concat these values to form a URL  parameter. For example if I have a 3 values from this related list I want to build a URL by concating these id value. So if I have 3 id values 2222,3333,4444, I want to build a URL look like this.  https://www.mywebsite.com/?id=2222|3333|4444

 

 Can any one guide me on this?

Thank You
Message Edited by das on 03-01-2009 03:20 PM