Skip to main content
added 67 characters in body
Source Link
matt
  • 619
  • 4
  • 24

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>"" 
<strong>" + ctx.CurrentItem.Start_x0020_Date + " </strong></div><br />";
return ret; 
}

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

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 link title?

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?

Source Link
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 link title?