leo_ns
01/30/2024, 10:46 PMleo_ns
01/30/2024, 11:46 PMbattk
01/31/2024, 1:45 AMNathan L
01/31/2024, 3:28 PM// sublist field
{
id: 'custpage_viewdetails',
type: serverWidget.FieldType.TEXT,
label: 'View Details',
display: 'INLINE'
}
// populate it with the link using <href> tags.
// String template used to populate the record id.
// you could also dynamically populate the record //type too
list.setSublistValue({
id: 'custpage_viewdetails',
line,
value: `<a href="/app/common/custom/custrecordentry.nl?id=${item.id}&rectype=3697"> ${item.name}</a>`
});
leo_ns
01/31/2024, 4:56 PMNathan L
01/31/2024, 5:27 PMNathan L
01/31/2024, 5:27 PMleo_ns
01/31/2024, 6:58 PM