• Ajay Kumar Lankipalle 8
  • 0 Points
  • Member since 2014

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 6
I am trying to use VF email template as follows. The output is fine after sending the mail but the problem is it is not showing the preview before we send the mail.
VF Template
<messaging:emailTemplate subject="Thank you for your Support!" recipientType="Contact" relatedToType="Program__c">
<messaging:htmlEmailBody >
<img alt="Logo" src="https://XXXXXXXXXXX/servlet/servlet.ImageServer?id=015V00000004tUD&oid=00DV00000002MuC&lastMod=1330685229000" />
<c:ServiceComponent ProgramId="{!relatedTo.Id}"/>
<script type="text/javascript">
function confirmGetMessage() {
var theAnswer = confirm("Do you want to continue????");
if (theAnswer==true){
alert("You have triggered the approval process.");
alert("You have not triggered anything.");
return false;
<messaging:attachment renderas="pdf" filename="{!recipient.Name}-Service Form.pdf">
<c:ServiceComponent ProgramId="{!relatedto.Id}"/>
Screenshot attached for your reference.
Can any one help me in this please?
AjayUser-added image
Hi All,

Here is my business requirement and I never worked on webservices. 

1. We have specif objects and fields to consume by Oracle.
2. Oracle will consume the webservice and then should be able to  updated few fields in SFDC.

My Assumptions:
Simply generate WSDL and provide them to consume the webservice?
or Do we have to write any classes for each object to expose the data?

Please help me, how I have to achieve this.


  • August 05, 2014
  • Like
  • 0