How can i transfer a leap form attachment to a domino database by service?

I have a leap form with an attachment field.

I do want to call a domino database service to a specific database and push in new documents with a specific form and insert the attachment into a richtext field on that destination document.

I was not able to do this. The destination document is correctly created but in the richtext field there is no attachment but a link to that attachment. "{"id":"1D889ECE9353235BC1258A4C003CFEF6","uid":"505368f1-37a5-4185-a0d7-ba01f3b028d6","fileName":"WeeklyVomOliver_20231017_full.pdf"} "

This is possible exactly what is written in the source field because leap puts attachments into other documents. How can i solve this?

I am pretty sure we have not enabled that kind of behavior. A file added through an attachment widget is not actually maintained unless the form is submitted. We do not allow files to be passed via services at the moment.

The RichText field does allow a user to add images to their content and that will pass through to the Notes document, but it does not allow other document types at this time.

Hi there Christopher,

i think the bigger problem is, no matter if it is implemented or not, looking at the service mapping it is implied to the user that he/she is able to transfer the attachment field to a domino database document. Not knowing the data structure a citizen developer won't understand what's wrong at all.

Hi, don't know if this will help you now, but we did it by a bit of a hack at looking how Leap stored things. the "id" above is the UNID to the document storing amongst other things the rich text item storing the attachment in the Leap database. Knowing this, we opened the Leap data from the server, found that doc, and copied the rich item text over to our service database which copied the attachment.

Regards
Damien