we need to create a JSLink with multiline text value (Stored as JSON) with values seperated in three different columns
sample schema for MultiLine Column:
[{"email":"John@xyz.com", "skypeid":"testing", "adgroupname":"test1"},{"email":"John1@xyz.com", "skypeid":"testing11", "adgroupname":"test111"}]
if we try to get the value of email using
ctx.ListData.Row[0].MultilineJSON.replace(/"/g,'"')
we get output as below
"[{"email":"<a href="mailto:John@xyz.com">John@xyz.com</a>", "skypeid":"testing", "adgroupname":"test1"},{"email":"<a href="mailto:John1@xyz.com">John1@xyz.com</a>", "skypeid":"testing11", "adgroupname":"test111"}]"
we need to eliminate anchor tag in the output
how can we achieve this?
any help would be appreciated
ctx.CurrentItem["MultilineJSON"]
. Try this and check what are you getting from this? This Multiline text field is Plain or Rich text field?