Nour
10/29/2025, 6:51 PMCeligo AI
10/29/2025, 6:52 PMAI generated answer (using internal Slack threads):In NetSuite Suitelet, you can't directly create a hidden column in a sublist. However, you can achieve similar functionality by using a client script attached to your Suitelet. In the client script, you can manipulate the visibility of the sublist fields based on your requirements. Here is a sample code snippet that demonstrates how to hide a column in a sublist:
javascript
function pageInit(context) {
var rec = context.currentRecord;
var sublistObj = rec.getSublist({
sublistId: 'your_sublist_id'
});
var columnToHide = sublistObj.getColumn({
fieldId: 'your_field_id'
});
//set
columnToHide.isDisplay = false;
}
In this code, your_sublist_id is the ID of your sublist and your_field_id is the ID of the field you want to hide. This code sets the isDisplay property of the field to false, effectively hiding it.
Remember, this code needs to be in a client script that is attached to your Suitelet.
******
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/29/2025, 6:52 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825256348
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824493408
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817962646
Celigo AI
10/29/2025, 6:52 PM