I have attachment Id and I need the URL for that particular attachment.
But In my LWC component I am constructing the URL programmatically like:
I want to avoid hardcoding the first part of the string /servlet/servlet.FileDownload.. Is there anything similar in LWC that we can use to get the URL directly