Question
Capgemini
SE
Last activity: 6 Apr 2017 9:48 EDT
Safeurl is not working in Prod SSO URL
Hi,
We are trying to trigger the activity by button control which contains Safeurl script when click on button. It is working fine in all node logging with PRServlet and not working in SSO url only.
<script>
function SaveAndClose()
{
var successMessage = "";
var failureMessage = "";
var oSafeBaseUrl = new SafeURL("ActivityClassName.ActivityName");
var request = pega.util.Connect.asyncRequest('POST', oSafeBaseUrl.toURL());
/*window.opener = self; */
window.close();
}
</script>
<input type = 'Button' value = 'Submit' onclick = "SaveAndClose()" />
Above script is not working in SSO URL. Is any configuration needs be done for triggering the activity in SSO URL.
***Updated by moderator: Lochan to add Categories***