Nick
07/13/2020, 2:53 PM/**
* @NApiVersion 2.x
* @NScriptType Portlet
*/
define(['N/runtime'],
/**
* @param {runtime} runtime
*/
function(runtime) {
function render(context) {
var portletObj = context.portlet;
portletObj.title = runtime.getCurrentScript().getParameter({'name': 'custscript_kes_pl_dbctitle'})||'No Title';
}
return {
render: render
};
})