Created
April 25, 2020 08:55
-
-
Save arun12209/2ea7f44be1ea70557cf1fde08958c256 to your computer and use it in GitHub Desktop.
ContentDocumentLink_TriggerHelper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ContentDocumentLink_TriggerHelper { | |
public static Boolean flag = true; | |
public static void shareFile(List<ContentDocumentLink> cdlLink){ | |
try{ | |
insert cdlLink; | |
} | |
catch(Exception e){ | |
system.debug('Exception has occured ! ' +e.getMessage()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment