I am facing one issue related Case attachments(PDF).Actually not able to find what is the problem.
Description:- We have one standalone application, one custom object(like Case) where we are saving the cases.and one lightning application.
when ever we create a record with attachment, record is going to be saved in Custom object and attachments are going to saved in ContentVersion, ContentDocumentLink. after that we are fetching the same to rendering on the lightning application.
Working Scenario:- When i create a record from custom lightning application with attachment, record is saved and we can able to view the attachment(PDF).
Not Working Scenario:- When i create a record from standard lightning object page with attachment, record is saved and we are not able to view the attachment(PDF).
Workaroud :- The same attachments are having the below same permission 1)content library permission 2)ContentDocumentLink visibility is "InternalUser" 3)same profile, same user and same owner for the case record.