• Sravya Sadhu 4
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 1
    Replies
Hi ,

can any one suggest we have a standard object called case.we have a field called VIn no in case object.
whenever new case is created with account name and contact name,based on account name and contact name VIN should be populated.

Can anyone suggest how can i do this to get VIN no populated and VIN field is lookup here
Hi,

Can anyone help how can i implment salesforce blog in SFDC where users can comment.
rigger CMfromContact on CampaignMember (before insert) {
         
         List <CampaignMember> c=trigger.new;
      // CampaignMember C= trigger.new[0];
              List<Campaign> a= new List<Campaign>();
              List<Contact> o;
       //If (C.CampaignId!=Null && C.ContactId!=Null){
              IF(C[0].CampaignId<>Null && C[0].ContactId<> Null){
                 o=[SELECT Id,LeadSource FROM Contact WHERE Id =:C[0].ContactId LIMIT 1];
              // o=[SELECT Id,LeadSource FROM Contact WHERE Id =:C.ContactId LIMIT 1];
    }
        for(CampaignMember m:trigger.new){
                 If(o<>Null && o.size()>0){
                 m.Lead_Source__C=o[0].LeadSource;
        }
    }
}


can i have test class for this
 
Hi support,

Attempt to de-reference a null object Error is in expression '{!Save}' in component <apex:commandButton> in page createbusinessaccount: Class.AccountController.Save: line 21, column 1  An unexpected error has occurred. Your development organization has been notified

whenever i crete a record and click on save tthis error is showing.
Hi support,

I would like to change the background colour theme to aluminium silver .Now its blue colour.
Hi support,

I would like to change the background colour theme to aluminium silver .Now its blue colour.