Skip to Content

Personas Script editor

Jan 22 at 07:06 PM


avatar image
Former Member

We are using SP05 personas here, But when scripting in personas, we have to write script in one line. Like below:

If we broke above lines in multiple lines – Like below. All the lines will error out.

It is too tedious to write code in one line in personas script editor. Is there any solution out there for this matter?

gji4h.png (4.0 kB)
eozpm.png (5.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Cristin Charbonneau Jan 22 at 07:35 PM

Hi Nixal.

What I have done in the past is build the string over multiple lines using the "+=" to append each line to the string. It worked well for me.

Kind Regards,


var chartHTML = "<html><head>";
chartHTML += "<script type=\"text/javascript\" src=\"\"></script>";
chartHTML += "<script type=\"text/javascript\">"; 
(and so on...)
10 |10000 characters needed characters left characters exceeded