Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Custom portal Navigation

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.
Comments
-
Hi,
I found that the issue is due to caching.
Please try:
a) restart the analytics deployment in the console
b) delete the history in your browser
c) close and open your browser
0 -
Thank you for the information. Can you please elaborate on the first point? Do you mean I should upgrade analytics deployment?
0 -
Restarting the Weblogic deployment can be done in Weblogic Administration Console. All the deployments have controls to start/stop/restart them.
0 -
I restarted analytics deployments on the weblogic console, cleared cache and retried, but I am still seeing the same error. When I click on "Invoke browser script" and choose function name I don't see "USERSCRIPT.customPortalPageNav" available to select.
0 -
Did you check if there are multiple files named UserScript.js?
maybe the changes are applied to the wrong one
0 -
You caught it right. I made changes to the wrong file. Modified the right file and it worked fine.
Thank you for all the help
0 -
Happy to help!
If this thread contains the solution to your problem please mark it as solved to help others with the same problem!
Francesco
0