Hi ,
I have written a Jscript inside the Ribbon button of Account to generating the URL.
My code and URL is working fine in IE 9 when I'm clicking the button but when I'm using IE 10 I'm getting spaces in between Value and Name.
Please find the below code for the same.
getAccountRibbon = function(AccId) {
LoadWebResource("jscript/5.4/library.js");
getURL = FetchSingleValue("new_details", "new_root", "new_name", "Ribbon_URL", false);
AcountUID = AccountId.replace("{", "").replace("}", "");
Value = FetchSingleValue("account", "new_value", "accountid", AcountUID, false);
AcName = FetchSingleValue("account", "address1_name", "accountid", AcountUID, false);
UrlParam = URIComponent(AcName );
URL = getURL + "Val=" +Value+"&NAME=" + UrlParam ;
window.open(URL);
}
Thanks,
Thanks, Toushu