Skip to main content
2 of 2
added 67 characters in body
matt
  • 619
  • 4
  • 24

How to render list "LinkTitle" field using csr/jslink

the internal field name for "Title linked to item" is "LinkTitle" When added to a csr file though it's undefined.

function CustomItem(ctx) {
// Build a listitem entry for every item in the list.

var ret = "<div class='ms-rteFontSize-2 '>" + ctx.CurrentItem.LinkTitle + " 
<strong>" + ctx.CurrentItem.Start_x0020_Date + " </strong></div><br />";
return ret;
}

How do I display the title linked to dispform.aspx - the same as what shows in a default list view?

matt
  • 619
  • 4
  • 24