Christophe SIEBERT commented on Aug 17, 2010

Launching First Attachment From a View in XPages

oups all my html code below was deleted when published !

Christophe SIEBERT commented on Aug 17, 2010

Launching First Attachment From a View in XPages

Thank you very much for this, it helped me a lot

I achieved this by formatting the html string directly in the notes "data" view and by selecting html for the content type property in the xpages panel view column.

As the docs could have numerous attachments, i got a list of them in the xpage with this type of formula:

MyDocField + "
" +

@If (

@Attachments=0;

" ";

@Implode("" + @AttachmentNames+ "";"
")

)

F1 Help commented on Apr 12, 2010

Launching First Attachment From a View in XPages

Brilliant - Thanks very much Paul, that worked a treat for me.