Customizing HTML viewer in Crystal Enterprise 9

I made this post to the Crystal site earlier this week.

http://support.crystaldecisions.com/forums/message.asp?fid=257&sk=&pn=&mid=107482#m107482

I was trying to disable the export and print features from the HTML Crystal Report viewer.  It looks much easier in CE 9 once you know where to look!

(I only mention this on my scribble web because the C.Decisions site doesn\'t seem very Google friendly).

In case URL above disappears:

For ePortfolio:
Edit - C:\\Program Files\\Crystal Decisions\\Web Content\\Enterprise9\\ePortfolio\\en\\viewreport.csp

Add -

//Hide the viewer buttons
viewer1.HasPrintButton = false;
viewer1.HasExportButton = false;
viewer1.HasRefreshButton = false;

For old school HTML viewer:

Edit: toolbar.html in
C:\\Program Files\\Common Files\\Crystal Decisions\\2.0\\crystalreportviewers\\html\\en.

The CE9 upgrade created a new web in IIS, and this folder on C: (even though install folder is E...) rather annoying to track down. 

Related Scribbles:
  • Crystal Reports Notes


  • ID: 343
    Author:
    leonard
    Date Updated:
    2003-12-23 00:22:55
    Date Created:
    2003-10-22 11:59:24

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Customizing HTML viewer in Crystal Enterprise 9
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.