Skip to main content

Hi, we have added the following JS onto our Skuid mobile page in attempt to call a VF page as a popup instead of a redirect but JS does not work… can I ask assistance from the community on this question?

var http = location.protocol;


var slashes = http.concat("//"); var host = slashes.concat(window.location.hostname); var redirectURL = host+'/members/MemberPortalSagePayment?AppId=' + applicationRow.Id + '&RecordType=Crew&communityname=members'; window.open(redirectURL);

What happens when you add console logs on the variables in this script?  Is your redirectURL value a correctly formed URL?  I suspect you are not geting all the values you hope to get.