let redirectUrl = url.resolveScript({
scriptId: ‘customscript_jj_sl_login_page, //Script Id of the target suitelet file
deploymentId: ‘customdeploy_jj_sl_login_page’, //Deployment Id of the target suitelet file
params: {
‘internal_id’: internalId //Passing parameter value and get it on the target script file
},
returnExternalUrl: true
});
let responseHtml = `
<html>
<body>
<button onclick=”window.location.href=’${redirectUrl}‘”>Go To Login Page</button>
</body>
</html>
`;