You need to sign in to do that
Don't have an account?
Lawrence-Accenture
isClone() in Trigger idea closed, but where is the functionality?
This idea: https://success.salesforce.com/ideaView?id=08730000000BrGFAA0 -- "isClone() within trigger" -- was posted seven years ago and was recently closed as being delivered in Winter '16. Does anyone know how it was delivered? Does anyone know how to do what the asker was asking for?
I'm aware there is a new sObject.isClone() method that was delivered in Winter '16, however that doesn't appear to work with records cloned in the UI, just records cloned within Apex using the sObject.clone() method. Same thing for the sObject.getCloneSourceId() method -- works if cloned via Apex, but not within the UI even though the documentation explicitly states "You can use it for objects cloned through the Salesforce user interface."
Or am I missing something? My trigger is using the latest Apex version (37.0). Has anyone been able to get this to work for records cloned in the UI?
Thanks,
-L
I'm aware there is a new sObject.isClone() method that was delivered in Winter '16, however that doesn't appear to work with records cloned in the UI, just records cloned within Apex using the sObject.clone() method. Same thing for the sObject.getCloneSourceId() method -- works if cloned via Apex, but not within the UI even though the documentation explicitly states "You can use it for objects cloned through the Salesforce user interface."
Or am I missing something? My trigger is using the latest Apex version (37.0). Has anyone been able to get this to work for records cloned in the UI?
Thanks,
-L
Can anyone confirm whether or not this is working for Opps for you?