I have a default attribute of type String in my lightning component. I need set the default value of this attribute as – "/apex/pagename?opr=convert&opptyId=someid'. but it is not accepting the & character. It is showing this error when saved:
ParseError at [row,col]:[5,95]
Message: The reference to entity "opptyId" must end with the ';' delimiter.
I am using sublime text.
Best Answer
Try Like this use
&