• Display attachment in richtext field

    By Adam Chorley 1 decade ago

    I m trying to launch an attachment and get it to open in a different Xpage.

    For the href, if I use:

    http:///app.nsf/0/AEFFA9409ED0E1ED80257B1900556AB8/$file/xpages.pdf?open

    This will open the attachment fullscreen in a new window, but I want it to open in an Xpage I specify

    For the href, if I use:

    http:///app.nsf/DocView.xsp?documentId=AEFFA9409ED0E1ED80257B1900556AB8&action=openDocument

    I get the "See attached file: xpages.pdf" in the Rich Text field.

    How do I get the attachment contents to display in the richtext field of my DocView.xsp page?