Perry Auld
10/07/2025, 5:53 PMCeligo AI
10/07/2025, 5:53 PMAI generated answer (using internal Slack threads):Based on the conversations provided, it appears that embedding HTML in a sublist of a Suitelet page is not directly supported. The INLINEHTML field type is not supported in sublists. However, URL field type is supported in a sublist. You can set the link text when the field is defined, and then set the URL of the link using the
setCurrentSublistValue()
method when inserting rows via the currentRecord
APIs.
As for triggering a client script from a link on a sublist, it is possible. You can attach a client script to your Suitelet and implement the logic there. You can define the sublist in the Suitelet, then get the sublist in the client script. You can use methods like selectLine()
, setCurrentSublistValue()
, and commitLine()
to manipulate the sublist.
Here is a sample code snippet from the conversation:
javascript
var record = context.currentRecord;
var _aa = record.getSublistValue({sublistId: 'custpage_sublist',fieldId: 'custpage_customer',line: 1});
alert (_aa );
record.selectLine({sublistId: 'custpage_sublist',line: 1});
record.setCurrentSublistValue({sublistId: 'custpage_sublist',fieldId: 'custpage_city',value: 'Good afternoon',ignoreFieldChange: false});
record.commitLine({sublistId: 'custpage_sublist'});
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/07/2025, 5:54 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864563
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86315918
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859985352
Celigo AI
10/07/2025, 5:54 PM