Wednesday 5 September 2018

platform developer 2 topics


  • ·         Apex Design pattern
  • ·         Visualforce Developer Guide
  • ·         Lightning Design System Basics.
  • ·         Asynchronous Apex
  • ·         Apex Triggers and Order of Execution
  • ·         When and how to use @future (callout=true)
  • ·         Tools for using metadata in salesforce (Whisper word: Workbench)
  • ·         Best practices in Unit testing (about getURLU especially)
  • ·         Displaying Error messages in Vf pages and in lightning pages
  • ·         Sharing model in Salesforce
  • ·         Apex code Debugging from the sample code (some examples around: Database.rollback )
  • ·         Best practices for Apex CPU time limits
  • ·         Have Apex Governor limits on your fingertips
  • ·         Custom and Standard controllers
  • ·         Using multiple custom controllers and order of execution in the same
  • ·         Ways to view state issues
  • ·         Debugging triggers
  • ·         Exception handling
  • ·         Debugging in Developer Console and its components (refer Salesforce Help Doc here)
  • ·         SOQL and its best practices (especially preventing SQL injection)
  • ·         Types of fields in objects.
  • ·         Unique and External ID fields.
  • ·         Using SOAP/REST web services and its best practices.
  • ·         SOAP API parameters
  • ·         REST annotations
  • ·         Types of APIs in Salesforce and its basics
  • ·         VF pages with Javascript remote actions
  • ·         Dynamic SOQL and its limitations
  • ·         Visualforce tags (Tip: Not the basic tags)
  • ·         List, Set and Map collections in apex
  • ·         Workflows and Process builders (Tip: If process builder is an option in Ans, Think twice. Mostly that would be the ans. Don’t blame me if you get it wrong. )
  • ·         Debugging run time errors from sample code. (Tip: there could be multiple bugs in the code. Look for the line which will cause failure at first in the order of execution)
  • ·         Know about Debug logs and how to debug via debug logs, and setting the parameters for debug logs.
  • ·         Chatter and how apex can access chatter programmatically
  • ·         Pagination in Vf pages and best practices
  • ·         https://developer.salesforce.com/page/Apex_Design_Patterns
  • ·         https://www.youtube.com/watch?v=tsa8Z2S1Agc
  • ·         https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_intro.htm
  • ·         https://trailhead.salesforce.com/modules/lex_dev_lc_basics


Salesforce Sales Cloud Certification Topics and references

Visit to this link





It will redirect you on below link , Use that below link
opt topics from Sales Cloud Basics     and read one by one. It will cover almost all topics

More topics: -


Thursday 17 May 2018

Create Super Clone Button To clone 3 level of Hierarchy


Create Super Clone Button To clone 3 level of Hierarchy :

Object Schema 


Create JavaScript Button on Account Detail page :


{!REQUIRESCRIPT("/soap/ajax/19.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/15.0/apex.js")}

try{
alert("Entered try");
var accId='{!Account.Id}';
alert('____1___'+accId);
sforce.apex.execute("superClone","createClone",{accId:accId});
alert('____2___'+accId);
txt="Clones Create";
alert(txt);
}
catch(err) {
txt="There was an error on this page.\n\n";
txt+="Error description: " + err.description + "\n\n";
txt+="Click OK to continue.\n\n";
alert(txt);
}

Apex class Code :Class Name superClone 


global class superClone {
    
    static Map<Id,Id> newoldcon=new Map<Id,Id>();
    webservice static void createClone(String accId)
    {
        system.debug(accId);
        Account acc= [SELECT ID, Name FROM Account WHERE Id = :accId];
        system.debug(acc);        
        Account acccopy=acc.clone(false,true);
        acccopy.Name=acc.Name+'Clonedcopy';
        insert acccopy;  // Grand Parent
        
        List<Contact> con = [SELECT Id, LastName, AccountId FROM Contact WHERE AccountId = : acc.Id];
        List<Contact> consdup= new List<Contact>(); 
        List<Id> cid = new List<Id>();
        if(con!=null)
        {
            for(Contact c:con)
            {
                cid.add(c.Id);
                Contact concopy=c.clone(false,true);
                concopy.AccountId=acccopy.Id;
                concopy.LastName =c.LastName + 'clonecopy';
                consdup.add(concopy);
            }
        }
        Database.insert(consdup);  // Parent
      
        if(consdup!=null && cid!=null)
        {
             for(ID i:cid)
            {
            for(Contact c1:consdup)
            {
                newoldcon.put(i,c1.id);
                
            }
            //createDivCon(i);
       
            } 
        }
        System.debug('newoldcon++++++ old id '+newoldcon.keySet());     
        List<Divsional_Contact__c> divlist=[SELECT Id,Name,Contact_Parent__c FROM Divsional_Contact__c WHERE Contact_Parent__c=:newoldcon.keySet()];
       System.debug('divisional list-------------******'+divlist);
        List<Divsional_Contact__c> divlist1=new List<Divsional_Contact__c>();
        if(divlist!=null)
        {
            for(Divsional_Contact__c d: divlist)
        {
             Divsional_Contact__c divcopy=d.clone(false,true);
            divcopy.Contact_Parent__c=newoldcon.get(d.Contact_Parent__c);
            divcopy.Name=d.Name+'Cloned Copy';
            divlist1.add(divcopy);
        }
        }  System.debug('--------------- ++++++divlist1 list'+divlist1);
           Database.insert(divlist1); 
       
        
    }



}

Credits goes to @Preeti

Monday 16 April 2018

Salesforce Service Cloud Certification Topics


  • Industry Knowledge: 66%
  • Implementation Strategies: 54%
  • Service Cloud Solution Design: 33%
  • Knowledge Management: 50%
  • Interaction Channels: 20%
  • Case Management: 42%
  • Contact Center Analytics: 0%
  • Integration and Data Management: 100% 
  • --------------------------
  • omni channel salesforce
  • Quick Text
  • Macros
  • Publisher action
  • Live Agents
  • Chatter questions
  • Entitlement implement
  • Enable Salesforce social profile on contacts
  • SOS Video Chat
  • Developer k pro sandbox
  • Set up milestones
  • Enable HISTORY component within the Salesforce console for service
  • An Enterprise resource planning system
  • Milestones
  • Add the question action to chatter in the community publisher
  • Live agent user profile
  • Field Service Lightning
  • On demand email to Case