Author: Jared Crabtree
Contact: jjcrabtree@aeraenergy.com
Platform: Business Objects XIR2/Tomcat
Discussion: Here
Notes:
This may be a rather focused piece of customization, but I thought I'd post it anyway. We have an in-house application that uses the "Open Document" feature of Business Objects to open reports. Users complained that when opening multiple reports, or the same report with different parameters, they had a hard time navigating between windows. This is due to the fact that by default, Open Document displays a meaningless URL as the window title.
I was able to dive into openDocument.jsp and documentXML.jsp and rectify this issue. OpenDocument now supports an additional parameter called “sDocTitle”.
How it works:
- If you specify the sDocTitle parameter, this will be displayed as the window title.
- If you don’t include the sDocTitle parameter, the name of the report (sDocName) will be displayed as the window title.
How to use:
- Copy the “openDocumentCustom.jsp” and “documentXMLcustom.jsp” to the following location: \Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\opendoc
- Use openDocumentCustom.jsp as you would openDocument.jsp, but with the added support of sDocTitle. For example:
http://<server>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocumentCustom.jsp?sPath=[Public+Folder],[All+Documents]&sDocName=MyReport&sType=wid&sRefresh=Y&sDocTitle=This is my report
Alternatively, you could leave out the sDocTitle parameter and the window title would be “MyReport”. Example:
http://<server>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocumentCustom.jsp?sPath=[Public+Folder],[All+Documents]&sDocName=MyReport&sType=wid&sRefresh=Y
Feel free to contact me if you have any questions.
Jared
Custom OpenDoc.zip (10.0 KB)
Jared80KA (BOB member since 2006-08-24)