Get Client Script Id via File path

/**
 * @description Get Client Script Id via File path
 */
function getClientScriptId(){
    var stFilePath ='SuiteScripts/Jobin and Jismi IT services/Client/JJ CS Button And Suitelet.js'; 
    var fileObj = file.load(stFilePath);
    return fileObj.id;
}

Leave a comment

Your email address will not be published. Required fields are marked *