Hi All,
I would like to have the "Report Viewer" text completely removed from the Report Viewer Header text, the browser title as well as the Report Prompt templates.
Please note that just changing the text from the config xml file to blank would not help because i also need to remove the hyphen( - ) sign that appears between the Report Viewer text and the Report Name in the header/title.
I tried modifying the report-viewer.xts file but the changes do not get reflected on restarting the Reportnet service.
Please get back to me ASAP. Thanks in advance.
It's only possible using Javascript while viewing a report in HTML format.
It is ofcourse possible with Javascript when the output is rendered as HTML but i would like to find out a way to achieve the same with all formats.
Also, i need to have it removed from the Prompt template, the browser window as well as the Screen that appears before the report is displayed i.e. the screen with the delivery options.
you can look in the code of the page when rendered in eg pdf what javascripts are called. In that script you could add javascript function, which is standard executed. But... before that's executed the Report Viewer bar must be generated and if I remember correctly that's not :S
The report-viewer.xts is cached in your database somewhere (I have been to lazy to look for exactly where it is located)
However, if you do rename this file to report-viewer_new.xts or something else it will be parsed and execute your changes.
You just have to make a link that uses this new XTS.
eg http://cognos/cognos.cgi?b_action=xts.run&m=report-viewer_new.xts
Or, figure out which table(and let us know) the cache is loaded into so you can remove the report-viewer.xts and replace it with a new one. :)
CoginAustin does this work for you? My experience is that this is only applicable when you enter the url manually... Not when you login to ReportNet and use the buttons... How did you solve this?
Actually I just did a right click->copy short cut then I edited the xts filename and placed mine in there. I think pasted this link into a URL shortcut in reportnet. It runs with my new xts file.
I have also placed this type of link inside a report. I have never used this in production because I am not sure if I am creating issues by creating my own xts :)
All I am certain of is that changing an XTS file once it is cached somewhere does nothing.
I know that some of the xts files are stored in a cached jar file located at crn_install\webapps\p2pd\web-inf\lib\portal.jar.Ã, I didn't see the report-viewer.xts file in that file so it may be cached in a different file.
Here is a link about this:Ã, http://www.tek-tips.com/viewthread.cfm?qid=1024719
Hi,
Thanks a lot for the replies/solutions folks.
I am new to this forum but am really happy about the active participation and willingness to help that is being put forward by all of you.
Looking forward to a longlasting citizenship to the world of cognoise.
Keep rockin!!