Service Catalog: make all catalog variables read only on the RITM form


function onLoad(){
    $(variable_map).select("item").each(function (elmt){
        try {
            if(elmt.getAttribute('qname') != "purchase_ledger") {
                g_form.setReadOnly('variables.' + elmt.getAttribute('qname'),true);
            }
        } catch (err) {
        }
    });
}

Comments

Popular posts from this blog

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy

GlideRecord setValue