Discussions
Generate a Hyperlink in a Task title
I am generating a task based on some criteria, it works fine.
function xCreateTask(sTitle, sAssigned, sMessage)
{
//I have deleted some of the code
var record = nlapiCreateRecord('task');
record.setFieldValue('title', sTitle);
record.setFieldValue('assigned',sAssigned);
record.setFieldValue('startdate',StartDate);
record.setFieldValue('enddate',EndDate);
record.setFieldValue('message',sMessage);
id = nlapiSubmitRecord(record, true);
alert("Task has been Created");
}
I wondering if I can change the Task Title into a Hyperlink so that the user from the Home Dashboard can just click the Task Title in the Portlet and have it open the Customer the task is assigned to. It would make it one step faster, not to have to cut and paste the task title into the global search.