Hi,
I wanted to update the action links to navigate to a new dashboard by invoking a browser script. I created the function called customPortalPageNav in Userscript.js as shown below.
USERSCRIPT.customPortalPageNav = function(arg_array){
var str="parent.PortalPageNav(1";
for(args in arg_array){
var arg_name=args;
var value=arg_array[arg_name];
str+=",'"+value+"'";
}
str+=")";
eval(str);
};
USERSCRIPT.customPortalPageNav.publish={parameters:[
new USERSCRIPT.parameter("1","Dashboard","/shared/FOLDERNAME/_portal/DASHBOARDNAME"),
new USERSCRIPT.parameter("2","Page","Insert your Page"),
new USERSCRIPT.parameter("3","Table","Insert Table"),
new USERSCRIPT.parameter("4","Column","Insert Column"),
new USERSCRIPT.parameter("5","Value","Insert Value")]};
I restarted the Presentation Servers after making this change. However, I still see this function not appearing when I choose the action links in column properties of the dashboard. Has anyone come across this issue? please let me know if I missed any steps here ? I am not sure why the new function isn't showing up.
Thanks.