• Uri Margalit
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hi

 

I want to create a custom object with ~60 fields, link it to Lead or Opportunity and show the details of the new custom object in the Lead / Opportunity layout.

 

Can you point me to some links that I can start digging with?

 

Thanks

Uri

Hi All,

 

I'm new to workflow so my question will may be trivial to you, but I spent days trying to solve it with no success (I even called SF support and they couldn't help me).

 

I create a workflow rule that triggered everytime a specific field in lead account is updated (the field name is support-form-subject_c).

 

The workflow create a new task (assigned to this lead). What I want to do is that the new task will have the value in the support-form-subject_c field in the comments field (of the new task).

For example:

When the support-form-subject_c field in the lead is changed to Critical-Bug

Then a new activity for this lead is created with subject (Open a ticket) and the comments field of this new task should be: Subject=Critical-Bug

 

How can I do it?

 

Thanks for your help,

Uri

Hi All,

 

I have a custom object and I try to create the following class but I cannot understand the error message, please help.

 

The custom object is called Qualification and the Lead record has a lookup field Qualification pointing to the Qualicaition record. The key of the Qualificaiton record is Name

 

 public with sharing class Controller_Qualification {

    public ApexPages.StandardController standardLeadController;
    
    public ApexPages.StandardController myQualificationController {get; set;}
    public Qualification qualification {get; set;}

    public Controller_Qualification(ApexPages.StandardControll?er cntrl) {
        
        standardLeadController = cntrl;
                
        Lead lead = (Lead)cntrl.getRecord();
        String qualificationName = lead.Qualificaiton;
        qualification = cache.load (Qualification.SObjectType, qualificationName);

        myQualificationController = new ApexPages.StandardController (qualification);
    }
}

 

Thanks,

Uri

  • March 03, 2013
  • Like
  • 0

Hi All,

 

I'm new to workflow so my question will may be trivial to you, but I spent days trying to solve it with no success (I even called SF support and they couldn't help me).

 

I create a workflow rule that triggered everytime a specific field in lead account is updated (the field name is support-form-subject_c).

 

The workflow create a new task (assigned to this lead). What I want to do is that the new task will have the value in the support-form-subject_c field in the comments field (of the new task).

For example:

When the support-form-subject_c field in the lead is changed to Critical-Bug

Then a new activity for this lead is created with subject (Open a ticket) and the comments field of this new task should be: Subject=Critical-Bug

 

How can I do it?

 

Thanks for your help,

Uri