I have files attached as ContentDocument and I want to be able to retrieve it in a Community (Napili template) which has public access. My SOQL is not returning any row but a login user on Lightning experience is being able to get the Content Document.
Is there anything I can do to retrieve the Content Documen? Or any alternative solution?