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일 오후 5: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?