Skip to Content
0
Former Member
Oct 07, 2008 at 11:50 AM

How to show pdf

31 Views

Hi,

I want to show a pdf which is located in the mime repository. I got this error: Access via 'NULL' object reference not possible.

These things I did:

1. I created a context node 'PDF' with attribute 'PDF_SOURCE'. The attribute has the Type XSTRING and as Default Value I deposit test.pdf

2. Then I created an Interactive Form element in the layout and bind the dataSource to the node and the pdfSource to the attribute.

Has anybody an idea what I did wrong?

Regards, Susanne