• Burdah-Moden
  • NEWBIE
  • 25 Points
  • Member since 2010

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 5
    Replies

I make customer email send page.

 

There is 'email from' field, 'email body' field, listbox with email templates list and buttons 'load template, send'

 

After I select template and load it, I get something like this:

 

 

Dear {!Contact.Name},

Thank you for your interest in {!Organization.Name}. We will be contacting you shortly.

Sincerely, The Team at {!Organization.Name}

 

When I push 'load template' button, following apex class is executed:

 

public void load_template() { EmailTemplate et = [Select Name, Id, Body From EmailTemplate where Id =: EmailTmpl]; EmailBody = et.Body; }

 

 

I need to populate {!Contact.Name}, {!Organization.Name} values with right data. 

 

Can you help me ?

 

 

Message Edited by Burdah-Moden on 03-16-2010 02:34 AM

Hello.

 

I have to know how I can upload document from visualforce page ?

Is there standart upload dialog  ?

 

Something like

<apexpage:uploaddocument name="upname">

 

 

 

Is it possible ?

Thank you.

Message Edited by Burdah-Moden on 03-14-2010 11:56 PM

I make customer email send page.

 

There is 'email from' field, 'email body' field, listbox with email templates list and buttons 'load template, send'

 

After I select template and load it, I get something like this:

 

 

Dear {!Contact.Name},

Thank you for your interest in {!Organization.Name}. We will be contacting you shortly.

Sincerely, The Team at {!Organization.Name}

 

When I push 'load template' button, following apex class is executed:

 

public void load_template() { EmailTemplate et = [Select Name, Id, Body From EmailTemplate where Id =: EmailTmpl]; EmailBody = et.Body; }

 

 

I need to populate {!Contact.Name}, {!Organization.Name} values with right data. 

 

Can you help me ?

 

 

Message Edited by Burdah-Moden on 03-16-2010 02:34 AM

Hello.

 

I have to know how I can upload document from visualforce page ?

Is there standart upload dialog  ?

 

Something like

<apexpage:uploaddocument name="upname">

 

 

 

Is it possible ?

Thank you.

Message Edited by Burdah-Moden on 03-14-2010 11:56 PM