I am bulding the URL with attribute values., so I am getting this error. Is there a way we can have multiple attributes in URL?
<a href="{! 'http://example.sample.net/forms/view/261086?tfa_98=' + v.timesheetRecord.Internship__r.Student_Contact__r.Id + '&tfa_99='+v.timesheetRecord.Id }" target="_new" >
Error:
Failed to save sendTimesheetEmial.cmp: 0Ad0t0000008k7m:58,170:
ParseError at [row,col]:[59,170] Message: The reference to entity
"tfa_99" must end with the ';' delimiter.: Source
Best Answer
You need to escape the
&
using an XML character entity: