Display attachments from RichTextField on XPage

I have a read only inputRichText-tag on my xPage. This displays the value of my RichTextField “Attachments” on web. This field is placed in a form referenced by dominoDocument1.

<xp:inputRichText id=“inputRichText” readonly=“true” value=“#{dominoDocument1.Attachment}”>

</xp:inputRichText>

Text fonts, images etc are displayed correctly, but no attachments… Instead of attachments, I get the text “(See attached file: Designguide v1.0.pdf)” which is the correct name of the attachment.

What should I do in order for attachments to be displayed on my xPage on web?

Subject: File Download is a core control

The “Core Controls” palette includes a “File Download” control. Add this to your XPage and bind it to the same data source as the rich text control.

Subject: But how to display the attachments inline?

Thanks, that made my attachments be displayed in a list with corresponding icons - just what I needed:) Didn’t notice the control…

Is there any way to display the icons instead of the “See attached file”-text, so they are rendered where they are originally placed in the notes document?

Subject: Not that I know of

Rich text to HTML still isn’t at full fidelity… you might try setting the rich text field to store contents as MIME to see if that addresses the issue, but honestly I doubt that it will.