AnsweredAssumed Answered

finesse window.open rewrites url

Question asked by nmw000007 on Jul 8, 2016
Latest reply on Jul 8, 2016 by dekwan

Hi

 

Im having problems with finesse and opening a new window, currently finesse have gotten the idea to rewrite the url and prepends something like this https://devuccx01.poc9.testlab.local:8445/gadgets/'https://192.168.167.12:8443/tdc/skillmanager/login?auth=******

 

Making my popup linking to an invalid location..

 

So the question are how can I avoid finesse prepending stuff to my url?    

 

Heres my small javascript fragment:

 

var html = '<a id="SkillManagerlink" href="#">Open TDC NetDesign SkillManager</a>';

            //set the html document's agentout element to the html we want to render

            $("#displayOut").html(html);

$('#SkillManagerlink').click(function () {
var urlToCall="'" + _urlToLoad + '?auth='+finesse.utilities.Utilities.getUserAuthString()+"'";
_clientLogger.log('pop(): trying to pop with '+urlToCall);
var windowRef=window.open(urlToCall,'SkillManager_by_TDC_NetDesign','width=1000,height=1000');
windowRef.location.href=urlToCall;
});

Outcomes