Skip to main content

Hi Lightning Experts,

 

(Deleted Group) 

@Lightning Experience 

 

I am displaying the attachments on a lightning component. Issue is coming while opening the files in Salesforce1 app. 

 

  <aura:iteration items="{!v.attachments}" var="a">

          <li>

              <a target="_blank" 

                 href="{! '/servlet/servlet.FileDownload?file=' + a.Id }" >{!a.Name}</a>

            

          </li>

  </aura:iteration>

 

Could anyone please help with this how this can be achieved? 

 

Thanks in Advance

0/9000