You need to sign in to do that
Don't have an account?

How to get the attachment public urls for apex webservice if site is ready
Hi Guys
I am developing an apex webservice to explode the attachment image urls.
How can I get the attachment public urls if the site is ready and attachment parent permission is public.
I found some information like:
<img src="{!URLFOR($Action.Attachment.Download, attachmentId)}" />
<a href="{!URLFOR($Action.Attachment.Download, attachmentId)}" >blah blah</a>
but APEX web service cannot use visual force page. how can I get those public urls ?
Thanks in advance.