Ryan.Wright Posted October 11, 2013 Share Posted October 11, 2013 I understand that Hyperlinks when run from the dashboard can be assigned a property to only refresh the frame containing the report and hyperlink. This works perfectly for dashboard reports. Simply adding the following achieves this result:"viewAsDashboardFrame" ="true"However when this report is searched out directly from the repository and run directly, if the hyperlink is clicked it opens up in a new window and loses the necessary toolbars for exporting, saving, and printing. Is it possible to determine the source of the report run and conditionally apply the "viewAsDashboardFrame" property?Hyperlink is clicked from within a dashboard frame:"viewAsDashboardFrame" ="true"Hyperlink is clicked when the report is opened directly:"viewAsDashboardFrame" ="false" Link to comment Share on other sites More sharing options...
H Mendoza Posted October 11, 2013 Share Posted October 11, 2013 Hi there - This is a good question. I don't have a solution for you, but maybe consider leveraging the frame id (&fid) for the report in the Dashboard. If you can find the frame id, it might just work. It is not a documented feature, so it is unclear whether it works or not. To find the frame id, try exporting the dashboard and then scanning the code for the frame names. Once you have the frame id, you may be able to apply the three-way operator (in some creative way) to switch from true to false, or vice versa. Here's the format (maybe) for referencing the frame: '&fid=contentFrame_' + frameName;By the way, use the following to get to the available export options: js-export.bat --help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now