function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sumant Kuchipu 1Sumant Kuchipu 1 

Can we open a file/attachment from Apex ?

Hi,
Here is the scenario, I have a custom attachment object and has a field  "View Attachment" (type formula)  with link to call apex and that apex making calls to "box" to download file. In Apex can we open that downloaded file direclty when the user clicks on Custom Attachment's "View Attachment" link? if yes, please give me some clue on that scenario open file directly from apex ? 

Thanks,
Sumant K