cancel
Showing results for 
Search instead for 
Did you mean: 

Export PDF -- Component exist in Compsoite

former_member269156
Active Participant
0 Kudos

Hi Experts,

I have created a Lumira document contains a composite. The composite consist of Chart with in the panel.

My requirement is to export lumira document to PDF.

EXPORT_PDF.exportView(); - Screen shot is working fine.

EXPORT_PDF.exportReport(); - is giving error message

Cannot export to PDF

No exportable content available. Contact your application designer.


No errors in following script:

g_components.push(P1_1.getChart());

g_components.push(P1_2.getChart());

g_components.push(P1_3.getChart());

EXPORT_PDF.setReportComponents(g_components);

EXPORT_PDF.exportReport();

here :P1_1, P1_2 and P1_3 are components type composite.

: g_components is the global array (variable) type Component.

In the composite I have defined a function module(getChart) to just return Chart.

Am I missing some thing?

Your inputs are highly appreciated.

Thanks,

Raju

Accepted Solutions (1)

Accepted Solutions (1)

former_member184594
Active Contributor

Hi raju.potturi ,

I had the same problem the other day. This is a bug in the system. If you are trying to export charts from composite and trying to trigger exportReport() from the application, you get this problem. We opened a case to SAP for this. I will let you know what they say about it.

Nice day.

Zahid.

former_member269156
Active Participant
0 Kudos

Dear Zahid,

Thanks a lot.

Any update from SAP?

Raju

Answers (1)

Answers (1)

Vidhya
Active Participant
0 Kudos
former_member269156
Active Participant
0 Kudos

Thank you Vidhya!

Raju