Skip to Content

Crystal Reports 2008 PowerTweaks – Part 1

Power Tweak #1 – Enabling and Disabling Database drivers and export formats in the Report Designer

CR 2008 introduces a new configuration file called dsconfig.xml that allows you to control which Database drivers and export formats are visible in the report designer.

dsconfig.xml is intended to help you simplify the report design and exporting experience for your report developers and users who use the Report Designer to view reports. dsconfig.xml is installed with crw32.exe in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86. dsconfig.xml does not affect the behavior of anything except the Crystal Reports designer.

I’ve attached a sample xml file (inside the zip file) that disables all database drivers except the OLE DB driver, disables the Crystal Reports .rpt export format and disables the MAPI and Lotus Domino Mail destinations.

The sample includes some documentation, but for starters, there are three categories of items to control
– DatabaseDriverItems for Database drivers
– ExportFormatItems for Exporting formats
– ExportDestinationItems for Exporting destinations.

If you want to disable one item in a category, create an ‘Item’ element under the corresponding category, then set the ‘Status’ sub-element to ‘Disable’.

The three categories have an attribute named ‘defaultStatus’ that specifies the default status for all items in this category. For example, if ‘defaultStatus’ is set to ‘Disable’, all the items belonging to at category will be disabled unless you have specifically added an item to enable it explicitly.

Have fun!

— Terry Penner, Crystal Reports Program Management Team

CR PowerTweaks #2 –
CR PowerTweaks #3 –

Attachment Size 1.94 KB
Be the first to leave a comment
You must be Logged on to comment or reply to a post.