Reply To: Configuration issues

Forums JSLink Configuration issues Reply To: Configuration issues

#8107

William Nevarez
Participant

Alex,
Thank you for all of your help on this!

Here is the output…

>> var a = location.href.toLowerCase();
console.log(“a:”+a);
var b = unescape(location.href.toLowerCase().replace(“_layouts/15/start.aspx#/”,””));
console.log(“b:”+b);
var c = unescape(location.href.toLowerCase().replace(“_layouts/15/start.aspx#/”,””).split(“?”)[0]);
console.log(“c:”+c);
var d = _spPageContextInfo.webAbsoluteUrl.toLowerCase();
console.log(“d:”+d);
var e = unescape(location.href.toLowerCase().replace(“_layouts/15/start.aspx#/”,””).split(“?”)[0].split(_spPageContextInfo.webAbsoluteUrl.toLowerCase())[1]);
console.log(“e:”+e);
var f = decodeURI(unescape(location.href.toLowerCase().replace(“_layouts/15/start.aspx#/”,””).split(“?”)[0].split(_spPageContextInfo.webAbsoluteUrl.toLowerCase())[1]));
console.log(“f:”+f);
a:https://CONTOSO.sharepoint.com/teams/business%20effectiveness/lists/casewise%20training%20survey/newform.aspx
b:https://CONTOSO.sharepoint.com/teams/business effectiveness/lists/casewise training survey/newform.aspx
c:https://CONTOSO.sharepoint.com/teams/business effectiveness/lists/casewise training survey/newform.aspx
d:https://CONTOSO.sharepoint.com/teams/business effectiveness
e:undefined
f:undefined

Attachments: