cancel
Showing results for 
Search instead for 
Did you mean: 

Display Table Data from Context into PDF

Former Member
0 Kudos

Hi,

I want to display table data (report) from context (WDJ application) into PDF format.

I don't want to use Interactive forms.

Can I give link into table to 'PDF Display' like 'Export to Excel'?

I would be thankful if tutorial or pdf document is provided.

Thanks in advance.

Regards,

Anil Patil

Accepted Solutions (1)

Accepted Solutions (1)

former_member183915
Active Contributor
0 Kudos

Hi Anil ,

To display the data in PDF format you would need to insert a UI element (InteractiveFrom UI element) in your view .

Insert a table.In the properties of the InteractiveFrom UI element - Set the data source to the context node i.e. the node which would have the table data .

Even though you wish to provide a link you would have to insert an Interactive from UI element if you wish to dsiplay the data in PDF format.

Regards ,

Navya

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anil,

I will jus give you a overview.

1. Create a attribute in component controller(called pdfpopup of type IWDWindow)

2. Create a view (called pdfview).Create a attribute called pdfSource of type binary.Insert interactiveForm UI element.

3. Bind Datasource property to ur table collection, pdfSource to pdfSource & templateSource to pdfview_InteractiveForm.xdp

4.Create a window called pdfWindow & embed the pdfview.

The context is when the user clicks export to pdf button, the popup will display the pdf & user can save the pdf. The size can be ajusted by setting the windows.size property.

Hope thius will help!!!

Thanks,

Arun

Former Member
0 Kudos

Thaks for your suggestions.

We have been doing the same way as you have suggested.

Is there any other way other than using the Interactive Forms?

Basically we want to avoid the usage of the Interactive Forms.

Thanks & regards,

Anil Patil

Former Member
0 Kudos

Hi Anil,

I think this link might help

Thanks,

Arun

Former Member
0 Kudos

Thanks a lot.

I will try it out.

Thanks & regards,

Anil Patil

former_member183915
Active Contributor
0 Kudos

Hi Anil ,

To display the data in PDF format you would need to insert a UI element (InteractiveFrom UI element) in your view .

Insert a table.In the properties of the InteractiveFrom UI element - Set the data source to the context node i.e. the node which would have the table data .

Even though you wish to provide a link you would have to insert an Interactive from UI element if you wish to display the data in PDF format.

Regards ,

Navya

Former Member
0 Kudos

Thaks for your suggestions.

We have been doing the same way as you have suggested.

Is there any other way other than using the Interactive Forms?

Basically we want to avoid the usage of the Interactive Forms.

Thanks & regards,

Anil Patil