function getColumns(searchId) {
if (!searchId) return;
const toGetColumnsSearchObj = search.load(searchId);
return toGetColumnsSearchObj.run().columns;
}
The result doesn't have the internal id of each field.
But I would like to get it for our logic to create a new custom record, so how can I do that?