I have an apex repeat which I want to use to add an dynamic id at the end of the URLFOR but get an syntax error what is wrong with my annotation
See:
<apex:repeat value="{!idsContentdocument}" var="file">
<a href="{!URLFOR('/sfc/servlet.shepherd/document/download/'+{!file.ContentDocumentId})}" target="_blank"> Click here </a>
{!file.ContentDocument.title}
<br/>
</apex:repeat>
!
in{!file.ContentDocumentID}
. Try removing that and see if that works. As --{!URLFOR('.....' + file.ContentDocumentId)}
– Jayant Das May 1 '19 at 15:54