Posts

Post Sandbox Refresh changes

Post Sandbox Refresh or New Sandbox creation activity: Disable Scheduled Apex Jobs Disable Outbound Messages Reconfigure External Web Service calls for a non-production environment Disable Analytic Snapshots Get the new Sandbox Org ID and instance Id if required Remove the email suffix for required users Create any required users who don't exist in Production Regenerate (or completely disable) Inbound Email Services Delete / modify entries in Remote Site Settings if you don't want to perform certain callouts Disable "Big Deal Alert" on Opportunities - can be embarassing to send an email with "My awesome test Opp !!1" to CEO If you have managed packages with API keys (like FinancialForce) - ask their support teams to regenerate the keys If you have "power users" that will coordinate User Acceptance Testing - create entries in Delegated Administration area so they can "login as"

Pre-Populate fields on button/Link

Many times we need to pre-populate some field while creating/updating a record on button/Link click. It may be on custom visualforce page or standard layout. 1) Prepopulating Text, Number fields on Standard Pagelayout: / Var1 /e?CF Var2 = Var3 &retURL=%2F Var4 Var1=3 char code of object (i.e Account=001, Contact=003 for Custom/Other object click on Object                                                     Tab to get unless object Tab is not override) Var2=SFDC Id of the field need to pre-populate. Var3=Value need to populate (may be hard coded or variable per requirement i.e {!Account.Name}) Var4= URL need to redirect after record Save. e.g  /00T/e?CF00NA0000005pr8F=1&retURL=%2F{!Lead.Id} 2) Prepopulating Lookup fields  on Standard Pagelayout: for Lookup prepopulate we need to map field Id and Name both. e.g.  /...

field set in visualforce page