• parepalli.harika
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hi,

 

I have created my Send Email Page, on this page i have used select template dropdown and when i select Template then Subject and Body should fill automatically in My Email Form Subject and Body Field on the behalf of Selected Template. I should be able to edit the template body to put any changes in Email Body snd send the email. 

Hi friends ,

I am looking for creating a send email page which is similar to standard send email button.Fields like subject,body and an button for selecting template.On selecting the template it should populate in the body and the case owner should be able to edit the template and add description to it.

Thanks in advance !!

Hello

 

I've created a trigger to create a case comment whenever a new case is created (either manually or via the Self-Service Portal).

Comment is created from the case description

 

trigger TaskSubTrigger on Case (after insert) {

List<CaseComment> NewComment = new List<CaseComment>();
    
    for(Case ca: Trigger.new){
        
        CaseComment com = new CaseComment();
        com.ParentId = ca.id;
        com.CommentBody= ca.Description;
        NewComment.add(com) ;

                            }

Insert NewComment;

}

 1. Will it fail on bulk import?

 2. When I create case manually with description field empty, a case comment is created empty...any way to avoid this??

 

Thanks in advance!

 

Itay