Skip to main content
Priti Gohil (PwC) が「#Apex」で質問
For example - If file extension is [pdf, docx, png] and size is certain it should allow to upload. When I write trigger on contentDocument it seems its not working correctly, can any one please guide 
3 件の回答
  1. 2023年11月3日 17:31
    Hi @Kristiana Granger,

    Can you please share a bit more about the requirement, where do you have to show the error?  Do you want to call the apex method that validates file extension and size and then show the error on Aura/LWC?