Thanks, looks like this should solve the problem.
Another process I figured out is (after clicking on the Link on a page):
programmatically
- create a new IP from the template
- access the xml structure and enter the information in the header
--> open the created document with IP
Regards,
Sebastian