redirect from classic UI to portal (UI Action) after saving the record

//--update the 'create Request' UI action on the incident form 

UI action settings:

client=true

onclick=redirectoportal_catalog()

action name=update_inc


function redirectoportal_catalog() { //alert('test'); var url = "sp?id=sc_category"; //gs.addInfoMessage(url); window.open(url, '_blank'); gsftSubmit(null, g_form.getFormElement(), 'update_inc'); } if (typeof window == 'undefined') redirect_portal(); function redirect_portal() { //gs.addInfoMessage('SAVING...' + current.number); current.update(); }

Comments

Popular posts from this blog

Running transform maps asynchronously

GlideRecord setValue

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