Create a hyperlink custom field

var shipmentFile = file.create({
name: `Shipment File - ${IFNumber}`,
fileType: file.Type.PDF,
contents: responseAsJson.response.labeldata,
encoding: file.Encoding.UTF_8,
folder: 1701,
isOnline: false
});
var createdFileId = shipmentFile.save();
var filePath = file.load({
id: createdFileId
})
var urlPath = filePath.url;
record.submitFields({
type: record.Type.ITEM_FULFILLMENT,
id: IFInternalID,
values: {
'custbody_jj_gel_request': loggingURL,
'custbody_jj_gel_response' :'',
'custbody_jj_shipping_label': urlPath
},
options: {
enableSourcing: true,
ignoreMandatoryFields: true
}
