tag:blogger.com,1999:blog-9083431842638854569.post1550551272118027478..comments2024-02-23T19:00:00.764+05:30Comments on Salesforce Code Crack: Salesforce ContentDocumentLink TriggerShaik Nagajanihttp://www.blogger.com/profile/08014314816293399854noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9083431842638854569.post-29107918243947976122022-06-02T22:05:23.861+05:302022-06-02T22:05:23.861+05:30Hi , i want a trigger to stop user to attach more...Hi , i want a trigger to stop user to attach more than 10mb file , can you please send the sample code Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-37329470454763982262021-02-27T01:06:23.992+05:302021-02-27T01:06:23.992+05:30thanks sir,,,
this is what i needed. I even custom...thanks sir,,,<br />this is what i needed. I even customize your code for file size limit ..<br />but still i am not able to show custom error message while uploading files.<br /><br />Can you help me with this. ??<br />I am waiting for your reply...<br /><br />Thanks,<br />Leo Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-84597555090627885542020-10-08T13:06:47.794+05:302020-10-08T13:06:47.794+05:30do you have test class ? do you have test class ? Abed Tihawynoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-11198044837242754502020-08-13T01:21:12.337+05:302020-08-13T01:21:12.337+05:30I get error:
FATAL_ERROR System.QueryException: I...I get error:<br /><br />FATAL_ERROR System.QueryException: Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.<br /><br />I believe its in Line 34. I am trying to perform this on Work Order instead of account but i didn't think that would matterAnonymousnoreply@blogger.com