Closing Suitelet Popup and Reloading parent Record

For closing the Suitelet popup SYNTAX

window.close();

For reloading the parent record SYNTAX

window.opener.location.reload();

Add above syntax's in suitelet POST request inside Script Tag SYNTAX

var html = html + '<script> window.opener.location.reload();window.close() </script>';
scriptContext.response.write(html);

Leave a comment

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