Category Archives: Development

Nov 03

Clone with Related List Example

/* This class is a custom profile cloning process that include duplicating orig profile record and related lists: CHEMICAL CONSTITUENTS, RCRA/STATE CODES & DOT CODES author – ben.c Create Date 10-27-2015- */ global class CloneProfile { WebService static Id createNewProfile(String … Read More

Posted in Development | Tagged | Comments Off on Clone with Related List Example
Oct 27

Super Clone

https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B4mjFEAR   http://www.davehelgerson.comĀ —   other clone option: http://christopheralunlewis.blogspot.com/2012/04/clone-plus-clone-salesforce-objects.html?_sm_au_=iVVFRH43fsQ2HsfM

Posted in Administration, Development | Tagged | Comments Off on Super Clone
Jul 30

Inflate Your Test Coverage

http://raydehler.com/cloud/clod/inflate-your-test-coverage.html public class MyClass { public void myMethods() { //… } public void inflateTest() { Integer j = 0; j++; j++; j++; j++; j++; j++; . . . // you get the idea } } @isTest class MyClass_Test{ static testMethod … Read More

Posted in Administration, Development | Comments Off on Inflate Your Test Coverage
Jul 27

Task “related to” url hack

TASK OBJECT: Title: ?title={!… text …} Assigned to: &tsk1={!User.id} Name: &tsk2={!Contact.id} or use &what_id={!Contact.id} Related to: &tsk3={!Opportunity.id} or use &who_id={!Opportunity.id} Due Date: &tsk4={!…date…} Subject: &tsk5={!…text…} Comments: &tsk6={!…text…} ???: &tsk7= ??? ???: &tsk8= ??? ???: &tsk9= ??? Type: &tsk10={!… Must be … Read More

Posted in Administration, Development | Tagged , | Comments Off on Task “related to” url hack