cancel
Showing results for 
Search instead for 
Did you mean: 

Export a crystal report's fields into xml

0 Kudos

Hi,

I create a crystal report (without having a data source/empty data source) and create a report file where we can give sample values for the fields in the report.

Thereafter, can we export these fields in the report (with the sample values in it) as an xml file.

Regards,

Ruch

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

You can download the Developer Guide and API Guide from here: https://help.sap.com/viewer/product/SAP_CRYSTAL_REPORTS,_DEVELOPER_VERSION_FOR_MICROSOFT_VISUAL_STUD...

The Developer Guide has sample code for exporting reports. Even though it's not listed under "Setting custom export options" in the Developer Guide, it's shown in the "Available export formats" page there. Also, the API Guide shows that there's and XMLFormatOptions class that can be used to export to XML.

-Dell

Answers (3)

Answers (3)

0 Kudos

And there is no .NET SDK installed with CR Designer any more so you can go here to get it:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Don

0 Kudos

What SDK are you using?

0 Kudos

We are using the .NET Api and CR 2016.Apologies for the delay in replying as I was away

DellSC
Active Contributor
0 Kudos

Which version of Crystal are you using?

-Dell

0 Kudos

We are using CR 2016. Apologies for the delay as I was away