I'm getting document history, adding "\n" and existing document history. Code executes without any error. But when I see it in web everything on one line. In notes client, document history is shown as one line of activity.
Tried with @Newline and same issue.
What I'm doing wrong?
Thanks in advance.
Here is sample code:
var myvar="\n"
var h=getComponent("docHistory1").getValue();
var msg="Stage 2 - LAB Manager approved and completed check. Send to Chemist: " + unm + " + dt1;
document1.setValue("DocHistory", h + myvar + msg);
document1.save();
appeared as it is as shown here: 0
Stage 2 Accepted:- Mohan Gangan - 4/7/14: test1. But goodnews is @NewLine function adds new line. I do appreciate your quick help. Thanks again. – Mohan Gangan Apr 07 '14 at 20:58
` as a newline then you have to set `escape="false"`. – Knut Herrmann Apr 07 '14 at 20:59