-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
7Questions
-
5Replies
Fonts supported by visual force email template pdf attachment
I wanted the pdf attachment to display font in myriad style but inspite of using style tag still i'm able to get the pdf document only in times new roman format.Any solution to this.It works in email template but not working in email attachments
<style type="text/css">
body {font-family:MyriadPro-SemiExt;font-size: 12px; }
table{font-family:MyriadPro-SemiExt;font-size: 12px;}
</style>
i have placed the font inside static resource and in documents too but still not working
-
- sudhan
- December 04, 2009
- Like
- 0
- Continue reading or reply
Needed a master detail relationship with lead as master and custom object as detail(child)?
According to my needs i needed to create master detail relationship with leads but its not possible as i can
't find leads while selecting object for master..Even accounts are available.Help me out in this. Only if any relationship is there i can create mail merge between two objects that happens only if master detail relation is present.Thanks in advance
-
- sudhan
- December 03, 2009
- Like
- 0
- Continue reading or reply
Invalid field address for SObject account in visual force email template
in accounts i have two types of address shipping and billing. so i'm not able to use {!relatedTo.city} and even if i give {!relatedTo.ShippingAddress__c.city__c} it displays invalid field shippingaddress for sobject.Help me out and thanks in advance
-
- sudhan
- December 01, 2009
- Like
- 0
- Continue reading or reply
Invalid field address for SObject Lead in visual force email template
i wanted to use merge fields in visual force email template.It worked fine for relatedTo.name but it doesn't work for relatedTo.address
<apex:image url="https://na1.salesforce.com/resource/1259064527000/Header"/>
<b>{!relatedTo.Name}<br>
{!relatedTo.address}<br> <-here it doesn't work but previous line works perfectly
ARE YOU IN PAIN?<br>
WE CAN HELP!<br>
it display error as invalid field address for sobject lead.
-
- sudhan
- November 30, 2009
- Like
- 0
- Continue reading or reply
No such columns error for standard fields on deploying to server from eclipse
I wrote this below apex code using eclipse and when i deploy to server and on validating it says no such column for address,owner,recordtype and created by. I tested with just Email and it worked perfectly. I even tried appending the column names with__c like custom fields but it didn't work.
public class Communication {
List<Lead> leads;
public List<Lead> getLeads() {
if(leads == null) leads = [select Address,Owner,RecordType,CreatedBy from lead limit 10];
return leads;
}
}
tell me how the standard fields should be represented using their api name.
-
- sudhan
- November 30, 2009
- Like
- 0
- Continue reading or reply
How to add MS-Word attachment in visual force email templates.
-
- sudhan
- November 24, 2009
- Like
- 0
- Continue reading or reply
how to use letterheads in visualforce email template
-
- sudhan
- November 21, 2009
- Like
- 0
- Continue reading or reply
Fonts supported by visual force email template pdf attachment
I wanted the pdf attachment to display font in myriad style but inspite of using style tag still i'm able to get the pdf document only in times new roman format.Any solution to this.It works in email template but not working in email attachments
<style type="text/css">
body {font-family:MyriadPro-SemiExt;font-size: 12px; }
table{font-family:MyriadPro-SemiExt;font-size: 12px;}
</style>
i have placed the font inside static resource and in documents too but still not working
- sudhan
- December 04, 2009
- Like
- 0
- Continue reading or reply
Needed a master detail relationship with lead as master and custom object as detail(child)?
According to my needs i needed to create master detail relationship with leads but its not possible as i can
't find leads while selecting object for master..Even accounts are available.Help me out in this. Only if any relationship is there i can create mail merge between two objects that happens only if master detail relation is present.Thanks in advance
- sudhan
- December 03, 2009
- Like
- 0
- Continue reading or reply
Invalid field address for SObject account in visual force email template
in accounts i have two types of address shipping and billing. so i'm not able to use {!relatedTo.city} and even if i give {!relatedTo.ShippingAddress__c.city__c} it displays invalid field shippingaddress for sobject.Help me out and thanks in advance
- sudhan
- December 01, 2009
- Like
- 0
- Continue reading or reply
Invalid field address for SObject Lead in visual force email template
i wanted to use merge fields in visual force email template.It worked fine for relatedTo.name but it doesn't work for relatedTo.address
<apex:image url="https://na1.salesforce.com/resource/1259064527000/Header"/>
<b>{!relatedTo.Name}<br>
{!relatedTo.address}<br> <-here it doesn't work but previous line works perfectly
ARE YOU IN PAIN?<br>
WE CAN HELP!<br>
it display error as invalid field address for sobject lead.
- sudhan
- November 30, 2009
- Like
- 0
- Continue reading or reply
No such columns error for standard fields on deploying to server from eclipse
I wrote this below apex code using eclipse and when i deploy to server and on validating it says no such column for address,owner,recordtype and created by. I tested with just Email and it worked perfectly. I even tried appending the column names with__c like custom fields but it didn't work.
public class Communication {
List<Lead> leads;
public List<Lead> getLeads() {
if(leads == null) leads = [select Address,Owner,RecordType,CreatedBy from lead limit 10];
return leads;
}
}
tell me how the standard fields should be represented using their api name.
- sudhan
- November 30, 2009
- Like
- 0
- Continue reading or reply