You need to sign in to do that
Don't have an account?
field error in email pdf attachment
HI There,
I have created an visual force page to send as a pdf through the email button. the thing is when click the email report button its sending the attchment but cant open it saying corrupted. After searching every line of the code i found the problem. there is a field called Date_Of_Instruction(date field). if i take this field out of code it displaying the pdf. i dont understand whats the problem is?.
can anyone help me regarding this issue.
thanks in advance.
<td bgcolor="#dddddd">Date Of Instruction</td>
<td><apex:outputfield value="{!Opportunity.Date_Of_Instruction__c}" />
</td>
Have you checked the field level security for Date_Of_Instruction__c?
Please check the same.
Thanks,
Devendra
thanks for your response mate. yes i checked field level security that was fine. i dont understand whats rong with this.