Jira Code : CLTG-177
Description
Usually, we couldn’t fetch the internal id of the custom form using the getValue() and using the search() in the beforeLoad entry point of the record.
So, in order to fetch the custom form, we need to load the record.
if (scriptContext.type == "view")
{
let quoteRec = record.load({
type : record.Type.ESTIMATE,
id : quoteID
});
let formID = quoteRec.getValue("customform");
}