I am opening pop-up windows of PhoneCall entity using
in javascript on IE(8, 10, 11). The screen-pop is being initiated from the Contact entity form on a particular event.
Problem here is that when screen-pop takes place the Contact entity page opens in that new window, same as the page from where the screen-pop up is being initiated, so basically I have screen-popped phonecall entity form from the contact entity page, but the same contact entity page is opened in the newly popped window.
If I copy the URL of newly popped window and close all previous windows and open that copies URL in a new window, than the same URL opens the expected Phone Call entity form pop-up.
(Note:
Following is the URL of Contact Entity Form(from pop-up is initiated)
http://1.2.3.4:5555/abc/main.aspx#48111914
Following is the URL of Phone Call Entity, which is opening same page is the above URL i.e. the Contact Entity page:
http://1.2.3.4:555/abc/main.aspx?etn=phonecall&pagetype=entityrecord&extraqs=callf%3D%20UC%20Test%20AB%26callt%3DEF%20Test%26calld%3Doutbouind%26calla%3D9727001190%26usitomer_guid%3D%7B42XXXXBE-61XB-XX11-XXBE-0XXXXD64EE01%7D%26en%3Dcon#723418264
Following is the JavaScript code of the method doing pop-ups:
function handlePhonecallScreenpop(callF, callT, callA, custid, entityN) {
var extraqs = "cf=" + callF;
extraqs += "&ct=" + callT;
extraqs += "&cd=outd";
extraqs += "&ca=" + callA;
extraqs += "&cid=" + custid;
extraqs += "&en=" + entityN;
var url = webUrl() + "/main.aspx?etn=phonecall&pagetype=entityrecord&extraqs=" + encodeURIComponent(extraqs);
window.open(url);
}