cancel
Showing results for 
Search instead for 
Did you mean: 

SyntaxError: unterminated string literal

07-25-2016 7:11 PM
2445 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

Hi,

I am working on a scenario to upload a file using Document service using the following Blog. I am getting an syntax error in the XSJS file. Please guide how to correct the syntax error.

Thanks,

CJ

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member53621
Discoverer
0 Likes

It looks like the quotation mark at the end of that lins is not a true double quote, but one of the "smart quotes" from Microsoft Word or some other word processor.  Replace it with a normal double quote and it should work.